aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-03-07 16:38:52 -0700
committerMartin Roth <martinroth@google.com>2016-03-09 17:01:56 +0100
commit679755778bdffe2c384eaa390132f3e5cab96a76 (patch)
tree97fdd6934adf0f570b6cab814133ea68cfa5be66 /Makefile.inc
parent0fcd6f912ba53ef1fc6327143c07727a556a718a (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 'Makefile.inc')
-rw-r--r--Makefile.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.inc b/Makefile.inc
index ce6f3514a7..5f4725d5e6 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -449,7 +449,7 @@ $(objgenerated)/libverstage.a: $$(libverstage-objs)
clean-abuild:
rm -rf coreboot-builds
-clean-for-update-target:
+clean-for-update-target: clean-payloads
rm -f $(obj)/ramstage?* $(obj)/coreboot.romstage $(obj)/coreboot.pre* $(obj)/coreboot.bootblock $(obj)/coreboot.a
rm -rf $(obj)/bootblock?* $(obj)/romstage?* $(obj)/location.*
rm -f $(obj)/option_table.* $(obj)/crt0.S $(obj)/ldscript
@@ -458,8 +458,6 @@ clean-for-update-target:
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.* $(obj)/dsdt.*
rm -f $(obj)/cpu/x86/smm/smm_bin.c $(obj)/cpu/x86/smm/smm.* $(obj)/cpu/x86/smm/smm
- $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc clean
- $(MAKE) -C payloads/external/U-Boot -f Makefile.inc clean
clean-target:
rm -f $(obj)/coreboot*