summaryrefslogtreecommitdiff
path: root/payloads/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/Makefile.inc')
-rw-r--r--payloads/Makefile.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/payloads/Makefile.inc b/payloads/Makefile.inc
index 1bd8cf72bb..4269715a72 100644
--- a/payloads/Makefile.inc
+++ b/payloads/Makefile.inc
@@ -19,3 +19,20 @@ img/coreinfo-type := payload
payloads/coreinfo/build/coreinfo.elf coreinfo:
$(MAKE) -C payloads/coreinfo defaultbuild
+
+clean-payloads:
+ $(MAKE) -C payloads/coreinfo clean
+ $(MAKE) -C payloads/libpayload clean
+ $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc clean
+ $(MAKE) -C payloads/external/U-Boot -f Makefile.inc clean
+ $(MAKE) -C payloads/external/Memtest86Plus -f Makefile.inc clean
+
+
+distclean-payloads:
+ $(MAKE) -C payloads/coreinfo distclean
+ $(MAKE) -C payloads/libpayload distclean
+ $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc distclean
+ $(MAKE) -C payloads/external/U-Boot -f Makefile.inc distclean
+ $(MAKE) -C payloads/external/Memtest86Plus -f Makefile.inc distclean
+
+.phony: clean-payloads distclean-payloads