summaryrefslogtreecommitdiffstats
path: root/target/linux/kernel.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/kernel.mk')
-rw-r--r--target/linux/kernel.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/kernel.mk b/target/linux/kernel.mk
index 00ff102d5..f8f470052 100644
--- a/target/linux/kernel.mk
+++ b/target/linux/kernel.mk
@@ -103,8 +103,10 @@ mostlyclean:
rebuild:
-$(MAKE) mostlyclean
- @[ -f $(LINUX_KERNEL) ] && $(MAKE) clean
- $(MAKE) compile
+ if [ -f $(LINUX_KERNEL) ]; then \
+ $(MAKE) clean; \
+ fi
+ $(MAKE) compile $(MAKE_TRACE)
clean:
rm -f $(STAMP_DIR)/.linux-compile