aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-01-17 10:54:40 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2013-01-17 10:54:40 -0800
commit755ec12eac1030fc9dbffc9594386e07d0153b04 (patch)
tree48c1f5c736246a846a66f60108c4f8763d493bd9 /com32/gpllib
parent8f2de46e618a39054fd6e86602391af8da5fcbac (diff)
downloadsyslinux-755ec12eac1030fc9dbffc9594386e07d0153b04.tar.gz
syslinux-755ec12eac1030fc9dbffc9594386e07d0153b04.tar.xz
syslinux-755ec12eac1030fc9dbffc9594386e07d0153b04.zip
Always strip all the modules
Always strip the modules; they are too big unstripped. Specifically, we generate unstripped *.elf files, and then convert them to stripped *.c32 files. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile
index 053e8642..c704866b 100644
--- a/com32/gpllib/Makefile
+++ b/com32/gpllib/Makefile
@@ -21,8 +21,8 @@ COM32DIR = $(AUXDIR)/com32
all: libcom32gpl.c32
-libcom32gpl.c32 : $(LIBOBJS)
- $(LD) -shared $(LDFLAGS) -soname $(@F) -o $@ $^
+libcom32gpl.elf : $(LIBOBJS)
+ $(LD) -shared $(LDFLAGS) -soname $(patsubst %.elf,%.c32,$(@F)) -o $@ $^
tidy dist clean:
find . \( -name \*.o -o -name .\*.d -o -name \*.tmp \) -print0 | \