summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-01-08 11:30:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-01-08 11:30:00 +0100
commit0ea54c2852f4551053f0637826220b039357c665 (patch)
tree4185a1da7474aea853ec6ee3b098dbbb82566f95 /toolchain/uclibc-ng/Makefile
parent662e918e93567199b6fb566cc4901df9a502c25c (diff)
uclibc-ng: prevent duplicate compilation
Diffstat (limited to 'toolchain/uclibc-ng/Makefile')
-rw-r--r--toolchain/uclibc-ng/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index a31f4e3af..70f4c762f 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -370,23 +370,12 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
VERBOSE=1 \
install_runtime install_dev
- PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
- ARCH="$(ADK_TARGET_ARCH)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- HOSTCC="$(HOST_CC)" \
- PREFIX=$(STAGING_TARGET_DIR)/uclibc-ng \
- DEVEL_PREFIX=/usr/ \
- RUNTIME_PREFIX=/ \
- UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
- UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
- VERBOSE=1 \
- install_runtime
ifeq ($(ADK_TARGET_LIBC_UTILS),y)
PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
ARCH="$(ADK_TARGET_ARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
HOSTCC="$(HOST_CC)" \
- PREFIX=$(STAGING_TARGET_DIR)/uclibc-ng \
+ PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/ \
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \