mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 12:33:08 +02:00
fix build depends for wlc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@512 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
469f5e661c
commit
af421d122f
@ -10,10 +10,10 @@ PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
|
|||||||
|
|
||||||
SHARED_INCLUDE:=${shell pwd}/include
|
SHARED_INCLUDE:=${shell pwd}/include
|
||||||
|
|
||||||
libshared-compile libnvram-compile wlc-compile:
|
libshared-compile libnvram-compile:
|
||||||
@$(MAKE) -C $(patsubst %-compile,%,$@) 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
|
@$(MAKE) -C $(patsubst %-install,%,$@) install
|
||||||
|
|
||||||
libshared-clean libnvram-clean wlc-clean:
|
libshared-clean libnvram-clean wlc-clean:
|
||||||
@ -27,7 +27,7 @@ $(PKG_IPK_DIR)/sbin/jffs2root: jffs2root.c
|
|||||||
mkdir -p $(PKG_IPK_DIR)/sbin
|
mkdir -p $(PKG_IPK_DIR)/sbin
|
||||||
$(TARGET_CC) -o $@ $<
|
$(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
|
mkdir -p $(PKG_IPK_DIR)/usr/sbin
|
||||||
$(TARGET_CC) -o $@ $< -lshared -L./libshared -I$(SHARED_INCLUDE)
|
$(TARGET_CC) -o $@ $< -lshared -L./libshared -I$(SHARED_INCLUDE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user