compile fix for diag
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Oct 2005 15:43:16 +0000 (15:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 22 Oct 2005 15:43:16 +0000 (15:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2243 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/package/diag/Makefile

index 42765ae..47908f0 100644 (file)
@@ -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):