From 45805efcda653a3e6d7577ac2956c8138b49c7fc Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sat, 27 Nov 2010 00:42:52 +0100
Subject: fix build of glibc toolchains

---
 toolchain/glibc/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'toolchain/glibc')

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
-- 
cgit v1.2.3