projects
/
openwrt
/
staging
/
lynxis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/libs/zlib: Add option for O3 optimization
[openwrt/staging/lynxis.git]
/
rules.mk
diff --git
a/rules.mk
b/rules.mk
index a3fe50b1dc0dfb4d1586ceb5bbf85a3fd36f5ebf..3558f2f0284eb041820623b5fd1e0e02abee80c2 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-21,6
+21,7
@@
DUMP:=1
endif
export TMP_DIR:=$(TOPDIR)/tmp
endif
export TMP_DIR:=$(TOPDIR)/tmp
+export TMPDIR:=$(TMP_DIR)
qstrip=$(strip $(subst ",,$(1)))
#"))
qstrip=$(strip $(subst ",,$(1)))
#"))
@@
-29,7
+30,7
@@
empty:=
space:= $(empty) $(empty)
comma:=,
merge=$(subst $(space),,$(1))
space:= $(empty) $(empty)
comma:=,
merge=$(subst $(space),,$(1))
-confvar=$(
call merge,$(foreach v,$(1),$(if $($(v)),y,n))
)
+confvar=$(
shell echo '$(foreach v,$(1),$(v)=$(subst ','\'',$($(v))))' | $(STAGING_DIR_HOST)/bin/mkhash md5
)
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
paren_left = (
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
paren_left = (