From 440dcafbd07915cadeb26806fe6d8835d62f293b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Oct 2012 19:42:00 +0200 Subject: support for 32/64 x86_64 multilib with eglibc --- toolchain/kernel-headers/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toolchain/kernel-headers/Makefile') diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 4346cb1a6..405119000 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -10,6 +10,9 @@ $(WRKBUILD)/.headers: $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ headers_install + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR_32)/usr \ + headers_install $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \ headers_install -- cgit v1.2.3 From 14b1dc5940bd35637fd901418fbf6c2fe1974fec Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Oct 2012 23:12:28 +0200 Subject: finetune multilib support a lot, cleanup eglibc/glibc Makefiles while there --- toolchain/kernel-headers/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'toolchain/kernel-headers/Makefile') diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 405119000..e81fa87eb 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -10,9 +10,17 @@ $(WRKBUILD)/.headers: $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ headers_install +ifeq ($(ADK_TARGET_WITH_MULTILIB),y) $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ - INSTALL_HDR_PATH=$(STAGING_TARGET_DIR_32)/usr \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-32/usr \ headers_install + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-x32/usr \ + headers_install + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-64/usr \ + headers_install +endif $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \ headers_install -- cgit v1.2.3 From 0b6d38874b6e94807f58ab8b46160ce6faf0ed35 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 9 Oct 2012 00:06:58 +0200 Subject: enable multilib support for mips --- toolchain/kernel-headers/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'toolchain/kernel-headers/Makefile') diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index e81fa87eb..8b364d760 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -11,6 +11,18 @@ $(WRKBUILD)/.headers: INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ headers_install ifeq ($(ADK_TARGET_WITH_MULTILIB),y) +ifeq ($(ADK_LINUX_MIPS),y) + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=mips V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-n32/usr \ + headers_install + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=mips V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-64/usr \ + headers_install + $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=mips V=1 \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-o32/usr \ + headers_install +endif +ifeq ($(ADK_LINUX_X86_64),y) $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-32/usr \ headers_install @@ -20,6 +32,7 @@ ifeq ($(ADK_TARGET_WITH_MULTILIB),y) $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=x86 V=1 \ INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)-64/usr \ headers_install +endif endif $(MAKE) -C $(WRKBUILD) HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \ -- cgit v1.2.3