From 77f703fcbcf180d28362f5b77761174a779283ae Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 8 Jan 2014 03:13:29 -0700 Subject: use tools dir before PATH, fix ulimit ksh problem --- Makefile | 2 +- mk/kernel-vars.mk | 2 +- 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" -- cgit v1.2.3