aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/package/diag/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/package/diag/Makefile b/target/linux/package/diag/Makefile
index 42765aedfe..47908f0866 100644
--- a/target/linux/package/diag/Makefile
+++ b/target/linux/package/diag/Makefile
@@ -26,7 +26,7 @@ $(PKG_BUILD_DIR)/.prepared:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(TARGET_CC) $(DIAG_FLAGS) -o $@ diag_led.c
+ $(TARGET_CC) $(DIAG_FLAGS) -o $(PKG_BUILD_DIR)/diag.o diag_led.c
touch $@
$(IPKG_KMOD_DIAG):