[syslinux:elflink] mk: Add rule for emitting .c32 ELF files
syslinux-bot for Matt Fleming
matt.fleming at linux.intel.com
Wed Apr 27 14:30:45 PDT 2011
Commit-ID: 74b3f540232f051ef1f463570473a6722f1ab5e7
Gitweb: http://syslinux.zytor.com/commit/74b3f540232f051ef1f463570473a6722f1ab5e7
Author: Matt Fleming <matt.fleming at linux.intel.com>
AuthorDate: Thu, 7 Apr 2011 21:00:31 +0100
Committer: Matt Fleming <matt.fleming at linux.intel.com>
CommitDate: Tue, 26 Apr 2011 09:52:58 +0100
mk: Add rule for emitting .c32 ELF files
We currently open code the Makefile rules for outputting .c32 files,
so provide a pattern rule to make things easier.
There are no users of this rule yet, but we'll make use of it when we
switch all modules over to ELF.
Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>
---
mk/elf.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/mk/elf.mk b/mk/elf.mk
index 530cd94..6efcf47 100644
--- a/mk/elf.mk
+++ b/mk/elf.mk
@@ -11,7 +11,7 @@
## -----------------------------------------------------------------------
##
-## COM32 common configurables
+## ELF common configurables
##
include $(MAKEDIR)/syslinux.mk
@@ -67,3 +67,5 @@ LNXLDFLAGS = -g
%.lnx: %.lo $(LNXLIBS)
$(CC) $(LNXLDFLAGS) -o $@ $^
+%.c32: %.o
+ $(LD) $(LDFLAGS) -o $@ $^
More information about the Syslinux-commits
mailing list