diff options
author | Martin Roth <martinroth@google.com> | 2016-03-07 16:38:52 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-09 17:01:56 +0100 |
commit | 679755778bdffe2c384eaa390132f3e5cab96a76 (patch) | |
tree | 97fdd6934adf0f570b6cab814133ea68cfa5be66 /payloads | |
parent | 0fcd6f912ba53ef1fc6327143c07727a556a718a (diff) |
Makefile: Update payload clean targets
Move payload clean targets into payloads/Makefile.inc
Add clean targets for coreinfo, nvramcui, Memtest86+
Change-Id: I70c13582311dfba3e309805053159f8a039cb109
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13940
Tested-by: build bot (Jenkins)
Reviewed-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/Makefile.inc | 17 |
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 |