Makefile: Clean up old targets
Some of these targets seem to come from a long time ago. Now just rm -rf $(obj) is all that is needed for a clean. Change-Id: Iccc62b3c54ee2a074c25674715403c1457f6aad3 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63117 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
f00ab8c26a
commit
f91366fa6f
4
Makefile
4
Makefile
|
@ -470,10 +470,10 @@ doxyclean: doxygen-clean
|
||||||
doxygen-clean:
|
doxygen-clean:
|
||||||
rm -rf $(DOXYGEN_OUTPUT_DIR)
|
rm -rf $(DOXYGEN_OUTPUT_DIR)
|
||||||
|
|
||||||
clean-for-update: doxygen-clean clean-for-update-target
|
clean-for-update: doxygen-clean
|
||||||
rm -rf $(obj) .xcompile
|
rm -rf $(obj) .xcompile
|
||||||
|
|
||||||
clean: clean-for-update clean-target clean-utils
|
clean: clean-for-update clean-utils clean-payloads
|
||||||
rm -f .ccwrap
|
rm -f .ccwrap
|
||||||
|
|
||||||
clean-cscope:
|
clean-cscope:
|
||||||
|
|
13
Makefile.inc
13
Makefile.inc
|
@ -676,19 +676,6 @@ decompressor-y += $(CONFIG_MEMLAYOUT_LD_FILE)
|
||||||
clean-abuild:
|
clean-abuild:
|
||||||
rm -rf coreboot-builds
|
rm -rf coreboot-builds
|
||||||
|
|
||||||
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
|
|
||||||
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/static.c $(obj)/mainboard/$(MAINBOARDDIR)/config.py $(obj)/mainboard/$(MAINBOARDDIR)/static.dot
|
|
||||||
rm -f $(obj)/mainboard/$(MAINBOARDDIR)/crt0.s $(obj)/mainboard/$(MAINBOARDDIR)/crt0.disasm
|
|
||||||
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
|
|
||||||
|
|
||||||
clean-target:
|
|
||||||
rm -f $(obj)/coreboot*
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# Development utilities
|
# Development utilities
|
||||||
printcrt0s:
|
printcrt0s:
|
||||||
|
|
Loading…
Reference in New Issue