summaryrefslogtreecommitdiff
path: root/extlinux
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-05-09 20:02:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-05-09 20:02:27 -0700
commit2613174223371677d0a701a69cb7468947940d65 (patch)
tree0341dc40c1833d3fa017846f3cd1c4bc04f52fdd /extlinux
parentb0e7c325933396ff42b38c097a3a7142625b6ab7 (diff)
downloadsyslinux-2613174223371677d0a701a69cb7468947940d65.tar.gz
Add "make strip" target
Add a "make strip" target, to make doing the official build easier. We want the official build to have stripped binaries for size reasons, so do it right and make it an actual build target. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'extlinux')
-rw-r--r--extlinux/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/extlinux/Makefile b/extlinux/Makefile
index c320f139..12213d88 100644
--- a/extlinux/Makefile
+++ b/extlinux/Makefile
@@ -54,6 +54,9 @@ installer: extlinux
extlinux: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $^
+strip:
+ $(STRIP) extlinux
+
%.o: %.c
$(CC) $(UMAKEDEPS) $(CFLAGS) -c -o $@ $<
%.i: %.c