summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 03:13:29 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 03:13:29 -0700
commit77f703fcbcf180d28362f5b77761174a779283ae (patch)
treea9d82dab79b6db08bbe2f0548cb81ee107de567e
parent79ed091205f823889a119a38b81cdef2dd1b6c92 (diff)
use tools dir before PATH, fix ulimit ksh problem
-rw-r--r--Makefile2
-rw-r--r--mk/kernel-vars.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a01e93d9..c0032b4cc 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
_UNLIMIT= __limit=$$(ulimit -dH 2>/dev/null); \
- test -n "$$__limit" && ulimit -dS $$__limit;
+ test -n "$$__limit" && ulimit -Sd $$__limit;
all: checkreloc .prereq_done
@${_UNLIMIT} ${GMAKE_INV} all
diff --git a/mk/kernel-vars.mk b/mk/kernel-vars.mk
index e39e76a2d..9c9461ee1 100644
--- a/mk/kernel-vars.mk
+++ b/mk/kernel-vars.mk
@@ -23,4 +23,4 @@ ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x800000 \
-DBCM47XX_OVERRIDE_CFESIZE=0x40000
endif
-KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}' PATH="$$PATH:${TOOLS_DIR}"
+KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}' PATH="${TOOLS_DIR}:$$PATH"