summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-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 42765aedf..47908f086 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):