diff options
Diffstat (limited to 'mk/vars.mk')
-rw-r--r-- | mk/vars.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 1b7a7ac8c..23e82967e 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -37,16 +37,16 @@ PACKAGE_DIR:= $(BIN_DIR)/packages TARGET_DIR:= $(BASE_DIR)/root_${DEVICE} TARGET_DIR_PFX:= $(BASE_DIR)/root_* TARGET_PATH= ${SCRIPT_DIR}:${STAGING_TOOLS}/bin:${STAGING_DIR}/scripts:${_PATH} -ifeq ($(ADK_TARGET_LIB_GLIBC),y) -REAL_GNU_TARGET_NAME= $(CPU_ARCH)-linux-gnu -GNU_TARGET_NAME= $(CPU_ARCH)-linux -KERNEL_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-gnu- -TARGET_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-gnu- -else +ifeq ($(ADK_TARGET_LIB_UCLIBC),y) REAL_GNU_TARGET_NAME= $(CPU_ARCH)-linux-uclibc GNU_TARGET_NAME= $(CPU_ARCH)-linux KERNEL_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-uclibc- TARGET_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-uclibc- +else +REAL_GNU_TARGET_NAME= $(CPU_ARCH)-linux-gnu +GNU_TARGET_NAME= $(CPU_ARCH)-linux +KERNEL_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-gnu- +TARGET_CROSS:= $(STAGING_TOOLS)/bin/$(CPU_ARCH)-linux-gnu- endif TOOLCHAIN_SYSROOT:= $(TOOLCHAIN_BUILD_DIR)/libc_dev TARGET_COMPILER_PREFIX?=${TARGET_CROSS} |