From: Felix Fietkau Date: Mon, 7 Nov 2005 18:26:35 +0000 (+0000) Subject: change bool in BR2_COMPILE_* to tristate to avoid unnecessary package/-install... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c3871569458ab2a497937f68e81172bfc0e7802;p=openwrt%2Fstaging%2Fnbd.git change bool in BR2_COMPILE_* to tristate to avoid unnecessary package/-install calls SVN-Revision: 2388 --- diff --git a/openwrt/package/Config.in b/openwrt/package/Config.in index 8cf05585ad..730b819d5b 100644 --- a/openwrt/package/Config.in +++ b/openwrt/package/Config.in @@ -171,7 +171,7 @@ source "package/libgpg-error/Config.in" source "package/libid3tag/Config.in" source "package/jpeg/Config.in" # libjpeg source "package/libtool/Config.in" # libltdl -source "package/lzo/Config.in" # liblzo +source "package/liblzo/Config.in" source "package/libmad/Config.in" source "package/matrixssl/Config.in" # libmatrixssl source "package/mysql/Config.in" # limysqlclient diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile index ff6bc640fa..3f53d73237 100644 --- a/openwrt/package/Makefile +++ b/openwrt/package/Makefile @@ -83,6 +83,7 @@ package-$(BR2_PACKAGE_LIBGD) += libgd package-$(BR2_PACKAGE_LIBGDBM) += libgdbm package-$(BR2_PACKAGE_LIBGPG_ERROR) += libgpg-error package-$(BR2_PACKAGE_LIBID3TAG) += libid3tag +package-$(BR2_PACKAGE_LIBLZO) += liblzo package-$(BR2_PACKAGE_LIBMAD) += libmad package-$(BR2_PACKAGE_LIBNET) += libnet package-$(BR2_PACKAGE_LIBNIDS) += libnids @@ -102,7 +103,6 @@ package-$(BR2_PACKAGE_LIBXSLT) += libxslt package-$(BR2_PACKAGE_LIGHTTPD) += lighttpd package-$(BR2_PACKAGE_LINUX_ATM) += linux-atm package-$(BR2_COMPILE_LUA) += lua -package-$(BR2_COMPILE_LZO) += lzo package-$(BR2_PACKAGE_MADWIFI_TOOLS) += madwifi-tools package-$(BR2_PACKAGE_MARADNS) += maradns package-$(BR2_COMPILE_MATRIXSSL) += matrixssl @@ -212,7 +212,7 @@ package-$(BR2_PACKAGE_XINETD) += xinetd package-$(BR2_PACKAGE_XSUPPLICANT) += xsupplicant package-$(BR2_PACKAGE_ZLIB) += zlib -DEV_LIBS:=tcp_wrappers glib ncurses openssl pcre popt zlib libnet libpcap mysql postgresql iptables matrixssl lzo gmp fuse portmap libelf uclibc++ speex libpng libgd wireless-tools nvram linux-atm libamsel libao libart libdaemon libdb libdnet libevent libffi-sable libgcrypt libgdbm libgpg-error libid3tag libmad libnet libnids libogg libosip2 libpcap libtasn1 libupnp libusb libvorbis libvorbisidec libxml2 libxslt id3lib +DEV_LIBS:=tcp_wrappers glib ncurses openssl pcre popt zlib libnet libpcap mysql postgresql iptables matrixssl liblzo gmp fuse portmap libelf uclibc++ speex libpng libgd wireless-tools nvram linux-atm libamsel libao libart libdaemon libdb libdnet libevent libffi-sable libgcrypt libgdbm libgpg-error libid3tag libmad libnet libnids libogg libosip2 libpcap libtasn1 libupnp libusb libvorbis libvorbisidec libxml2 libxslt id3lib DEV_LIBS_COMPILE:=$(patsubst %,%-compile,$(DEV_LIBS)) SDK_DEFAULT_PACKAGES:=busybox dnsmasq iptables wireless-tools dropbear bridge ipkg ppp SDK_DEFAULT_COMPILE:=$(patsubst %,%-compile,$(SDK_DEFAULT_PACKAGES)) @@ -297,10 +297,10 @@ socat-compile: openssl-compile sqlite-compile: ncurses-compile readline-compile sqlite2-compile: ncurses-compile readline-compile tcpdump-compile: libpcap-compile -tinc-compile: zlib-compile openssl-compile lzo-compile +tinc-compile: zlib-compile openssl-compile liblzo-compile tor-compile: libevent-compile openssl-compile zlib-compile usbutils-compile: libusb-compile -vtun-compile: zlib-compile openssl-compile lzo-compile +vtun-compile: zlib-compile openssl-compile liblzo-compile wificonf-compile: wireless-tools-compile nvram-compile wknock-compile: libpcap-compile wpa_supplicant-compile: openssl-compile @@ -347,7 +347,7 @@ endif openvpn-compile: openssl-compile ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y) -openvpn-compile: lzo-compile +openvpn-compile: liblzo-compile endif php4-compile: openssl-compile zlib-compile diff --git a/openwrt/package/atftp/Config.in b/openwrt/package/atftp/Config.in index c84e316cb9..32ab9512a3 100644 --- a/openwrt/package/atftp/Config.in +++ b/openwrt/package/atftp/Config.in @@ -1,7 +1,7 @@ #menu "atftp............................. TFTP implementation" config BR2_COMPILE_ATFTP - bool + tristate default n depends BR2_PACKAGE_ATFTP || BR2_PACKAGE_ATFTPD diff --git a/openwrt/package/avahi/Config.in b/openwrt/package/avahi/Config.in index 1f2804c62a..69461a58ea 100644 --- a/openwrt/package/avahi/Config.in +++ b/openwrt/package/avahi/Config.in @@ -1,7 +1,7 @@ menu "avahi............................. An mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) implementation" config BR2_COMPILE_AVAHI - bool + tristate default n depends BR2_PACKAGE_AVAHI_DAEMON || BR2_PACKAGE_AVAHI_DNSCONFD || BR2_PACKAGE_LIBAVAHI diff --git a/openwrt/package/bind/Config.in b/openwrt/package/bind/Config.in index 1acb5857e9..38dc92f6f4 100644 --- a/openwrt/package/bind/Config.in +++ b/openwrt/package/bind/Config.in @@ -1,7 +1,7 @@ #menu "bind.............................. A DNS server implementation" config BR2_COMPILE_BIND - bool + tristate default n depends BR2_PACKAGE_BIND_CLIENT || BR2_PACKAGE_BIND_SERVER diff --git a/openwrt/package/curl/Config.in b/openwrt/package/curl/Config.in index f3bf79f40c..9f8768c3bd 100644 --- a/openwrt/package/curl/Config.in +++ b/openwrt/package/curl/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_CURL - bool + tristate default n depends BR2_PACKAGE_LIBCURL diff --git a/openwrt/package/cyrus-sasl/Config.in b/openwrt/package/cyrus-sasl/Config.in index de3c3d3fb5..599a87c5db 100644 --- a/openwrt/package/cyrus-sasl/Config.in +++ b/openwrt/package/cyrus-sasl/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_CYRUS_SASL - bool + tristate default n depends BR2_PACKAGE_LIBSASL2 diff --git a/openwrt/package/dhcp/Config.in b/openwrt/package/dhcp/Config.in index 5449c207b9..f29beeeda0 100644 --- a/openwrt/package/dhcp/Config.in +++ b/openwrt/package/dhcp/Config.in @@ -1,7 +1,7 @@ #menu "dhcp.............................. ISC DHCP (Dynamic Host Configuration Protocol) implementation" config BR2_COMPILE_DHCP - bool + tristate default n depends BR2_PACKAGE_DHCP_RELAY || BR2_PACKAGE_DHCP_SERVER diff --git a/openwrt/package/expat/Config.in b/openwrt/package/expat/Config.in index 0347f3bca5..9b34c52c89 100644 --- a/openwrt/package/expat/Config.in +++ b/openwrt/package/expat/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_EXPAT - bool + tristate default n depends BR2_PACKAGE_LIBEXPAT diff --git a/openwrt/package/flac/Config.in b/openwrt/package/flac/Config.in index 12405fc399..87f88a3834 100644 --- a/openwrt/package/flac/Config.in +++ b/openwrt/package/flac/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_FLAC - bool + tristate default n depends BR2_PACKAGE_LIBFLAC diff --git a/openwrt/package/fuse/Config.in b/openwrt/package/fuse/Config.in index d24598619a..2d8b1775a0 100644 --- a/openwrt/package/fuse/Config.in +++ b/openwrt/package/fuse/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_FUSE - bool + tristate default n depends BR2_PACKAGE_LIBFUSE diff --git a/openwrt/package/glib/Config.in b/openwrt/package/glib/Config.in index 1ec23b9ef7..f11c06370f 100644 --- a/openwrt/package/glib/Config.in +++ b/openwrt/package/glib/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_GLIB - bool + tristate depends BR2_PACKAGE_GLIB1 config BR2_PACKAGE_GLIB1 diff --git a/openwrt/package/gmp/Config.in b/openwrt/package/gmp/Config.in index f00ee92262..1e995a7340 100644 --- a/openwrt/package/gmp/Config.in +++ b/openwrt/package/gmp/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_GMP - bool + tristate default n depends BR2_PACKAGE_LIBGMP diff --git a/openwrt/package/gnutls/Config.in b/openwrt/package/gnutls/Config.in index 291084f1ab..bb3ea99e7b 100644 --- a/openwrt/package/gnutls/Config.in +++ b/openwrt/package/gnutls/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_GNUTLS - bool + tristate default n depends BR2_PACKAGE_LIBGNUTLS diff --git a/openwrt/package/howl/Config.in b/openwrt/package/howl/Config.in index a55bbf35f4..a409dd2a64 100644 --- a/openwrt/package/howl/Config.in +++ b/openwrt/package/howl/Config.in @@ -1,7 +1,7 @@ menu "howl.............................. A Zeroconf networking implementation" config BR2_COMPILE_HOWL - bool + tristate default n depends BR2_PACKAGE_LIBHOWL diff --git a/openwrt/package/iproute2/Config.in b/openwrt/package/iproute2/Config.in index 85fa18421a..349e3b7df2 100644 --- a/openwrt/package/iproute2/Config.in +++ b/openwrt/package/iproute2/Config.in @@ -1,7 +1,7 @@ menu "iproute2.......................... A collection of utilites for controlling TCP/IP networking and Traffic Control" config BR2_COMPILE_IPROUTE2 - bool + tristate default n depends BR2_PACKAGE_IPROUTE2_IP || BR2_PACKAGE_IPROUTE2_TC diff --git a/openwrt/package/jpeg/Config.in b/openwrt/package/jpeg/Config.in index f493183357..326fa8b5f4 100644 --- a/openwrt/package/jpeg/Config.in +++ b/openwrt/package/jpeg/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_JPEG - bool + tristate default n depends BR2_PACKAGE_LIBJPEG diff --git a/openwrt/package/kismet/Config.in b/openwrt/package/kismet/Config.in index 6a5fbebd70..425ec6c511 100644 --- a/openwrt/package/kismet/Config.in +++ b/openwrt/package/kismet/Config.in @@ -1,7 +1,7 @@ #menu "kismet............................ An 802.11 layer2 wireless network detector, sniffer, and intrusion detection system" config BR2_COMPILE_KISMET - bool + tristate default n depends BR2_PACKAGE_KISMET_CLIENT || BR2_PACKAGE_KISMET_DRONE || BR2_PACKAGE_KISMET_SERVER diff --git a/openwrt/package/libdb/Config.in b/openwrt/package/libdb/Config.in index 2a7b771258..5871032a8a 100644 --- a/openwrt/package/libdb/Config.in +++ b/openwrt/package/libdb/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_DB - bool + tristate default n depends BR2_PACKAGE_LIBDB diff --git a/openwrt/package/liblzo/Config.in b/openwrt/package/liblzo/Config.in new file mode 100644 index 0000000000..b63a09a919 --- /dev/null +++ b/openwrt/package/liblzo/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBLZO + prompt "liblzo............................ Real-time data compression library" + tristate + default m if CONFIG_DEVEL + help + A real-time data compression library + + http://www.oberhumer.com/opensource/lzo/ + diff --git a/openwrt/package/liblzo/Makefile b/openwrt/package/liblzo/Makefile new file mode 100644 index 0000000000..dddc3ce885 --- /dev/null +++ b/openwrt/package/liblzo/Makefile @@ -0,0 +1,82 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=lzo +PKG_VERSION:=1.08 +PKG_RELEASE:=1 +PKG_MD5SUM:=ab94d3da364c7cbd5b78d76f1875b0f6 + +PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,LIBLZO,liblzo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(strip $(TARGET_CFLAGS))" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --program-prefix="" \ + --program-suffix="" \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + $(DISABLE_LARGEFILE) \ + $(DISABLE_NLS) \ + --enable-shared \ + --enable-static \ + ); + touch $@ + +$(PKG_BUILD_DIR)/.built: + rm -rf $(PKG_INSTALL_DIR) + mkdir -p $(PKG_INSTALL_DIR) + $(MAKE) -C $(PKG_BUILD_DIR) \ + CFLAGS_O="$(TARGET_CFLAGS)" \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install + touch $@ + +$(IPKG_LIBLZO): + install -d -m0755 $(IDIR_LIBLZO)/usr/lib + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblzo.so.* $(IDIR_LIBLZO)/usr/lib + $(RSTRIP) $(IDIR_LIBLZO) + $(IPKG_BUILD) $(IDIR_LIBLZO) $(PACKAGE_DIR) + +$(STAGING_DIR)/usr/lib/liblzo.so: $(PKG_BUILD_DIR)/.built + mkdir -p $(STAGING_DIR)/usr/include + cp -fpR $(PKG_INSTALL_DIR)/usr/include/lzo*.h $(STAGING_DIR)/usr/include/ + mkdir -p $(STAGING_DIR)/usr/lib + cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblzo.{a,so*} $(STAGING_DIR)/usr/lib/ + touch $(STAGING_DIR)/usr/lib/liblzo.so + +install-dev: $(STAGING_DIR)/usr/lib/liblzo.so + +uninstall-dev: + rm -rf \ + $(STAGING_DIR)/usr/include/lzo*.h \ + $(STAGING_DIR)/usr/lib/liblzo.{a,so*} \ + +compile-targets: install-dev +clean-targets: uninstall-dev diff --git a/openwrt/package/liblzo/ipkg/liblzo.control b/openwrt/package/liblzo/ipkg/liblzo.control new file mode 100644 index 0000000000..3f84ee6f2a --- /dev/null +++ b/openwrt/package/liblzo/ipkg/liblzo.control @@ -0,0 +1,4 @@ +Package: liblzo +Priority: optional +Section: libs +Description: a real-time data compression library diff --git a/openwrt/package/liblzo/patches/lzo-cross-compile.patch b/openwrt/package/liblzo/patches/lzo-cross-compile.patch new file mode 100644 index 0000000000..68a3d0449e --- /dev/null +++ b/openwrt/package/liblzo/patches/lzo-cross-compile.patch @@ -0,0 +1,43 @@ +For some reason the lzo autoconf script uses a local macro that does +a test for cross-compiles, and assumes that if the build target name +and the host target name are the same that --host was not specified to +the configure script. In the uClibc buildroot, this is not the case. + +--- lzo-1.08/aclocal.m4 2002-07-12 18:31:52.000000000 -0700 ++++ lzo-1.08/aclocal.m4.new 2004-03-10 15:32:42.000000000 -0700 +@@ -205,12 +205,6 @@ + [ + AC_REQUIRE([AC_PROG_CC]) + +-if test "X$cross_compiling" = Xyes; then +- if test "X$build" = "X$host"; then +- AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option]) +- fi +-fi +- + ]) + + +--- lzo-1.08/configure-dist 2004-03-11 02:18:28.000000000 -0600 ++++ lzo-1.08/configure 2004-03-11 02:19:16.000000000 -0600 +@@ -2282,13 +2282,13 @@ + + + +-if test "X$cross_compiling" = Xyes; then +- if test "X$build" = "X$host"; then +- { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5 +-echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;} +- { (exit 1); exit 1; }; } +- fi +-fi ++#if test "X$cross_compiling" = Xyes; then ++# if test "X$build" = "X$host"; then ++# { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5 ++#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;} ++# { (exit 1); exit 1; }; } ++# fi ++#fi + + + diff --git a/openwrt/package/libtool/Config.in b/openwrt/package/libtool/Config.in index 5102863a34..4cc721379b 100644 --- a/openwrt/package/libtool/Config.in +++ b/openwrt/package/libtool/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_LIBTOOL - bool + tristate depends BR2_PACKAGE_LIBLTDL config BR2_PACKAGE_LIBLTDL diff --git a/openwrt/package/lua/Config.in b/openwrt/package/lua/Config.in index 0b2e850bad..54c633088c 100644 --- a/openwrt/package/lua/Config.in +++ b/openwrt/package/lua/Config.in @@ -1,7 +1,7 @@ menu "lua............................... LUA programming language" config BR2_COMPILE_LUA - bool + tristate default y depends BR2_PACKAGE_LIBLUA diff --git a/openwrt/package/lzo/Config.in b/openwrt/package/lzo/Config.in deleted file mode 100644 index 58000d9774..0000000000 --- a/openwrt/package/lzo/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_COMPILE_LZO - bool - default n - depends BR2_PACKAGE_LIBLZO - -config BR2_PACKAGE_LIBLZO - prompt "liblzo............................ Real-time data compression library" - tristate - default m if CONFIG_DEVEL - select BR2_COMPILE_LZO - help - A real-time data compression library - - http://www.oberhumer.com/opensource/lzo/ - diff --git a/openwrt/package/lzo/Makefile b/openwrt/package/lzo/Makefile deleted file mode 100644 index dddc3ce885..0000000000 --- a/openwrt/package/lzo/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# $Id$ - -include $(TOPDIR)/rules.mk - -PKG_NAME:=lzo -PKG_VERSION:=1.08 -PKG_RELEASE:=1 -PKG_MD5SUM:=ab94d3da364c7cbd5b78d76f1875b0f6 - -PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install - -include $(TOPDIR)/package/rules.mk - -$(eval $(call PKG_template,LIBLZO,liblzo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) - -$(PKG_BUILD_DIR)/.configured: - (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(strip $(TARGET_CFLAGS))" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ - ./configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --program-prefix="" \ - --program-suffix="" \ - --prefix=/usr \ - --exec-prefix=/usr \ - --bindir=/usr/bin \ - --datadir=/usr/share \ - --includedir=/usr/include \ - --infodir=/usr/share/info \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --localstatedir=/var \ - --mandir=/usr/share/man \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc \ - $(DISABLE_LARGEFILE) \ - $(DISABLE_NLS) \ - --enable-shared \ - --enable-static \ - ); - touch $@ - -$(PKG_BUILD_DIR)/.built: - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C $(PKG_BUILD_DIR) \ - CFLAGS_O="$(TARGET_CFLAGS)" \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install - touch $@ - -$(IPKG_LIBLZO): - install -d -m0755 $(IDIR_LIBLZO)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblzo.so.* $(IDIR_LIBLZO)/usr/lib - $(RSTRIP) $(IDIR_LIBLZO) - $(IPKG_BUILD) $(IDIR_LIBLZO) $(PACKAGE_DIR) - -$(STAGING_DIR)/usr/lib/liblzo.so: $(PKG_BUILD_DIR)/.built - mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/lzo*.h $(STAGING_DIR)/usr/include/ - mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblzo.{a,so*} $(STAGING_DIR)/usr/lib/ - touch $(STAGING_DIR)/usr/lib/liblzo.so - -install-dev: $(STAGING_DIR)/usr/lib/liblzo.so - -uninstall-dev: - rm -rf \ - $(STAGING_DIR)/usr/include/lzo*.h \ - $(STAGING_DIR)/usr/lib/liblzo.{a,so*} \ - -compile-targets: install-dev -clean-targets: uninstall-dev diff --git a/openwrt/package/lzo/ipkg/liblzo.control b/openwrt/package/lzo/ipkg/liblzo.control deleted file mode 100644 index 3f84ee6f2a..0000000000 --- a/openwrt/package/lzo/ipkg/liblzo.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: liblzo -Priority: optional -Section: libs -Description: a real-time data compression library diff --git a/openwrt/package/lzo/patches/lzo-cross-compile.patch b/openwrt/package/lzo/patches/lzo-cross-compile.patch deleted file mode 100644 index 68a3d0449e..0000000000 --- a/openwrt/package/lzo/patches/lzo-cross-compile.patch +++ /dev/null @@ -1,43 +0,0 @@ -For some reason the lzo autoconf script uses a local macro that does -a test for cross-compiles, and assumes that if the build target name -and the host target name are the same that --host was not specified to -the configure script. In the uClibc buildroot, this is not the case. - ---- lzo-1.08/aclocal.m4 2002-07-12 18:31:52.000000000 -0700 -+++ lzo-1.08/aclocal.m4.new 2004-03-10 15:32:42.000000000 -0700 -@@ -205,12 +205,6 @@ - [ - AC_REQUIRE([AC_PROG_CC]) - --if test "X$cross_compiling" = Xyes; then -- if test "X$build" = "X$host"; then -- AC_MSG_ERROR([you are cross compiling - please use the \`--host=' option]) -- fi --fi -- - ]) - - ---- lzo-1.08/configure-dist 2004-03-11 02:18:28.000000000 -0600 -+++ lzo-1.08/configure 2004-03-11 02:19:16.000000000 -0600 -@@ -2282,13 +2282,13 @@ - - - --if test "X$cross_compiling" = Xyes; then -- if test "X$build" = "X$host"; then -- { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5 --echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;} -- { (exit 1); exit 1; }; } -- fi --fi -+#if test "X$cross_compiling" = Xyes; then -+# if test "X$build" = "X$host"; then -+# { { echo "$as_me:$LINENO: error: you are cross compiling - please use the \`--host=' option" >&5 -+#echo "$as_me: error: you are cross compiling - please use the \`--host=' option" >&2;} -+# { (exit 1); exit 1; }; } -+# fi -+#fi - - - diff --git a/openwrt/package/matrixssl/Config.in b/openwrt/package/matrixssl/Config.in index be0a306fb3..3d4532e52a 100644 --- a/openwrt/package/matrixssl/Config.in +++ b/openwrt/package/matrixssl/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_MATRIXSSL - bool + tristate depends BR2_PACKAGE_LIBMATRIXSSL config BR2_PACKAGE_LIBMATRIXSSL diff --git a/openwrt/package/mini_httpd/Config.in b/openwrt/package/mini_httpd/Config.in index 2273499fb2..7b908815e0 100644 --- a/openwrt/package/mini_httpd/Config.in +++ b/openwrt/package/mini_httpd/Config.in @@ -1,7 +1,7 @@ menu "mini-httpd........................ A small web server" config BR2_COMPILE_MINI_HTTPD - bool + tristate default n depends BR2_PACKAGE_MINI_HTTPD || BR2_PACKAGE_MINI_HTTPD_MATRIXSSL || BR2_PACKAGE_MINI_HTTPD_OPENSSL diff --git a/openwrt/package/miredo/Config.in b/openwrt/package/miredo/Config.in index d07dd81623..eadca0a6e5 100644 --- a/openwrt/package/miredo/Config.in +++ b/openwrt/package/miredo/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_MIREDO - bool + tristate default n depends BR2_PACKAGE_MIREDO || BR2_PACKAGE_MIREDO_SERVER diff --git a/openwrt/package/monit/Config.in b/openwrt/package/monit/Config.in index e07fd628be..d8221ef59c 100644 --- a/openwrt/package/monit/Config.in +++ b/openwrt/package/monit/Config.in @@ -1,7 +1,7 @@ #menu "monit............................. System services monitoring utility" config BR2_COMPILE_MONIT - bool + tristate default n depends BR2_PACKAGE_MONIT || BR2_PACKAGE_MONIT_NOSSL diff --git a/openwrt/package/mysql/Config.in b/openwrt/package/mysql/Config.in index 89f0e26489..bda7142ca9 100644 --- a/openwrt/package/mysql/Config.in +++ b/openwrt/package/mysql/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_MYSQL - bool + tristate default n depends BR2_PACKAGE_LIBMYSQLCLIENT diff --git a/openwrt/package/ncurses/Config.in b/openwrt/package/ncurses/Config.in index 1fbdd7b3f4..552a6ccd28 100644 --- a/openwrt/package/ncurses/Config.in +++ b/openwrt/package/ncurses/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_NCURSES - bool + tristate depends BR2_PACKAGE_LIBNCURSES config BR2_PACKAGE_LIBNCURSES diff --git a/openwrt/package/ndisc/Config.in b/openwrt/package/ndisc/Config.in index a1ae2dc6d1..5513edb0a6 100644 --- a/openwrt/package/ndisc/Config.in +++ b/openwrt/package/ndisc/Config.in @@ -1,7 +1,7 @@ menu "ndisc6............................ IPv6 discovery tools" config BR2_COMPILE_NDISC6 - bool + tristate default n depends BR2_PACKAGE_NDISC6 || BR2_PACKAGE_RDISC6 || BR2_PACKAGE_TCPTRACEROUTE6 diff --git a/openwrt/package/net-snmp/Config.in b/openwrt/package/net-snmp/Config.in index 80c972cca0..e0a6d0387e 100644 --- a/openwrt/package/net-snmp/Config.in +++ b/openwrt/package/net-snmp/Config.in @@ -1,7 +1,7 @@ menu "net-snmp.......................... Open source SNMP (Simple Network Management Protocol) implementation" config BR2_COMPILE_NET_SNMP - bool + tristate default n depends BR2_PACKAGE_LIBNETSNMP || BR2_PACKAGE_SNMPD_STATIC diff --git a/openwrt/package/opencdk/Config.in b/openwrt/package/opencdk/Config.in index f96bd0a90b..589b095196 100644 --- a/openwrt/package/opencdk/Config.in +++ b/openwrt/package/opencdk/Config.in @@ -1,5 +1,5 @@ config BR2_PACKAGE_OPENCDK - bool + tristate default n depends BR2_PACKAGE_LIBOPENCDK diff --git a/openwrt/package/openldap/Config.in b/openwrt/package/openldap/Config.in index 1afab0c833..ec04eb4bcd 100644 --- a/openwrt/package/openldap/Config.in +++ b/openwrt/package/openldap/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_OPENLDAP - bool + tristate default n depends BR2_PACKAGE_LIBOPENLDAP diff --git a/openwrt/package/openssh/Config.in b/openwrt/package/openssh/Config.in index 6b344f8970..387ee51fc6 100644 --- a/openwrt/package/openssh/Config.in +++ b/openwrt/package/openssh/Config.in @@ -1,7 +1,7 @@ menu "openssh........................... A free implementation of the Secure Shell protocol" config BR2_COMPILE_OPENSSH - bool + tristate default n depends BR2_PACKAGE_OPENSSH_CLIENT || BR2_PACKAGE_OPENSSH_SERVER || BR2_PACKAGE_OPENSSH_SFTP_CLIENT || BR2_PACKAGE_OPENSSH_SFTP_SERVER diff --git a/openwrt/package/openssl/Config.in b/openwrt/package/openssl/Config.in index c81c2461c9..e852c9f0f4 100644 --- a/openwrt/package/openssl/Config.in +++ b/openwrt/package/openssl/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_OPENSSL - bool + tristate default n depends BR2_PACKAGE_LIBOPENSSL diff --git a/openwrt/package/osiris/Config.in b/openwrt/package/osiris/Config.in index 9a3d0a470d..69afb90778 100644 --- a/openwrt/package/osiris/Config.in +++ b/openwrt/package/osiris/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_OSIRIS - bool + tristate default n depends BR2_PACKAGE_OSIRISD diff --git a/openwrt/package/pcre/Config.in b/openwrt/package/pcre/Config.in index dcbcfae588..7bb2de6913 100644 --- a/openwrt/package/pcre/Config.in +++ b/openwrt/package/pcre/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_PCRE - bool + tristate default n depends BR2_PACKAGE_LIBPCRE diff --git a/openwrt/package/php4/Config.in b/openwrt/package/php4/Config.in index 434b1f341c..087a62c39b 100644 --- a/openwrt/package/php4/Config.in +++ b/openwrt/package/php4/Config.in @@ -1,7 +1,7 @@ menu "php4.............................. PHP4 Hypertext preprocessor" config BR2_COMPILE_PHP4 - bool + tristate default y depends BR2_PACKAGE_PHP4_CLI || BR2_PACKAGE_PHP4_CGI || BR2_PACKAGE_PHP4_FASTCGI diff --git a/openwrt/package/php5/Config.in b/openwrt/package/php5/Config.in index cae12e4d4c..862df99538 100644 --- a/openwrt/package/php5/Config.in +++ b/openwrt/package/php5/Config.in @@ -1,7 +1,7 @@ menu "php5.............................. PHP5 Hypertext preprocessor" config BR2_COMPILE_PHP5 - bool + tristate default n depends BR2_PACKAGE_PHP5_CLI || BR2_PACKAGE_PHP5_CGI || BR2_PACKAGE_PHP5_FASTCGI diff --git a/openwrt/package/popt/Config.in b/openwrt/package/popt/Config.in index b06933ae7d..a24882b6c3 100644 --- a/openwrt/package/popt/Config.in +++ b/openwrt/package/popt/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_POPT - bool + tristate depends BR2_PACKAGE_LIBPOPT config BR2_PACKAGE_LIBPOPT diff --git a/openwrt/package/postgresql/Config.in b/openwrt/package/postgresql/Config.in index dc9555f905..776dccc4e8 100644 --- a/openwrt/package/postgresql/Config.in +++ b/openwrt/package/postgresql/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_POSTGRESQL - bool + tristate default n depends BR2_PACKAGE_LIBPQ diff --git a/openwrt/package/readline/Config.in b/openwrt/package/readline/Config.in index deca0d6448..9c5519b4d9 100644 --- a/openwrt/package/readline/Config.in +++ b/openwrt/package/readline/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_READLINE - bool + tristate default n depends BR2_PACKAGE_LIBREADLINE diff --git a/openwrt/package/rp-pppoe/Config.in b/openwrt/package/rp-pppoe/Config.in index 2b4d9f21bd..a88b09b0cf 100644 --- a/openwrt/package/rp-pppoe/Config.in +++ b/openwrt/package/rp-pppoe/Config.in @@ -1,7 +1,7 @@ #menu "rp-pppoe.......................... Roaring Penguin PPPoE (PPP over Ethernet) implementation" config BR2_COMPILE_RP_PPPOE - bool + tristate default n depends BR2_PACKAGE_PPPOE_CLIENT || BR2_PACKAGE_PPPOE_RELAY || BR2_PACKAGE_PPPOE_SERVER || BR2_PACKAGE_PPPOE_SNIFF diff --git a/openwrt/package/rrdtool1/Config.in b/openwrt/package/rrdtool1/Config.in index de01aca2b0..e79df5b4aa 100644 --- a/openwrt/package/rrdtool1/Config.in +++ b/openwrt/package/rrdtool1/Config.in @@ -1,7 +1,7 @@ config BR2_COMPILE_RRDTOOL1 prompt "rrdtool1.......................... Round Robin Database (RRD) tools (v1.0.x)" - bool - default y + tristate + default m if CONFIG_DEVEL config BR2_PACKAGE_LIBRRD1 prompt "librrd1......................... Round Robin Database (RRD) management library (v1.0.x)" @@ -53,6 +53,7 @@ config BR2_PACKAGE_RRDCGI1 config BR2_PACKAGE_RRDTOOL1 prompt "rrdtool1........................ Round Robin Database (RRD) management tools (v1.0.x)" tristate + default m if CONFIG_DEVEL depends BR2_COMPILE_RRDTOOL1 select BR2_PACKAGE_LIBRRD1 help diff --git a/openwrt/package/rrs/Config.in b/openwrt/package/rrs/Config.in index 30651d1f23..28a3f0bde2 100644 --- a/openwrt/package/rrs/Config.in +++ b/openwrt/package/rrs/Config.in @@ -1,7 +1,7 @@ #menu "rrs............................... A reverse (connecting) remote shell" config BR2_COMPILE_RRS - bool + tristate default n depends BR2_PACKAGE_RRS || BR2_PACKAGE_RRS_NOSSL diff --git a/openwrt/package/sablevm-classpath/Config.in b/openwrt/package/sablevm-classpath/Config.in index 9b57f0d78a..4aef84db33 100644 --- a/openwrt/package/sablevm-classpath/Config.in +++ b/openwrt/package/sablevm-classpath/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_SABLEVM_CLASSPATH - bool + tristate default n depends BR2_PACKAGE_LIBSABLEVM_CLASSPATH diff --git a/openwrt/package/samba/Config.in b/openwrt/package/samba/Config.in index 4382216203..bf018509cf 100644 --- a/openwrt/package/samba/Config.in +++ b/openwrt/package/samba/Config.in @@ -1,7 +1,7 @@ #menu "samba............................. A NetBIOS/SMB implementation" config BR2_COMPILE_SAMBA - bool + tristate default n depends BR2_PACKAGE_SAMBA || BR2_PACKAGE_SAMBA_CLIENT || BR2_PACKAGE_SMBFS diff --git a/openwrt/package/shfs/Config.in b/openwrt/package/shfs/Config.in index 2ab0610030..b7c7cfa859 100644 --- a/openwrt/package/shfs/Config.in +++ b/openwrt/package/shfs/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_SHFS - bool + tristate default n depends BR2_PACKAGE_SHFS_UTILS diff --git a/openwrt/package/speex/Config.in b/openwrt/package/speex/Config.in index 800de56a70..2a51044650 100644 --- a/openwrt/package/speex/Config.in +++ b/openwrt/package/speex/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_SPEEX - bool + tristate default n depends BR2_PACKAGE_LIBSPEEX diff --git a/openwrt/package/sqlite/Config.in b/openwrt/package/sqlite/Config.in index 626c5c3dcb..600a05e154 100644 --- a/openwrt/package/sqlite/Config.in +++ b/openwrt/package/sqlite/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_SQLITE - bool + tristate default n depends BR2_PACKAGE_LIBSQLITE diff --git a/openwrt/package/sqlite2/Config.in b/openwrt/package/sqlite2/Config.in index edab7b1c05..99ba351c8a 100644 --- a/openwrt/package/sqlite2/Config.in +++ b/openwrt/package/sqlite2/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_SQLITE2 - bool + tristate default n depends BR2_PACKAGE_LIBSQLITE2 diff --git a/openwrt/package/usbutils/Config.in b/openwrt/package/usbutils/Config.in index b3e88d59e7..c9f525be5b 100644 --- a/openwrt/package/usbutils/Config.in +++ b/openwrt/package/usbutils/Config.in @@ -1,5 +1,5 @@ config BR2_COMPILE_USBUTILS - bool + tristate depends BR2_PACKAGE_LSUSB config BR2_PACKAGE_LSUSB diff --git a/openwrt/package/util-linux/Config.in b/openwrt/package/util-linux/Config.in index 87d41ea499..9f1c3a7f97 100644 --- a/openwrt/package/util-linux/Config.in +++ b/openwrt/package/util-linux/Config.in @@ -1,7 +1,7 @@ menu "util-linux" config BR2_COMPILE_UTIL_LINUX - bool + tristate default n depends BR2_PACKAGE_FDISK || BR2_PACKAGE_SWAP_UTILS