Browse Source

update elf2flt, so that arm-nommu binaries are linkable.

Waldemar Brodkorb 10 years ago
parent
commit
e8583149d4

+ 1 - 0
mk/vars.mk

@@ -148,6 +148,7 @@ endif
 ifeq ($(ADK_TARGET_ARCH_ARM),y)
 ifeq ($(ADK_TARGET_ARCH_ARM),y)
 ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
 ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
 TARGET_CFLAGS+=		-Wl,-elf2flt
 TARGET_CFLAGS+=		-Wl,-elf2flt
+TARGET_CXXFLAGS+=	-Wl,-elf2flt
 endif
 endif
 endif
 endif
 
 

+ 2 - 1
package/busybox/Makefile

@@ -28,7 +28,8 @@ BB_MAKE_FLAGS:=		V=1 \
 			IPKG_ARCH="${ADK_TARGET_CPU_ARCH}" \
 			IPKG_ARCH="${ADK_TARGET_CPU_ARCH}" \
 			HOSTCC="${CC_FOR_BUILD}" \
 			HOSTCC="${CC_FOR_BUILD}" \
 			HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
 			HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
-			CROSS_COMPILE="$(TARGET_CROSS)"
+			CROSS_COMPILE="$(TARGET_CROSS)" \
+			SKIP_STRIP=y
 
 
 do-configure:
 do-configure:
 	# get all symbols from top level config
 	# get all symbols from top level config

+ 4 - 0
target/linux/config/Config.in.kernel

@@ -175,6 +175,10 @@ endchoice
 
 
 menu "Kernel options"
 menu "Kernel options"
 
 
+config ADK_KERNEL_BINFMT_FLAT
+	bool
+	default y if ADK_TARGET_BINFMT_FLAT
+
 config ADK_KERNEL_MMU
 config ADK_KERNEL_MMU
 	bool
 	bool
 
 

+ 2 - 2
toolchain/elf2flt/Makefile.inc

@@ -2,7 +2,7 @@
 # material, please see the LICENCE file in the top-level directory.
 # material, please see the LICENCE file in the top-level directory.
 
 
 PKG_NAME:=		elf2flt
 PKG_NAME:=		elf2flt
-PKG_VERSION:=		20150129
+PKG_VERSION:=		20150227
 PKG_RELEASE:=		1
 PKG_RELEASE:=		1
-PKG_HASH:=		b0b9792723f380794c44db4124815f961f2cb87be156d4e2f560759f9f9f913b
+PKG_HASH:=		9369274cf244fc090ebee08ee6eee552fba1286f63be4a558dfa149dfa91fc4c
 PKG_SITES:=		http://www.openadk.org/distfiles/
 PKG_SITES:=		http://www.openadk.org/distfiles/