author | kergoth <kergoth> | 2003-04-22 20:21:20 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-04-22 20:21:20 (UTC) |
commit | e3ef0f8587b10bf242d8077609988e06a37bcae5 (patch) (unidiff) | |
tree | 89a270cdde36fdb406fa17f38be429a377545dd0 /Vars.make | |
parent | ccec87cf3e7192c0a3987aa3486668e89b1662a4 (diff) | |
download | opie-e3ef0f8587b10bf242d8077609988e06a37bcae5.zip opie-e3ef0f8587b10bf242d8077609988e06a37bcae5.tar.gz opie-e3ef0f8587b10bf242d8077609988e06a37bcae5.tar.bz2 |
Set strip binary appropriately, based on target selection for ipk creation
-rw-r--r-- | Vars.make | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -13,2 +13,6 @@ endif | |||
13 | 13 | ||
14 | ifneq ($(wildcard $(TOPDIR)/.config),) | ||
15 | include $(TOPDIR)/.config | ||
16 | endif | ||
17 | |||
14 | export QMAKE:=$(OPIEDIR)/qmake/qmake | 18 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
@@ -63 +67,19 @@ export QTE_VERSION | |||
63 | export PATH:=$(OPIEDIR)/scripts:$(PATH) | 67 | export PATH:=$(OPIEDIR)/scripts:$(PATH) |
68 | export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) | ||
69 | |||
70 | ifdef CONFIG_OPTIMIZATIONS | ||
71 | export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) | ||
72 | export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) | ||
73 | endif | ||
74 | |||
75 | ifeq ($(STRIP),) | ||
76 | ifneq ($(CONFIG_TARGET_X86),) | ||
77 | STRIP=strip | ||
78 | endif | ||
79 | ifneq ($(CONFIG_TARGET_IPAQ),) | ||
80 | STRIP=arm-linux-strip | ||
81 | endif | ||
82 | ifneq ($(CONFIG_TARGET_SHARP),) | ||
83 | STRIP=arm-linux-strip | ||
84 | endif | ||
85 | endif | ||