arm: Add both .lds files to CLEAN_FILES unconditionally
'clean' target is listed on 'no-dot-config-targets' list in main Makefile so that conditional statement would yeild the same result every time. Given how CLEAN_FILES are rm'ed with -f there should be no harm in specifying them both unconditionally. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
1dff49274b
commit
b65b137453
|
@ -314,9 +314,5 @@ endif
|
|||
common- += $(patsubst %,arch/arm/boards/%/,$(board-))
|
||||
|
||||
CLEAN_FILES += include/generated/mach-types.h barebox-flash-image
|
||||
|
||||
ifeq ($(CONFIG_CPU_V8), y)
|
||||
CLEAN_FILES += arch/arm/lib64/barebox.lds
|
||||
else
|
||||
CLEAN_FILES += arch/arm/lib32/barebox.lds
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue