elflink: Move elf MCONFIG to mk/elf.mk
authorMatt Fleming <matt.fleming@linux.intel.com>
Thu, 7 Apr 2011 17:12:51 +0000 (18:12 +0100)
committerMatt Fleming <matt.fleming@linux.intel.com>
Tue, 26 Apr 2011 08:52:49 +0000 (09:52 +0100)
Catch up with recent changes to the Makefile fragments in the MCONFIG
files.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/Makefile
com32/elflink/ldlinux/Makefile
com32/elflink/modules/Makefile
mk/elf.mk [moved from com32/elflink/modules/MCONFIG with 98% similarity]

index 39266de..aca3743 100644 (file)
@@ -10,9 +10,6 @@
 ##
 ## -----------------------------------------------------------------------
 
-topdir = ../..
-include ../MCONFIG
-
 MODULES = 
 TESTFILES =
 
index f960693..6fbe1b1 100644 (file)
@@ -11,7 +11,8 @@
 ## -----------------------------------------------------------------------
 
 topdir = ../../..
-include ../modules/MCONFIG
+MAKEDIR = $(topdir)/mk
+include $(MAKEDIR)/elf.mk
 
 CFLAGS += -I../modules -I$(topdir)/core/elflink -I$(topdir)/core/include
 
index 6cd0767..eb2d052 100644 (file)
@@ -11,7 +11,8 @@
 ## -----------------------------------------------------------------------
 
 topdir = ../../..
-include MCONFIG
+MAKEDIR = $(topdir)/mk
+include $(MAKEDIR)/elf.mk
 
 CFLAGS += -I$(topdir)/core/elflink
 
similarity index 98%
rename from com32/elflink/modules/MCONFIG
rename to mk/elf.mk
index 0049128..530cd94 100644 (file)
+++ b/mk/elf.mk
@@ -14,7 +14,7 @@
 ## COM32 common configurables
 ##
 
-include $(topdir)/MCONFIG
+include $(MAKEDIR)/syslinux.mk
 
 GCCOPT := $(call gcc_ok,-std=gnu99,)
 GCCOPT += $(call gcc_ok,-m32,)