summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-02 11:53:35 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-02 11:53:43 -0600
commite8583149d4dd16b7cedc135d63a46138dffcef85 (patch)
treeea34b1f21efff5616f1b835082791fbf148b00ae
parent9b3955a7c5ede524c6f06e57e1f98be2d7e28490 (diff)
update elf2flt, so that arm-nommu binaries are linkable.
-rw-r--r--mk/vars.mk1
-rw-r--r--package/busybox/Makefile3
-rw-r--r--target/linux/config/Config.in.kernel4
-rw-r--r--toolchain/elf2flt/Makefile.inc4
4 files changed, 9 insertions, 3 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 82173db00..605248a37 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -148,6 +148,7 @@ endif
ifeq ($(ADK_TARGET_ARCH_ARM),y)
ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
TARGET_CFLAGS+= -Wl,-elf2flt
+TARGET_CXXFLAGS+= -Wl,-elf2flt
endif
endif
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 0ea1073f1..088a29397 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -28,7 +28,8 @@ BB_MAKE_FLAGS:= V=1 \
IPKG_ARCH="${ADK_TARGET_CPU_ARCH}" \
HOSTCC="${CC_FOR_BUILD}" \
HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \
- CROSS_COMPILE="$(TARGET_CROSS)"
+ CROSS_COMPILE="$(TARGET_CROSS)" \
+ SKIP_STRIP=y
do-configure:
# get all symbols from top level config
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 7a8796abc..81f7cedeb 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -175,6 +175,10 @@ endchoice
menu "Kernel options"
+config ADK_KERNEL_BINFMT_FLAT
+ bool
+ default y if ADK_TARGET_BINFMT_FLAT
+
config ADK_KERNEL_MMU
bool
diff --git a/toolchain/elf2flt/Makefile.inc b/toolchain/elf2flt/Makefile.inc
index a3f39ab52..029237679 100644
--- a/toolchain/elf2flt/Makefile.inc
+++ b/toolchain/elf2flt/Makefile.inc
@@ -2,7 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= elf2flt
-PKG_VERSION:= 20150129
+PKG_VERSION:= 20150227
PKG_RELEASE:= 1
-PKG_HASH:= b0b9792723f380794c44db4124815f961f2cb87be156d4e2f560759f9f9f913b
+PKG_HASH:= 9369274cf244fc090ebee08ee6eee552fba1286f63be4a558dfa149dfa91fc4c
PKG_SITES:= http://www.openadk.org/distfiles/