summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/vars.mk3
-rw-r--r--target/bulkdef.lst2
-rw-r--r--toolchain/glibc/Makefile5
3 files changed, 4 insertions, 6 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 4ebc1ebf6..e04adf36a 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -15,9 +15,6 @@ else
TARGET_DEBUGGING:= -fomit-frame-pointer $(TARGET_OPTIMIZATION)
endif
TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING) -fwrapv
-ifneq ($(ADK_TARGET_ARCH_OPTIMIZATION),)
-TARGET_CFLAGS+= -march=$(ADK_TARGET_ARCH_OPTIMIZATION)
-endif
BASE_DIR:= $(TOPDIR)
DISTDIR?= ${BASE_DIR}/dl
diff --git a/target/bulkdef.lst b/target/bulkdef.lst
index af2d3e88d..435a37f7c 100644
--- a/target/bulkdef.lst
+++ b/target/bulkdef.lst
@@ -5,8 +5,8 @@ foxboard uclibc squashfs
foxg20 uclibc nfsroot
foxg20 uclibc ext2-block
foxg20 eglibc nfsroot
-foxg20 eglibc ext2-block
foxg20 glibc nfsroot
+foxg20 eglibc ext2-block
foxg20 glibc ext2-block
rb4xx uclibc nfsroot
rb4xx eglibc nfsroot
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 47a7b9d6b..3d945a29c 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -3,8 +3,6 @@
include $(TOPDIR)/rules.mk
include ../rules.mk
-include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
# glibc does not compile with Os
TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
@@ -12,6 +10,9 @@ ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS+=-O2
endif
+include Makefile.inc
+include ${TOPDIR}/mk/buildhlp.mk
+
ifeq ($(ADK_TARGET_NO_FPU),y)
GLIBC_CONFOPTS+= --without-fp
endif