summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/kernel.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/kernel.mk')
-rw-r--r--openwrt/target/linux/kernel.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/openwrt/target/linux/kernel.mk b/openwrt/target/linux/kernel.mk
index 00ff102..f8f4700 100644
--- a/openwrt/target/linux/kernel.mk
+++ b/openwrt/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