fix wificonf build depends
SVN-Revision: 1204
This commit is contained in:
parent
f48d720726
commit
c90793463c
@ -127,6 +127,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
|
|||||||
compile: $(patsubst %,%-compile,$(package-y) $(package-m))
|
compile: $(patsubst %,%-compile,$(package-y) $(package-m))
|
||||||
install: $(patsubst %,%-install,$(package-y))
|
install: $(patsubst %,%-install,$(package-y))
|
||||||
|
|
||||||
|
wificonf-compile: openwrt-compile wireless-tools-compile
|
||||||
arpwatch-compile: libpcap-compile
|
arpwatch-compile: libpcap-compile
|
||||||
cyrus-sasl-compile: openssl-compile
|
cyrus-sasl-compile: openssl-compile
|
||||||
dropbear-compile: zlib-compile
|
dropbear-compile: zlib-compile
|
||||||
|
@ -26,10 +26,12 @@ $(PKG_BUILD_DIR)/nvram: $(PKG_BUILD_DIR)/main.o $(PKG_BUILD_DIR)/libnvram.so
|
|||||||
|
|
||||||
$(PKG_BUILD_DIR)/libnvram.so: $(LIBNVRAM_OBJS)
|
$(PKG_BUILD_DIR)/libnvram.so: $(LIBNVRAM_OBJS)
|
||||||
$(TARGET_CC) -shared -o $@ $^
|
$(TARGET_CC) -shared -o $@ $^
|
||||||
|
|
||||||
|
$(STAGING_DIR)/lib/libnvram.so: $(PKG_BUILD_DIR)/libnvram.so
|
||||||
|
install -m 644 $< $@
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libnvram.so: $(PKG_BUILD_DIR)/libnvram.so
|
$(TARGET_DIR)/usr/lib/libnvram.so: $(PKG_BUILD_DIR)/libnvram.so
|
||||||
install -m 644 $< $@
|
install -m 644 $< $@
|
||||||
install -m 644 $< $(STAGING_DIR)/lib/libnvram.so
|
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/sbin/nvram: $(PKG_BUILD_DIR)/nvram
|
$(TARGET_DIR)/usr/sbin/nvram: $(PKG_BUILD_DIR)/nvram
|
||||||
@ -37,7 +39,7 @@ $(TARGET_DIR)/usr/sbin/nvram: $(PKG_BUILD_DIR)/nvram
|
|||||||
install -m 755 $< $@
|
install -m 755 $< $@
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
compile: $(PKG_BUILD_DIR)/libnvram.so $(PKG_BUILD_DIR)/nvram
|
compile: $(PKG_BUILD_DIR)/libnvram.so $(STAGING_DIR)/lib/libnvram.so $(PKG_BUILD_DIR)/nvram
|
||||||
install: $(TARGET_DIR)/usr/lib/libnvram.so $(TARGET_DIR)/usr/sbin/nvram
|
install: $(TARGET_DIR)/usr/lib/libnvram.so $(TARGET_DIR)/usr/sbin/nvram
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -26,12 +26,14 @@ $(PKG_BUILD_DIR):
|
|||||||
$(PKG_BUILD_DIR)/libshared.so: $(LIBSHARED_OBJS)
|
$(PKG_BUILD_DIR)/libshared.so: $(LIBSHARED_OBJS)
|
||||||
$(TARGET_CC) -shared -o $@ $^
|
$(TARGET_CC) -shared -o $@ $^
|
||||||
|
|
||||||
|
$(STAGING_DIR)/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so
|
||||||
|
install -m 644 $< $@
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so
|
$(TARGET_DIR)/usr/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so
|
||||||
install -m 644 $^ $@
|
install -m 644 $^ $@
|
||||||
install -m 644 $^ $(STAGING_DIR)/lib/libshared.so
|
|
||||||
$(STRIP) $@
|
$(STRIP) $@
|
||||||
|
|
||||||
compile: $(PKG_BUILD_DIR)/libshared.so
|
compile: $(PKG_BUILD_DIR)/libshared.so $(STAGING_DIR)/lib/libshared.so
|
||||||
install: $(TARGET_DIR)/usr/lib/libshared.so
|
install: $(TARGET_DIR)/usr/lib/libshared.so
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user