summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/vars.mk3
-rw-r--r--target/Config.in1
-rw-r--r--target/bulkdef.lst2
-rw-r--r--toolchain/glibc/Makefile5
4 files changed, 5 insertions, 6 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index d1db19759..3aff9fc76 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/Config.in b/target/Config.in
index 9d4b352f5..d92d2b0ef 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -414,6 +414,7 @@ config ADK_LINUX_MIPS_BRCM
endchoice
source "target/Config.in.alix"
+source "target/Config.in.mikrotik"
source "target/Config.in.arm"
source "target/Config.in.armel"
source "target/Config.in.mips"
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