diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-02 10:43:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-02 10:43:04 +0000 |
commit | af421d122f149f9d7b28e01f0f21496e4df225d4 (patch) | |
tree | 65a082a1c435a326f0bd21b14444aabeaba8dc34 | |
parent | 469f5e661c19cfd000235d65d5cf6fefdd6a14cf (diff) |
fix build depends for wlc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@512 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/package/openwrt/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/openwrt/Makefile b/openwrt/package/openwrt/Makefile index 4c129fd4c..1580c13a9 100644 --- a/openwrt/package/openwrt/Makefile +++ b/openwrt/package/openwrt/Makefile @@ -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) |