[syslinux:firmware] efi: Add 'strip' make target and don' t installer wrapper
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Fri Nov 9 09:06:36 PST 2012
Commit-ID: 3ded0ba32465be4488d1558d5916c5501e39ec7b
Gitweb: http://www.syslinux.org/commit/3ded0ba32465be4488d1558d5916c5501e39ec7b
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 9 Nov 2012 15:16:18 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Fri, 9 Nov 2012 16:00:07 +0000
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 at intel.com>
---
efi/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/efi/Makefile b/efi/Makefile
index 1cb9361..11ea9c2 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)
More information about the Syslinux-commits
mailing list