mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 06:53:44 +02:00
Change libpcap, uniformize package makefile, put back control file in ./ipkg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@682 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
37fbd9472b
commit
d0149fc434
@ -29,7 +29,7 @@ $(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
|||||||
touch $(PKG_BUILD_DIR)/.prepared
|
touch $(PKG_BUILD_DIR)/.prepared
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
||||||
(cd $(PKG_BUILD_DIR); rm -rf config.cache config.status; \
|
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
|
||||||
@ -74,10 +74,10 @@ $(STAGING_DIR)/usr/lib/libpcap.so: $(PKG_BUILD_DIR)/.built
|
|||||||
install
|
install
|
||||||
|
|
||||||
$(IPKG_LIBPCAP): $(STAGING_DIR)/usr/lib/libpcap.so
|
$(IPKG_LIBPCAP): $(STAGING_DIR)/usr/lib/libpcap.so
|
||||||
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPCAP) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
|
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPCAP) ./ipkg/$(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
|
||||||
mkdir -p $(IDIR_LIBPCAP)/usr/lib
|
install -m0755 -d $(IDIR_LIBPCAP)/usr/lib
|
||||||
cp -fpR $(STAGING_DIR)/usr/lib/libpcap.so.* $(IDIR_LIBPCAP)/usr/lib/
|
cp -fpR $(STAGING_DIR)/usr/lib/libpcap.so.* $(IDIR_LIBPCAP)/usr/lib/
|
||||||
$(STRIP) $(IDIR_LIBPCAP)/usr/lib/lib*.so*
|
$(RSTRIP) $(IDIR_LIBPCAP)
|
||||||
mkdir -p $(PACKAGE_DIR)
|
mkdir -p $(PACKAGE_DIR)
|
||||||
$(IPKG_BUILD) $(IDIR_LIBPCAP) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_LIBPCAP) $(PACKAGE_DIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user