diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-25 15:43:10 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-25 15:43:10 -0700 |
commit | 942aadea9468884dfbc2a7c8428f52bbb5ecf360 (patch) | |
tree | a5af34b7e2dcde2d753e3cfaab53c602c5480c2a /com32/MCONFIG | |
parent | 8d2ef6c9094746a96330df276bd156c56995a3c5 (diff) | |
download | syslinux-942aadea9468884dfbc2a7c8428f52bbb5ecf360.tar.gz |
com32: add dependency on com32.ld -> *.elfsyslinux-3.81-pre13
All the *.elf files depend on com32.ld, so make that explicit.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/MCONFIG')
-rw-r--r-- | com32/MCONFIG | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/com32/MCONFIG b/com32/MCONFIG index e02ec67c..f8d9d978 100644 --- a/com32/MCONFIG +++ b/com32/MCONFIG @@ -41,7 +41,8 @@ SFLAGS = $(GCCOPT) -W -Wall -march=i386 \ -nostdinc -iwithprefix include \ -I$(com32)/libutil/include -I$(com32)/include $(GPLINCLUDE) -LDFLAGS = -m elf_i386 -T $(com32)/lib/com32.ld +COM32LD = $(com32)/lib/com32.ld +LDFLAGS = -m elf_i386 -T $(COM32LD) LIBGCC := $(shell $(CC) $(GCCOPT) --print-libgcc) LNXCFLAGS = -I$(com32)/libutil/include -W -Wall -O -g -D_GNU_SOURCE @@ -63,8 +64,8 @@ C_LNXLIBS = $(com32)/libutil/libutil_lnx.a $(CC) $(MAKEDEPS) $(CFLAGS) -c -o $@ $< .PRECIOUS: %.elf -%.elf: %.o $(LIBS) $(C_LIBS) - $(LD) $(LDFLAGS) -o $@ $^ +%.elf: %.o $(LIBS) $(C_LIBS) $(COM32LD) + $(LD) $(LDFLAGS) -o $@ $(filter-out $(COM32LD),$^) .PRECIOUS: %.lo %.lo: %.S |