diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Makefile_32 | 3 | ||||
-rw-r--r-- | arch/x86/Makefile_64 | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/Makefile_32 b/arch/x86/Makefile_32 index 50394da2f6c..f806ceccff7 100644 --- a/arch/x86/Makefile_32 +++ b/arch/x86/Makefile_32 @@ -156,7 +156,8 @@ install: $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install archclean: - $(Q)rm -rf $(objtree)/arch/i386/boot + $(Q)rm -rf $(objtree)/arch/i386 + $(Q)rm -rf $(objtree)/arch/x86_64 $(Q)$(MAKE) $(clean)=arch/x86/boot define archhelp diff --git a/arch/x86/Makefile_64 b/arch/x86/Makefile_64 index a804860022e..93cf17769ff 100644 --- a/arch/x86/Makefile_64 +++ b/arch/x86/Makefile_64 @@ -123,7 +123,8 @@ endif $(Q)$(MAKE) $(build)=arch/x86/vdso $@ archclean: - $(Q)rm -rf $(objtree)/arch/x86_64/boot + $(Q)rm -rf $(objtree)/arch/i386 + $(Q)rm -rf $(objtree)/arch/x86_64 $(Q)$(MAKE) $(clean)=$(boot) define archhelp |