source: trunk/tools/make/yourfritz-host/yourfritz-host.mk @ 13799

Letzte Änderung dieser Datei seit 13799 war 13799, erstellt von er13 vor 2 Jahren

yourfritz:

  • avoid using ln -r in install rule as according to the following IPPF threads some older coreutils versions do not support it 1, 2
Dateigröße: 1.6 KB
Zeile 
1YOURFRITZ_HOST_VERSION:=6f33cae79b
2YOURFRITZ_HOST_SOURCE:=yourfritz-$(YOURFRITZ_HOST_VERSION).tar.xz
3YOURFRITZ_HOST_SITE:=git@https://github.com/PeterPawn/YourFritz.git
4
5YOURFRITZ_HOST_MAKE_DIR:=$(TOOLS_DIR)/make/yourfritz-host
6YOURFRITZ_HOST_DIR:=$(TOOLS_SOURCE_DIR)/yourfritz-$(YOURFRITZ_HOST_VERSION)
7
8YOURFRITZ_HOST_TARGET_DIR:=$(TOOLS_DIR)
9
10YOURFRITZ_HOST_COMPONENTS:=signimage
11#YOURFRITZ_HOST_COMPONENTS+=eva_tools
12
13yourfritz-host-source: $(DL_DIR)/$(YOURFRITZ_HOST_SOURCE)
14$(DL_DIR)/$(YOURFRITZ_HOST_SOURCE): | $(DL_DIR)
15    $(DL_TOOL) $(DL_DIR) $(YOURFRITZ_HOST_SOURCE) $(YOURFRITZ_HOST_SITE) $(YOURFRITZ_HOST_SOURCE_MD5)
16
17yourfritz-host-unpacked: $(YOURFRITZ_HOST_DIR)/.unpacked
18$(YOURFRITZ_HOST_DIR)/.unpacked: $(DL_DIR)/$(YOURFRITZ_HOST_SOURCE) | $(TOOLS_SOURCE_DIR) $(UNPACK_TARBALL_PREREQUISITES)
19    $(TAR) -C $(TOOLS_SOURCE_DIR) $(VERBOSE) -xf $(DL_DIR)/$(YOURFRITZ_HOST_SOURCE)
20    $(call APPLY_PATCHES,$(YOURFRITZ_HOST_MAKE_DIR)/patches,$(YOURFRITZ_HOST_DIR))
21    touch $@
22
23$(YOURFRITZ_HOST_COMPONENTS:%=$(YOURFRITZ_HOST_DIR)/%): | $(YOURFRITZ_HOST_DIR)/.unpacked
24
25$(YOURFRITZ_HOST_COMPONENTS:%=$(YOURFRITZ_HOST_DIR)/%/.symlinked): $(YOURFRITZ_HOST_DIR)/%/.symlinked: $(YOURFRITZ_HOST_DIR)/%
26    @target_abs="$<"; target_rel=$${target_abs#$(FREETZ_BASE_DIR)/}; ln -Tsf ../$${target_rel} $(YOURFRITZ_HOST_TARGET_DIR)/$(notdir $<)
27    touch $@
28
29yourfritz-host: $(YOURFRITZ_HOST_COMPONENTS:%=$(YOURFRITZ_HOST_DIR)/%/.symlinked)
30
31yourfritz-host-clean:
32
33yourfritz-host-dirclean:
34    $(RM) -r $(YOURFRITZ_HOST_DIR)
35
36yourfritz-host-distclean: yourfritz-host-dirclean
37    $(RM) $(YOURFRITZ_HOST_COMPONENTS:%=$(YOURFRITZ_HOST_TARGET_DIR)/%)
Hinweis: Hilfe zum Repository-Browser finden Sie in TracBrowser.