diff options
Diffstat (limited to 'target/linux/kernel.mk')
-rw-r--r-- | target/linux/kernel.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/kernel.mk b/target/linux/kernel.mk index 00ff102d58..f8f4700525 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 |