aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kbuild')
-rw-r--r--arch/mips/Kbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild
index e322d65f33a..7dd65cfae83 100644
--- a/arch/mips/Kbuild
+++ b/arch/mips/Kbuild
@@ -7,6 +7,10 @@ subdir-ccflags-y := -Werror
include arch/mips/Kbuild.platforms
obj-y := $(platform-y)
+# make clean traverses $(obj-) without having included .config, so
+# everything ends up here
+obj- := $(platform-)
+
# mips object files
# The object files are linked as core-y files would be linked