aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-09-27 14:08:59 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-09-27 14:08:59 -0400
commita8cb6dfc231f4ed1fe97fd49800b984738a26ffd (patch)
tree41f243e27e010887e6c5acf939a7ec5e988c0eb4 /Makefile
parent804efa7bb278a032d384c97e8530195b294e71bc (diff)
downloadsyslinux-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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb387c5b..615ccc4e 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
#