summaryrefslogtreecommitdiffstats
path: root/target/linux/package/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/Makefile')
-rw-r--r--target/linux/package/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/package/Makefile b/target/linux/package/Makefile
index a2567ea6b..77a0583fd 100644
--- a/target/linux/package/Makefile
+++ b/target/linux/package/Makefile
@@ -55,7 +55,9 @@ KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
%-clean:
@$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
- @$(MAKE) -C $(patsubst %-clean,%,$@) clean
+ @$(MAKE) -C $(patsubst %-clean,%,$@) \
+ $(KPKG_MAKEOPTS) \
+ clean
@$(CMD_TRACE) " done"
@$(END_TRACE)