aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-09 15:16:18 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-09 16:00:07 +0000
commit3ded0ba32465be4488d1558d5916c5501e39ec7b (patch)
treeb241580196770f9e35d518e641c9cf34bbac7476
parentba1f0dd888474d80a82e4c97367cc789e67b1333 (diff)
downloadsyslinux-3ded0ba32465be4488d1558d5916c5501e39ec7b.tar.gz
syslinux-3ded0ba32465be4488d1558d5916c5501e39ec7b.tar.xz
syslinux-3ded0ba32465be4488d1558d5916c5501e39ec7b.zip
efi: Add 'strip' make target and don't installer wrapper
The wrapper executable is only useful when building Syslinux. It shouldn't be distributed outside of the build directories, so remove it in the 'tidy dist' target. Also add a 'strip' target which is required when building a release. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--efi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/efi/Makefile b/efi/Makefile
index 1cb9361d..11ea9c2d 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -60,12 +60,14 @@ install: all
mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
install -m 755 $(BTARGET) $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
+strip:
+
tidy dist:
- rm -f *.so *.o
+ rm -f *.so *.o wrapper
find . \( -name \*.o -o -name \*.a -o -name .\*.d -o -name \*.tmp \) -print0 | \
xargs -0r rm -f
clean: tidy
spotless: clean
- rm -f $(BTARGET) wrapper
+ rm -f $(BTARGET)