diff options
author | Gene Cumm <gene.cumm@gmail.com> | 2015-09-27 14:08:59 -0400 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2015-09-27 14:08:59 -0400 |
commit | a8cb6dfc231f4ed1fe97fd49800b984738a26ffd (patch) | |
tree | 41f243e27e010887e6c5acf939a7ec5e988c0eb4 | |
parent | 804efa7bb278a032d384c97e8530195b294e71bc (diff) | |
download | syslinux-a8cb6dfc231f4ed1fe97fd49800b984738a26ffd.tar.gz syslinux-a8cb6dfc231f4ed1fe97fd49800b984738a26ffd.tar.xz syslinux-a8cb6dfc231f4ed1fe97fd49800b984738a26ffd.zip |
Add gpxe/ to clean-up targets
gpxe/ has a lot of binary blobs after a spotless. Start the cleanup
measures. do-spotless-gpxe for bios target might be better in another
spot.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | gpxe/Makefile | 4 |
2 files changed, 12 insertions, 4 deletions
@@ -95,6 +95,7 @@ ifeq ($(real-target),) endif ifeq ($(real-firmware),) + do-spotless-gpxe = no-fw real-firmware = $(firmware) endif @@ -346,6 +347,8 @@ install: local-install set -e ; for i in $(INSTALLSUBDIRS) ; \ do $(MAKE) -C $$i SRC="$(SRC)/$$i" OBJ="$(OBJ)/$$i" \ -f $(SRC)/$$i/Makefile $@; done + +do-spotless-gpxe = bios else install: mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)/efi$(BITS) @@ -406,7 +409,14 @@ local-spotless: -type f -print0 \ | xargs -0rt rm -f -spotless: local-spotless +ifeq ($(do-spotless-gpxe),) +spotless-gpxe: +else +spotless-gpxe: + $(MAKE) -C "$(topdir)/gpxe" SRC="$(topdir)/gpxe" spotless +endif + +spotless: local-spotless spotless-gpxe rm -rf $(all_firmware) # diff --git a/gpxe/Makefile b/gpxe/Makefile index d2f5e756..73ee261f 100644 --- a/gpxe/Makefile +++ b/gpxe/Makefile @@ -31,9 +31,7 @@ clean: tidy dist: $(MAKE) -C $(SRC)/src veryclean > /dev/null 2>&1 -#spotless: clean dist -#Including 'dist' errors out for make ARCH=x86_64 spotless -spotless: clean +spotless: clean dist rm -f $(TARGETS) installer: |