summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-14 05:23:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-14 05:23:05 +0100
commitece758372ca0fe88b50bfabea2d7ea78a88aab4b (patch)
tree682125abdfd63a8d6e65653b5faf6e30f0db6cb1 /toolchain
parentf83e9bba36235d63f4ec56b281a5efa1480bf142 (diff)
be sure to create staging target /usr/lib, remove duplicate HOSTCC
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uclibc-ng/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 526009a24..8fb71208e 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -279,10 +279,10 @@ ifeq ($(ADK_TARGET_ABI_O32),y)
endif
endif
echo N|PATH='$(HOST_PATH)' $(MAKE) $(UCLIBC_MAKEOPTS) -C $(WRKBUILD) \
+ HOSTCC="$(HOST_CC)" \
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
- HOSTCC="$(HOST_CC)" \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
oldconfig
@@ -295,7 +295,6 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
PREFIX= \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
- HOSTCC="$(HOST_CC)" \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
VERBOSE=1 \
@@ -320,7 +319,6 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
PREFIX= \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
- HOSTCC="$(HOST_CC)" \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
TEST_INSTALLED_UCLIBC=1 \