diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-11 21:13:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-06-11 21:13:46 +0000 |
commit | df33b4f6f40a6ba00cff9c25a2417a445040e277 (patch) | |
tree | e216e11a7f566998570293e57f7bde3cc6534f6f /package/openwrt | |
parent | 3aa3143414d14ec3129177cfc3d7b89ed92d1a0a (diff) |
fix wificonf build depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1204 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openwrt')
-rw-r--r-- | package/openwrt/libnvram/Makefile | 6 | ||||
-rw-r--r-- | package/openwrt/libshared/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/package/openwrt/libnvram/Makefile b/package/openwrt/libnvram/Makefile index 75a1afcd6a..a5b62848ba 100644 --- a/package/openwrt/libnvram/Makefile +++ b/package/openwrt/libnvram/Makefile @@ -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) $(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 install -m 644 $< $@ - install -m 644 $< $(STAGING_DIR)/lib/libnvram.so $(STRIP) $@ $(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 $< $@ $(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 clean: diff --git a/package/openwrt/libshared/Makefile b/package/openwrt/libshared/Makefile index 601dc665c5..4309c8ce66 100644 --- a/package/openwrt/libshared/Makefile +++ b/package/openwrt/libshared/Makefile @@ -26,12 +26,14 @@ $(PKG_BUILD_DIR): $(PKG_BUILD_DIR)/libshared.so: $(LIBSHARED_OBJS) $(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 install -m 644 $^ $@ - install -m 644 $^ $(STAGING_DIR)/lib/libshared.so $(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 clean: |