diff mbox series

[2/7] Makefile: Drop include/asm directory as well as symlink

Message ID 20210627194836.2.I0c73ba8f35a1036588c793c9096200764a7fe066@changeid
State Superseded
Delegated to: Tom Rini
Headers show
Series efi: Various tidy-ups and drop the default | expand

Commit Message

Simon Glass June 28, 2021, 1:48 a.m. UTC
At present when using 'make mrproper' on an out-of-tree build, a warning
is shown about include/asm being a directory. With old versions of U-Boot
it is a file, but more recently it has become a directory.

Remove this directory first, since that covers both cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index a73481d18c1..0848387029b 100644
--- a/Makefile
+++ b/Makefile
@@ -2078,7 +2078,7 @@  CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h tools/version.h \
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include/generated spl tpl \
-		  .tmp_objdiff doc/output
+		  .tmp_objdiff doc/output include/asm
 
 # Remove include/asm symlink created by U-Boot before v2014.01
 MRPROPER_FILES += .config .config.old include/autoconf.mk* include/config.h \