fix build depends for wlc
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Apr 2005 10:43:04 +0000 (10:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Apr 2005 10:43:04 +0000 (10:43 +0000)
SVN-Revision: 512

openwrt/package/openwrt/Makefile

index 4c129fd4ce0d9043851c2387aa3ff1ab6e5a32e4..1580c13a91ef0f3cabaf9cd32c095f82b55af23a 100644 (file)
@@ -10,10 +10,10 @@ PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
 
 SHARED_INCLUDE:=${shell pwd}/include
 
-libshared-compile libnvram-compile wlc-compile:
+libshared-compile libnvram-compile:
        @$(MAKE) -C $(patsubst %-compile,%,$@) compile
        
-libshared-install libnvram-install wlc-install:
+libshared-install libnvram-install: libshared-compile libnvram-compile
        @$(MAKE) -C $(patsubst %-install,%,$@) install
 
 libshared-clean libnvram-clean wlc-clean:
@@ -27,7 +27,7 @@ $(PKG_IPK_DIR)/sbin/jffs2root: jffs2root.c
        mkdir -p $(PKG_IPK_DIR)/sbin
        $(TARGET_CC) -o $@ $<
 
-$(PKG_IPK_DIR)/usr/sbin/wlc: wlc.c libshared-compile
+$(PKG_IPK_DIR)/usr/sbin/wlc: wlc.c libshared-install
        mkdir -p $(PKG_IPK_DIR)/usr/sbin
        $(TARGET_CC) -o $@ $< -lshared -L./libshared -I$(SHARED_INCLUDE)