efi: Add 'strip' make target and don't installer wrapper
authorMatt Fleming <matt.fleming@intel.com>
Fri, 9 Nov 2012 15:16:18 +0000 (15:16 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 9 Nov 2012 16:00:07 +0000 (16:00 +0000)
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>
efi/Makefile

index 1cb9361..11ea9c2 100644 (file)
@@ -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)