lots of small package changes and dependency cleanups for the V= stuff

SVN-Revision: 2230
This commit is contained in:
Felix Fietkau 2005-10-22 12:12:59 +00:00
parent 9ae81d3376
commit 6b758a5dc3
97 changed files with 211 additions and 225 deletions

View File

@ -19,7 +19,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -76,9 +76,10 @@ $(IPKG_HOTPLUG):
package-clean:
rm -f $(PACKAGES)
clean: package-clean
clean-targets: package-clean
prepare:
compile: $(PACKAGES)
install: compile
compile-targets: $(PACKAGES)
install-targets: compile
mkdir -p $(TARGET_DIR)
$(IPKG) install $(PACKAGES)

View File

@ -22,7 +22,7 @@ $(PKG_BUILD_DIR)/.source: $(DL_DIR)/$(PKG_SOURCE)
zcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(BLUEZLIBS_DIR)/.source
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -58,7 +58,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
)
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -84,5 +84,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/bluetooth
rm -rf $(STAGING_DIR)/usr/lib/libbluetooth.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -23,7 +23,7 @@ $(PKG_BUILD_DIR)/.source: $(DL_DIR)/$(PKG_SOURCE)
zcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(BLUEZLIBS_DIR)/.source
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
)
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -20,7 +20,7 @@ $(eval $(call PKG_template,CGILIB,cgilib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
@ -41,11 +41,10 @@ $(STAGING_DIR)/usr/lib/libcgi.so: $(PKG_BUILD_DIR)/.built
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libcgi.so
uninstall-dev:
rm -rf \
$(STAGING_DIR)/usr/include/cgi.h \
$(STAGING_DIR)/usr/lib/libcgi.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -111,6 +111,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/cups \
$(STAGING_DIR)/usr/lib/libcups.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -122,8 +122,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libcurl.a \
$(STAGING_DIR)/usr/lib/libcurl.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBSASL2,libsasl2,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -123,5 +123,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/lib/libsasl{2,}.{a,so*}
rm -rf $(STAGING_DIR)/usr/lib/sasl2
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -15,7 +15,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,DECO,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -19,7 +19,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,DHCP_SERVER,dhcp-server,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR) ; \
./configure \
--copts "$(TARGET_CFLAGS)" \

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,DSNIFF,dsniff,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -52,8 +52,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libFLAC.a \
$(STAGING_DIR)/usr/lib/libFLAC.so \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBFREETYPE,libfreetype,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
@ -84,5 +84,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libfreetype.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -104,5 +104,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libfuse.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -46,7 +46,7 @@ $(PKG_BUILD_DIR)/.configured:
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -21,8 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,GLIB1,glib1,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
glib_cv_sizeof_gmutex=24 \
ac_cv_sizeof_char=1 \
@ -72,7 +71,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -110,5 +109,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/lib/glib
rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/g{lib,module,thread}.pc
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBGMP,libgmp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -50,7 +50,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -78,5 +78,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/gmp* \
$(STAGING_DIR)/usr/lib/libgmp.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -120,9 +120,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc \
$(STAGING_DIR)/usr/share/aclocal/libgnutls{,-extra}.m4 \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -85,5 +85,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/libgpsmm.h \
$(STAGING_DIR)/usr/lib/libgps.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -116,5 +116,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/lib{howl,mDNSResponder}.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/howl.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -86,5 +86,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libid3.so \
$(STAGING_DIR)/usr/lib/libid3-*.so.* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -15,7 +15,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,IPERF,iperf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -84,5 +84,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/libipq.h
rm -rf $(STAGING_DIR)/usr/lib/libipq.a
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -17,10 +17,10 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,IPTRAF,iptraf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -82,6 +82,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/j{config,error,morecfg}.h \
$(STAGING_DIR)/usr/lib/libjpeg.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LESS,less,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="-I$(STAGING_DIR)/usr/include $(TARGET_CFLAGS)" \
@ -50,7 +50,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR)
touch $@

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBAMSEL,libamsel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -52,6 +52,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/compat \
$(STAGING_DIR)/usr/lib/libamsel.so \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -87,8 +87,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libao.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/ao.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBART,libart,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
@ -83,5 +83,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libart_lgpl_2.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libart-2.0.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -88,8 +88,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libdaemon.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/libdaemon.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -91,5 +91,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/dnet \
$(STAGING_DIR)/usr/lib/libdnet.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,8 +18,6 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBELF,libelf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
.NOTPARALLEL:
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
@ -85,5 +83,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/libelf*
rm -rf $(STAGING_DIR)/usr/lib/libelf.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -79,5 +79,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libevent.{a,so} \
$(STAGING_DIR)/usr/lib/libevent-$(PKG_VERSION).so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -80,5 +80,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/ffi{,target}.h \
$(STAGING_DIR)/usr/lib/libffi.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -86,9 +86,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libgcrypt.{a,so*} \
$(STAGING_DIR)/usr/share/aclocal/libgcrypt.m4 \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -90,6 +90,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/gd*.h \
$(STAGING_DIR)/usr/lib/libgd.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBGDBM,libgdbm,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -49,7 +49,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -79,5 +79,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/gdbm.h
rm -rf $(STAGING_DIR)/usr/lib/libgdbm.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -87,9 +87,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libgpg-error.{a,so*} \
$(STAGING_DIR)/usr/share/aclocal/gpg-error.m4 \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBID3TAG,libid3tag,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -53,7 +53,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
all install
touch $@
$(IPKG_LIBID3TAG): $(STAGING_DIR)/usr/lib/libid3tag.so
$(IPKG_LIBID3TAG):
install -m0755 -d $(IDIR_LIBID3TAG)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libid3tag.so.* $(IDIR_LIBID3TAG)/usr/lib/
$(RSTRIP) $(IDIR_LIBID3TAG)
@ -83,5 +83,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libid3tag.a \
$(STAGING_DIR)/usr/lib/libid3tag.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -94,8 +94,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libmad.a \
$(STAGING_DIR)/usr/lib/libmad.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -96,5 +96,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/libnet* \
$(STAGING_DIR)/usr/lib/libnet.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBNIDS,libnids,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -51,7 +51,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -60,7 +60,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
all install
touch $@
$(IPKG_LIBNIDS): $(STAGING_DIR)/usr/lib/libnids.so
$(IPKG_LIBNIDS):
install -m0755 -d $(IDIR_LIBNIDS)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libnids.so.* $(IDIR_LIBNIDS)/usr/lib/
$(RSTRIP) $(IDIR_LIBNIDS)
@ -79,5 +79,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/nids.h
rm -rf $(STAGING_DIR)/usr/lib/libnids.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -87,8 +87,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libogg.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/ogg.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -89,5 +89,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libosip{,parser}2.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libosip2.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBPCAP,libpcap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -53,7 +53,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -81,5 +81,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/pcap*
rm -rf $(STAGING_DIR)/usr/lib/libpcap.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -85,6 +85,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libpng{,12}.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libpng{,12}.pc
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -13,8 +13,6 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBPTHREAD,libpthread,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
.NOTPARALLEL:
$(PKG_BUILD_DIR)/.prepared:
mkdir -p $(PKG_BUILD_DIR)
touch $@
@ -25,7 +23,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
touch $@
$(IPKG_LIBPTHREAD):
$(IPKG_LIBPTHREAD): $(PKG_BUILD_DIR)/.built
mkdir -p $(IDIR_LIBPTHREAD)/lib
cp -fpR $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
cp -fpR $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/

View File

@ -94,9 +94,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libtasn1.{a,so*} \
$(STAGING_DIR)/usr/share/aclocal/libtasn1.m4 \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBLTDL,libltdl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -50,7 +50,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -78,5 +78,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/ltdl.h \
$(STAGING_DIR)/usr/lib/libltdl.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -21,7 +21,7 @@ $(eval $(call PKG_template,LIBUPNP,libupnp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR)/upnp \
$(TARGET_CONFIGURE_OPTS) \
OPT_FLAGS="$(TARGET_CFLAGS)" \
@ -54,5 +54,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libthreadutil.so \
$(STAGING_DIR)/usr/lib/libupnp.so \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBUSB,libusb,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -50,7 +50,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
@ -82,5 +82,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/usb.h \
$(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -95,8 +95,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libvorbis{,enc,file}.so* \
$(STAGING_DIR)/usr/lib/pkgconfig/vorbis{,enc,file}.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -82,8 +82,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libvorbisidec.a \
$(STAGING_DIR)/usr/lib/libvorbisidec.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -118,8 +118,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libxml2.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -98,8 +98,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libxslt.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/libxslt.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean

View File

@ -87,9 +87,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/atm{,d,sap}.h \
$(STAGING_DIR)/usr/lib/libatm.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
$(MAKE) -C $(PKG_BUILD_DIR) clean

View File

@ -27,7 +27,7 @@ $(eval $(call PKG_template,LUA_EXAMPLES,lua-examples,$(PKG_VERSION)-$(PKG_RELEAS
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \
LD="$(TARGET_CROSS)ld" \
@ -96,5 +96,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/lauxlib.h \
$(STAGING_DIR)/usr/lib/liblua{,lib}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBLZO,liblzo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(strip $(TARGET_CFLAGS))" \
@ -78,5 +78,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/lzo*.h \
$(STAGING_DIR)/usr/lib/liblzo.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,MARADNS,maradns,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
./configure \

View File

@ -21,7 +21,7 @@ $(eval $(call PKG_template,LIBMATRIXSSL,libmatrixssl,$(PKG_VERSION)-$(PKG_RELEAS
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
DFLAGS="$(TARGET_CFLAGS) -Wall"
@ -47,5 +47,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/matrixSsl* \
$(STAGING_DIR)/usr/lib/libmatrixssl.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -62,7 +62,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,MPD,mpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(strip $(TARGET_CFLAGS))" \

View File

@ -17,7 +17,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,MTR,mtr,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
touch configure.in; \
touch aclocal.m4; \

View File

@ -126,5 +126,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/mysql \
$(STAGING_DIR)/usr/lib/mysql \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,NANO,nano,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -25,10 +25,10 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBNCURSES,libncurses,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
@ -158,6 +158,6 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libcurses.so \
$(STAGING_DIR)/usr/lib/lib{ncurses,panel}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -200,5 +200,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/net-snmp \
$(STAGING_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,NETSTAT-NAT,netstat-nat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(strip $(TARGET_CFLAGS))" \

View File

@ -34,7 +34,7 @@ $(IPKG_NVRAM):
$(IPKG_BUILD) $(IDIR_NVRAM) $(PACKAGE_DIR)
compile: install-dev
compile-targets: install-dev
install-dev: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/lib
cp $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib

View File

@ -92,10 +92,8 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/opencdk.h \
$(STAGING_DIR)/usr/lib/libopencdk.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev
mostlyclean:
make -C $(PKG_BUILD_DIR) clean
rm -f $(PKG_BUILD_DIR)/.built

View File

@ -136,5 +136,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/{lber,ldap}*.h
rm -rf $(STAGING_DIR)/usr/lib/lib{lber,ldap}*.{a,so*}
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -24,8 +24,6 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBOPENSSL,libopenssl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
.NOTPARALLEL:
$(PKG_BUILD_DIR)/.configured:
$(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' $(PKG_BUILD_DIR)/Configure
(cd $(PKG_BUILD_DIR); \
@ -94,5 +92,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/openssl \
$(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -32,7 +32,7 @@ ifneq ($(BR2_PACKAGE_OPENVPN_HTTP),y)
DISABLE_HTTP:=--disable-http
endif
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(strip $(TARGET_CFLAGS))" \
@ -71,7 +71,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,PALANTIR,palantir,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured

View File

@ -88,5 +88,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/pcre{,posix}.h \
$(STAGING_DIR)/usr/lib/libpcre{,posix}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -77,5 +77,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/popt.h \
$(STAGING_DIR)/usr/lib/libpopt.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -23,8 +23,8 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBPQ,libpq,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,PGSQL_CLI,pgsql-cli,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
# ./configure advertise "--infodir", but does not support it, replaced with "--docdir"
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
@ -123,5 +123,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/postgresql \
$(STAGING_DIR)/usr/lib/libpq.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -19,7 +19,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RADVD,radvd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -49,7 +49,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
radvd_LDADD=""
mkdir -p $(PKG_INSTALL_DIR)

View File

@ -23,7 +23,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RARPD,rarpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \

View File

@ -78,5 +78,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/readline \
$(STAGING_DIR)/usr/lib/lib{history,readline}.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -23,7 +23,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RRDCOLLECT,rrdcollect,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,RRDCOLLECT_EXAMPLE,rrdcollect-example,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \

View File

@ -20,7 +20,7 @@ $(eval $(call PKG_template,LIBRRD,librrd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,RRDCGI,rrdcgi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,RRDTOOL,rrdtool,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -106,5 +106,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/librrd.a \
$(STAGING_DIR)/usr/lib/librrd.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -101,5 +101,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/librrd.a \
$(STAGING_DIR)/usr/lib/librrd.so* \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -17,10 +17,10 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RRS,rrs,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,RRS_NOSSL,rrs-nossl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
ifneq ($(BR2_PACKAGE_RRS),)
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,RSYNC,rsync,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,SCREEN,screen,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
$(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_$(flag)=yes ) \
@ -53,7 +53,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR)
touch $@

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,LIBSPEEX,libspeex,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(strip $(TARGET_CFLAGS))" \
@ -82,5 +82,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libspeex.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/speex.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -94,5 +94,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libsqlite3.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -93,5 +93,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/lib/libsqlite.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/sqlite.pc \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -20,7 +20,7 @@ BR2_PACKAGE_SSMTP=m
$(eval $(call PKG_template,SSMTP,ssmtp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -49,7 +49,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
all
touch $@

View File

@ -60,5 +60,5 @@ uninstall-dev:
$(STAGING_DIR)/usr/include/tcpd.h \
$(STAGING_DIR)/usr/lib/libwrap.{a,so*} \
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev

View File

@ -20,7 +20,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,TINC,tinc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -51,7 +51,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -51,7 +51,7 @@ $(IPKG_UCLIBCXX):
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_UCLIBCXX) $(PACKAGE_DIR)
compile: install-dev
compile-targets: install-dev
install-dev: $(PKG_BUILD_DIR)/.built
$(MAKE) -C $(PKG_BUILD_DIR) \
TOPDIR="$(PKG_BUILD_DIR)/" \

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,UPDATEDD,updatedd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \

View File

@ -21,7 +21,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,FDISK,fdisk,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,SWAP_UTILS,swap-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,WIFIDOG,wifidog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
@ -50,7 +50,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS)
mkdir -p $(PKG_INSTALL_DIR)

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,WIRELESS_TOOLS,wireless-tools,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured

View File

@ -18,7 +18,7 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,ZLIB,zlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
@ -29,7 +29,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \
@ -60,5 +60,5 @@ uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/zlib.h
rm -rf $(STAGING_DIR)/usr/lib/libz.*
compile: install-dev
clean: uninstall-dev
compile-targets: install-dev
clean-targets: uninstall-dev