summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/eglibc/Makefile3
-rw-r--r--target/arm/sys-available/raspberry-pi1
-rw-r--r--target/config/Config.in2
-rw-r--r--target/linux/config/Config.in.cpu3
4 files changed, 5 insertions, 4 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 4fcc6bf4b..d9acdb8fd 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -38,9 +38,6 @@ else
${INSTALL_DIR} $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH) \
$(IDIR_EGLIBC)/usr/lib $(IDIR_EGLIBC)/usr/bin
$(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH)
-ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
- (cd $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH); ln -sf ld-linux.so.3 ld-linux-armhf.so.3)
-endif
-for file in libc libcrypt libdl libm libresolv libutil libnsl libnss_dns libnss_files; do \
$(CP) $(STAGING_TARGET_DIR)/lib/$$file.so* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH); \
$(CP) $(STAGING_TARGET_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH); \
diff --git a/target/arm/sys-available/raspberry-pi b/target/arm/sys-available/raspberry-pi
index 9f4cf1729..b8753c36d 100644
--- a/target/arm/sys-available/raspberry-pi
+++ b/target/arm/sys-available/raspberry-pi
@@ -6,6 +6,7 @@ config ADK_TARGET_SYSTEM_RASPBERRY_PI
select ADK_KERNEL_ARCH_BCM2708
select ADK_KERNEL_AEABI
select ADK_KERNEL_PREEMPT
+ select ADK_KERNEL_VFP
select ADK_EABIHF
select ADK_CPU_RASPBERRY_PI
select ADK_TARGET_WITH_MMC
diff --git a/target/config/Config.in b/target/config/Config.in
index 194c0c4db..4be91e9ef 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -525,7 +525,7 @@ config ADK_TARGET_CFLAGS
default "-march=v32" if ADK_CPU_CRIS_V32
default "-march=v10" if ADK_CPU_CRIS_V10
default "-march=armv5te -mtune=iwmmxt" if ADK_CPU_XSCALE
- default "-march=armv6 -mtune=arm1176jzf-s -mfloat-abi=hard" if ADK_CPU_RASPBERRY_PI
+ default "-march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" if ADK_CPU_RASPBERRY_PI
config ADK_TARGET_CMDLINE
string
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index 5be6dacfc..b892f1455 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -32,3 +32,6 @@ config ADK_KERNEL_USE_GENERIC_SMP_HELPERS
boolean
default y if ADK_TARGET_CPU_WITH_HT
default n
+
+config ADK_KERNEL_VFP
+ boolean