summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:41:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:41:41 +0200
commit70c44baa23fbf86a888f6f37a75bca10a631a01c (patch)
treecf5d557fddf53ddb4851a0ae5db68c3ff9f5407e /mk
parentdd35f8739be06beda5a2e2d3f753056cf1fb724a (diff)
add eglibc support
all three libraries tested with qemu-x86
Diffstat (limited to 'mk')
-rw-r--r--mk/toolchain.mk2
-rw-r--r--mk/vars.mk12
2 files changed, 7 insertions, 7 deletions
diff --git a/mk/toolchain.mk b/mk/toolchain.mk
index 2701736ca..6a181a444 100644
--- a/mk/toolchain.mk
+++ b/mk/toolchain.mk
@@ -1,5 +1,5 @@
prepare: ${WRKDIST}/.prepared $(WRKBUILD)/.headers
-configure: ${WRKBUILD}/.configure_done
+configure: ${WRKBUILD}/.configured
compile: $(WRKBUILD)/.compiled
install: $(WRKBUILD)/.installed
clean:
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}