summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-25 21:13:21 +0100
commit02e9bb0970ba681f228dc642b1e5026cc97047c7 (patch)
tree3521f7ffac2ffbb868e88fbaff85018b5fee54a5
parent23153b00979f7e0e6b1dee395db7215185ba501b (diff)
simplify buildsystem
- remove ADK_IPV6, ADK_CXX and ADK_X11 - enable ipv6 by default in uclibc - enable build of c++ compiler by default
-rw-r--r--Config.in1
-rw-r--r--mk/build.mk2
-rw-r--r--mk/package.mk5
-rw-r--r--package/6tunnel/Config.in1
-rw-r--r--package/Config.in3
-rw-r--r--package/Depends.mk4
-rw-r--r--package/aiccu/Config.in1
-rw-r--r--package/bitlbee/Makefile13
-rw-r--r--package/bogofilter/Config.in1
-rw-r--r--package/cbtt/Config.in2
-rw-r--r--package/ctorrent/Config.in1
-rw-r--r--package/cxxtools/Config.in1
-rw-r--r--package/dansguardian/Config.in3
-rw-r--r--package/dhcp/Makefile14
-rw-r--r--package/dnsmasq/Makefile4
-rw-r--r--package/freeradius-server/Config.in1
-rw-r--r--package/gmediaserver/Config.in4
-rw-r--r--package/gpsd/Config.in3
-rw-r--r--package/heimdal/Makefile11
-rw-r--r--package/id3lib/Config.in2
-rw-r--r--package/iperf/Config.in4
-rw-r--r--package/iptables/Makefile4
-rw-r--r--package/kismet/Config.in5
-rw-r--r--package/libsigc++/Config.in3
-rw-r--r--package/libstdcxx/Config.in1
-rw-r--r--package/libtirpc/Makefile9
-rw-r--r--package/libtorrent/Config.in1
-rw-r--r--package/miredo/Config.in6
-rw-r--r--package/mrd6/Config.in1
-rw-r--r--package/mysql/Config.in3
-rw-r--r--package/ndisc/Config.in4
-rw-r--r--package/nfs-utils/Config.in2
-rw-r--r--package/nfs-utils/Makefile20
-rw-r--r--package/nmap/Config.in3
-rw-r--r--package/openobex/Config.in2
-rw-r--r--package/oprofile/Config.in1
-rw-r--r--package/php/Config.in1
-rw-r--r--package/ppp/Makefile7
-rw-r--r--package/quagga/Config.in3
-rw-r--r--package/quagga/Makefile4
-rw-r--r--package/radvd/Config.in2
-rw-r--r--package/rpm/Config.in1
-rw-r--r--package/rrs/Config.in4
-rw-r--r--package/rtorrent/Config.in1
-rw-r--r--package/samba/Makefile9
-rw-r--r--package/speex/Config.in3
-rw-r--r--package/squid/Config.in3
-rw-r--r--package/tntnet/Config.in1
-rw-r--r--package/uclibc++/Config.in1
-rw-r--r--package/ulogd/Config.in1
-rw-r--r--package/ustl/Config.in2
-rw-r--r--target/Config.in46
-rw-r--r--target/alix1c/uclibc.config2
-rw-r--r--target/alix2d/uclibc.config2
-rw-r--r--target/foxboard/uclibc.config2
-rw-r--r--target/g1/uclibc.config2
-rw-r--r--target/lemote/uclibc.config2
-rw-r--r--target/linux/config/Config.in.network2
-rw-r--r--target/native/uclibc.config2
-rw-r--r--target/qemu-arm/uclibc.config2
-rw-r--r--target/qemu-cris/uclibc.config2
-rw-r--r--target/qemu-mips/uclibc.config2
-rw-r--r--target/qemu-mips64/uclibc.config2
-rw-r--r--target/qemu-mips64el/uclibc.config2
-rw-r--r--target/qemu-mipsel/uclibc.config2
-rw-r--r--target/qemu-x86/uclibc.config2
-rw-r--r--target/qemu-x86_64/uclibc.config2
-rw-r--r--target/rb411/uclibc.config2
-rw-r--r--target/rb433/uclibc.config2
-rw-r--r--target/rb532/uclibc.config2
-rw-r--r--target/rescue-x86/uclibc.config2
-rw-r--r--target/rescue-x86_64/uclibc.config2
-rw-r--r--target/shuttle/uclibc.config2
-rw-r--r--target/tomtom/uclibc.config2
-rw-r--r--target/wag54g/uclibc.config2
-rw-r--r--target/wrap/uclibc.config2
-rw-r--r--target/zaurus/uclibc.config2
-rw-r--r--toolchain/binutils/Makefile7
-rw-r--r--toolchain/gcc/Makefile16
-rw-r--r--toolchain/uClibc/Makefile13
80 files changed, 71 insertions, 250 deletions
diff --git a/Config.in b/Config.in
index 4fd011c48..c2ffcd903 100644
--- a/Config.in
+++ b/Config.in
@@ -20,7 +20,6 @@ menu "ADK settings"
config ADK_DEVELSYSTEM
bool "Compile a ADK development system"
default n
- select ADK_CXX
select ADK_PACKAGE_AUTOCONF
select ADK_PACKAGE_AUTOMAKE
select ADK_PACKAGE_BASH
diff --git a/mk/build.mk b/mk/build.mk
index 66f76f748..aa97026cb 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -23,7 +23,7 @@ noconfig_targets:= menuconfig \
MAKECLEAN_SYMBOLS= ADK_TARGET_LIB_UCLIBC \
ADK_TARGET_LIB_GLIBC \
ADK_TARGET_LIB_ECLIBC \
- ADK_IPV6 ADK_CXX ADK_DEBUG
+ ADK_DEBUG
POSTCONFIG= -@\
if [ -f .config.old ];then \
diff --git a/mk/package.mk b/mk/package.mk
index 4249cedae..df2c027b2 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -33,11 +33,6 @@ CONFIGURE_ARGS+= --enable-debug
else
CONFIGURE_ARGS+= --disable-debug
endif
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_ARGS+= --enable-ipv6
-else
-CONFIGURE_ARGS+= --disable-ipv6
-endif
ifeq ($(ADK_NATIVE),y)
CONFIGURE_ENV+= CONFIG_SHELL='$(strip ${SHELL})' \
diff --git a/package/6tunnel/Config.in b/package/6tunnel/Config.in
index 53b69c2d5..c3cdb3cbe 100644
--- a/package/6tunnel/Config.in
+++ b/package/6tunnel/Config.in
@@ -1,6 +1,5 @@
config ADK_PACKAGE_6TUNNEL
prompt "6tunnel........................... IPv4 / IPv6 tunnel proxy"
- depends on ADK_IPV6
tristate
default n
select ADK_KPACKAGE_KMOD_IPV6
diff --git a/package/Config.in b/package/Config.in
index 3822ef243..e879e8288 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -214,7 +214,6 @@ source "package/wput/Config.in"
endmenu
menu "IPv6"
-depends on ADK_IPV6
source "package/6tunnel/Config.in"
source "package/aiccu/Config.in"
source "package/miredo/Config.in"
@@ -485,7 +484,6 @@ source "package/zlib/Config.in"
endmenu
menu "X"
-depends on ADK_X11
source "package/xorg-server/Config.in"
source "package/xf86-video-geode/Config.in"
@@ -511,6 +509,7 @@ source "package/pixman/Config.in"
source "package/xkbcomp/Config.in"
source "package/xkeyboard-config/Config.in"
endmenu
+
endmenu
endmenu
diff --git a/package/Depends.mk b/package/Depends.mk
index 627c8a46c..277ab22da 100644
--- a/package/Depends.mk
+++ b/package/Depends.mk
@@ -103,9 +103,7 @@ libp11-compile: openssl-compile libtool-compile
libpng-compile: zlib-compile
libshout-compile: libvorbis-compile
libusb-compat-compile: libusb-compile
-ifeq (${ADK_IPV6},y)
libtirpc-compile: libgssglue-compile
-endif
libtorrent-compile: openssl-compile libsigc++-compile
libvorbis-compile: libogg-compile
libvirt-compile: libxml2-compile gnutls-compile python-compile
@@ -155,9 +153,7 @@ endif
ifeq (${ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL},y)
nfs-utils-compile: libnfsidmap-compile heimdal-compile libevent-compile librpcsecgss-compile
endif
-ifeq (${ADK_IPV6},y)
nfs-utils-compile: libtirpc-compile
-endif
ifeq (${ADK_COMPILE_NMAP_WITH_UCLIBCXX},y)
nmap-compile: uclibc++-compile
endif
diff --git a/package/aiccu/Config.in b/package/aiccu/Config.in
index 202d3c1c6..1dbda660b 100644
--- a/package/aiccu/Config.in
+++ b/package/aiccu/Config.in
@@ -1,6 +1,5 @@
config ADK_PACKAGE_AICCU
prompt "aiccu............................. SixXS Automatic IPv6 Connectivity Client Utility"
- depends on ADK_IPV6
tristate
default n
select ADK_KPACKAGE_KMOD_IPV6
diff --git a/package/bitlbee/Makefile b/package/bitlbee/Makefile
index a86cbb921..e92957f05 100644
--- a/package/bitlbee/Makefile
+++ b/package/bitlbee/Makefile
@@ -19,11 +19,6 @@ PKG_SITES:= http://get.bitlbee.org/src/ \
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BITLBEE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-ifeq ($(ADK_IPV6),y)
-IPV6+= --ipv6=1
-else
-IPV6+= --ipv6=0
-endif
do-configure:
(cd $(WRKBUILD); \
@@ -34,6 +29,7 @@ do-configure:
STAGING_DIR="$(STAGING_DIR)" \
STRIP="$(STRIP)" \
./configure \
+ --target=${REAL_GNU_TARGET_NAME} \
--prefix=/usr/ \
--bindir=/usr/sbin/ \
--etcdir=/etc/bitlbee/ \
@@ -43,13 +39,12 @@ do-configure:
--cpu="${ARCH}" \
--debug=0 \
--strip=1 \
+ --ipv6=1 \
--ssl=openssl \
- --target=${REAL_GNU_TARGET_NAME} \
- ${IPV6} \
);
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
INSTALL_TARGET= install-etc install-bin
post-configure:
diff --git a/package/bogofilter/Config.in b/package/bogofilter/Config.in
index 922f17376..982cb9828 100644
--- a/package/bogofilter/Config.in
+++ b/package/bogofilter/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_BOGOFILTER
prompt "bogofilter........................ Mail (spam) filter utility"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBDB
select ADK_PACKAGE_LIBICONV
help
diff --git a/package/cbtt/Config.in b/package/cbtt/Config.in
index 25b51c6da..789f613dd 100644
--- a/package/cbtt/Config.in
+++ b/package/cbtt/Config.in
@@ -3,7 +3,6 @@ config ADK_PACKAGE_CBTT
tristate
default n
select ADK_PACKAGE_ZLIB
- depends on ADK_CXX
help
A C BitTorrent Tracker
@@ -13,6 +12,5 @@ config ADK_PACKAGE_CBTT_MYSQL
default n
select ADK_PACKAGE_ZLIB
select ADK_PACKAGE_LIBMYSQLCLIENT
- depends on ADK_CXX
help
A C BitTorrent Tracker
diff --git a/package/ctorrent/Config.in b/package/ctorrent/Config.in
index fa6f355d5..8a6562061 100644
--- a/package/ctorrent/Config.in
+++ b/package/ctorrent/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_CTORRENT
prompt "ctorrent.......................... console-based BitTorrent client"
tristate
default n
- depends on ADK_CXX
help
CTorrent is a BitTorrent client written in the C programming language, known to
be a very robust and mature programming language, which produces fast and
diff --git a/package/cxxtools/Config.in b/package/cxxtools/Config.in
index 566d2e6cb..d7dcdb87d 100644
--- a/package/cxxtools/Config.in
+++ b/package/cxxtools/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_CXXTOOLS
prompt "cxxtools.......................... cxxtools"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBICONV
help
http://www.tntnet.org
diff --git a/package/dansguardian/Config.in b/package/dansguardian/Config.in
index 9107e2676..2bffe7da6 100644
--- a/package/dansguardian/Config.in
+++ b/package/dansguardian/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_DANSGUARDIAN
prompt "dansguardian...................... web content filter proxy"
tristate
- depends on ADK_CXX
select ADK_PACKAGE_LIBPCRE
select ADK_PACKAGE_ZLIB
default n
@@ -11,7 +10,7 @@ config ADK_PACKAGE_DANSGUARDIAN
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_DANSGUARDIAN
-default ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_DANSGUARDIAN_WITH_STDCXX
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index 38cce03ce..f7b590cb0 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -12,24 +12,18 @@ PKG_SECTION:= net
PKG_URL:= https://www.isc.org/software/dhcp
PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
-PKG_DESCR_1:= ISC DHCP relay server
+PKG_DESCR_RELAY:= ISC DHCP relay server
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
-
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_ARGS+= --enable-dhcpv6
-else
-CONFIGURE_ARGS+= --disable-dhcpv6
-endif
+$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_RELAY},${PKG_SECTION}))
TCFLAGS+= -D_GNU_SOURCE
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 711a575fc..21c4ba847 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -17,10 +17,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DNSMASQ,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE:= auto
+INSTALL_STYLE:= manual
MAKE_FLAGS+= BINDIR=/usr/sbin MANDIR=/usr/man COPTS="${TCFLAGS}"
-ifneq ($(ADK_IPV6),y)
-MAKE_FLAGS+= COPTS="${TCFLAGS} -DNO_IPV6"
-endif
do-install:
${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
diff --git a/package/freeradius-server/Config.in b/package/freeradius-server/Config.in
index d7dc0cb03..fe119c0a3 100644
--- a/package/freeradius-server/Config.in
+++ b/package/freeradius-server/Config.in
@@ -80,7 +80,6 @@ config ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL
prompt "freeradius-mod-sql-mysql.... MySQL module"
tristate
default n
- depends on ADK_CXX
depends on ADK_PACKAGE_FREERADIUS_MOD_SQL
select ADK_PACKAGE_LIBMYSQLCLIENT
diff --git a/package/gmediaserver/Config.in b/package/gmediaserver/Config.in
index fc256a0cd..ade3b4a1c 100644
--- a/package/gmediaserver/Config.in
+++ b/package/gmediaserver/Config.in
@@ -2,12 +2,8 @@ config ADK_PACKAGE_GMEDIASERVER
prompt "gmediaserver...................... An UPnP music media server"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_ID3LIB
select ADK_PACKAGE_LIBUPNP
help
An UPnP music media server.
-
http://www.nongnu.org/gmediaserver/
-
- Depends: id3lib, libupnp
diff --git a/package/gpsd/Config.in b/package/gpsd/Config.in
index f0c274449..9687145a5 100644
--- a/package/gpsd/Config.in
+++ b/package/gpsd/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_GPSD
prompt "gpsd.............................. An interface daemon for GPS receivers"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBPTHREAD
help
gpsd is a monitor daemon that watches a TCP/IP port (2947 by default),
@@ -28,7 +27,7 @@ config ADK_PACKAGE_GPSD_CLIENTS
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_GPSD
-default ADK_COMPILE_GPSD_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_GPSD_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_GPSD_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_GPSD_WITH_STDCXX
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile
index 5be7b5776..4af746246 100644
--- a/package/heimdal/Makefile
+++ b/package/heimdal/Makefile
@@ -38,14 +38,9 @@ CONFIGURE_OPTS:= --with-hdbdir=/etc/heimdal \
--disable-ndbm-db \
--libdir=/usr/lib/heimdal \
--libexecdir=/usr/sbin \
+ --with-ipv6 \
--sysconfdir=/etc/heimdal
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_OPTS+= --with-ipv6
-else
-CONFIGURE_OPTS+= --without-ipv6
-endif
-
ifeq ($(ADK_COMPILE_HEIMDAL_WITH_DB_BDB),y)
CONFIGURE_ARGS+= --enable-berkeley-db
else
@@ -66,8 +61,8 @@ else
CONFIGURE_OPTS+= --disable-pk-init
endif
-TCFLAGS+= -I${STAGING_DIR}/usr/include/et
-TCFLAGS+= -pthread
+TCFLAGS+= -I${STAGING_DIR}/usr/include/et -pthread
+
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= ${CONFIGURE_OPTS}
CONFIGURE_ENV+= ac_cv_func_getaddrinfo_numserv=yes
diff --git a/package/id3lib/Config.in b/package/id3lib/Config.in
index ab45259f1..dde87347c 100644
--- a/package/id3lib/Config.in
+++ b/package/id3lib/Config.in
@@ -2,12 +2,10 @@ config ADK_PACKAGE_ID3LIB
prompt "id3lib............................ An ID3v1/ID3v2 tagging library"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_ZLIB
select ADK_PACKAGE_LIBICONV
help
An ID3v1/ID3v2 tagging library.
-
http://www.id3lib.org/
choice
diff --git a/package/iperf/Config.in b/package/iperf/Config.in
index bdfee6913..3f5c8d323 100644
--- a/package/iperf/Config.in
+++ b/package/iperf/Config.in
@@ -1,20 +1,18 @@
config ADK_PACKAGE_IPERF
prompt "iperf............................. Internet Protocol bandwidth measuring tool"
tristate
- depends on ADK_CXX
select ADK_PACKAGE_LIBPTHREAD
default n
help
Iperf is a modern alternative for measuring TCP and UDP bandwidth
performance, allowing the tuning of various parameters and
characteristics.
-
http://dast.nlanr.net/Projects/Iperf/
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_IPERF
-default ADK_COMPILE_IPERF_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_IPERF_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_IPERF_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_IPERF_WITH_STDCXX
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 412730cd6..b8e1df9c2 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -25,9 +25,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,IPTABLES_UTILS,iptables-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-ifeq ($(ADK_IPV6),y)
$(eval $(call PKG_template,IP6TABLES,ip6tables,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-endif
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --enable-devel
@@ -35,9 +33,7 @@ BUILD_STYLE:= auto
INSTALL_STYLE:= auto
SUB_INSTALL-${ADK_PACKAGE_IPTABLES_UTILS}+= iptables-utils-install
-ifeq ($(ADK_IPV6),y)
SUB_INSTALL-${ADK_PACKAGE_IP6TABLES}+= ip6tables-install
-endif
post-install: ${SUB_INSTALL-m} ${SUB_INSTALL-y}
${INSTALL_DIR} ${IDIR_IPTABLES}/usr/lib
diff --git a/package/kismet/Config.in b/package/kismet/Config.in
index 2583f88d2..1c29a85d7 100644
--- a/package/kismet/Config.in
+++ b/package/kismet/Config.in
@@ -7,7 +7,6 @@ config ADK_PACKAGE_KISMET_CLIENT
prompt "kismet-client..................... The Kismet client"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_KISMET
select ADK_PACKAGE_LIBNCURSES
help
@@ -22,7 +21,6 @@ config ADK_PACKAGE_KISMET_DRONE
prompt "kismet-drone...................... The Kismet drone"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_KISMET
select ADK_PACKAGE_LIBPCAP
help
@@ -37,7 +35,6 @@ config ADK_PACKAGE_KISMET_SERVER
prompt "kismet-server..................... The Kismet server"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_KISMET
select ADK_PACKAGE_LIBPCAP
help
@@ -51,7 +48,7 @@ config ADK_PACKAGE_KISMET_SERVER
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_KISMET_CLIENT || ADK_PACKAGE_KISMET_DRONE || ADK_PACKAGE_KISMET_SERVER
-default ADK_COMPILE_KISMET_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_KISMET_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_KISMET_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_KISMET_WITH_STDCXX
diff --git a/package/libsigc++/Config.in b/package/libsigc++/Config.in
index 3eb28a28e..7d1cc5e22 100644
--- a/package/libsigc++/Config.in
+++ b/package/libsigc++/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_LIBSIGCXX
prompt "libsigc++......................... Callback framework for C++"
tristate
- depends on ADK_CXX
default n
help
Callback framework for C++
@@ -9,7 +8,7 @@ config ADK_PACKAGE_LIBSIGCXX
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_LIBSIGCXX
-default ADK_COMPILE_LIBSIGCXX_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_LIBSIGCXX_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_LIBSIGCXX_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_LIBSIGCXX_WITH_STDCXX
diff --git a/package/libstdcxx/Config.in b/package/libstdcxx/Config.in
index 732d07535..061675c5f 100644
--- a/package/libstdcxx/Config.in
+++ b/package/libstdcxx/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_LIBSTDCXX
prompt "libstdc++......................... C++ support library"
tristate
- depends on ADK_CXX
default n
help
C++ support library
diff --git a/package/libtirpc/Makefile b/package/libtirpc/Makefile
index 08d0d765e..08031a3c8 100644
--- a/package/libtirpc/Makefile
+++ b/package/libtirpc/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= b3b513a8825aa227deac63ea38c64f41
PKG_DESCR:= a transport independent RPC library
PKG_SECTION:= libs
+PKG_DEPENDS:= libgssglue
PKG_URL:= http://sourceforge.net/projects/libtirpc
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
@@ -16,20 +17,16 @@ DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
include ${TOPDIR}/mk/package.mk
-ifeq (${ADK_IPV6},y)
-PKG_DEPENDS+= libgssglue
-endif
-
$(eval $(call PKG_template,LIBTIRPC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= autotool gnu
+
ifneq (${ADK_COMPILE_NFS_UTILS_WITH_KERBEROS},y)
-ifneq (${ADK_IPV6},y)
CONFIGURE_ARGS+= --disable-gss
else
CONFIGURE_ARGS+= --enable-gss
endif
-endif
+
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in
index c77cd4425..ebe757f74 100644
--- a/package/libtorrent/Config.in
+++ b/package/libtorrent/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_LIBTORRENT
prompt "libtorrent........................ bittorrent library"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBOPENSSL
select ADK_PACKAGE_LIBSIGCXX
help
diff --git a/package/miredo/Config.in b/package/miredo/Config.in
index 8fb215c06..7db74de53 100644
--- a/package/miredo/Config.in
+++ b/package/miredo/Config.in
@@ -1,16 +1,12 @@
config ADK_COMPILE_MIREDO
tristate
default n
- depends on ADK_CXX
- depends on ADK_IPV6
depends on ADK_PACKAGE_MIREDO || ADK_PACKAGE_MIREDO_SERVER
config ADK_PACKAGE_MIREDO
prompt "miredo............................ Teredo (IPv6 tunneling over UDP through NAT) client and relay daemon"
tristate
default n
- depends on ADK_IPV6
- depends on ADK_CXX
select ADK_COMPILE_MIREDO
select ADK_KPACKAGE_KMOD_IPV6
select ADK_KPACKAGE_KMOD_TUN
@@ -23,8 +19,6 @@ config ADK_PACKAGE_MIREDO_SERVER
prompt "miredo-server..................... Teredo (IPv6 tunneling over UDP through NAT) server daemon"
tristate
default n
- depends on ADK_IPV6
- depends on ADK_CXX
select ADK_COMPILE_MIREDO
select ADK_KPACKAGE_KMOD_IPV6
select ADK_KPACKAGE_KMOD_TUN
diff --git a/package/mrd6/Config.in b/package/mrd6/Config.in
index 5a5a948d7..6bfc097bd 100644
--- a/package/mrd6/Config.in
+++ b/package/mrd6/Config.in
@@ -1,6 +1,5 @@
config ADK_PACKAGE_MRD6
prompt "mrd6.............................. IPv6 multicast routing daemon"
- depends on ADK_IPV6
tristate
default n
help
diff --git a/package/mysql/Config.in b/package/mysql/Config.in
index 411823eb7..d70221a1c 100644
--- a/package/mysql/Config.in
+++ b/package/mysql/Config.in
@@ -2,7 +2,6 @@ config ADK_COMPILE_MYSQL
tristate
default n
depends on ADK_PACKAGE_LIBMYSQLCLIENT
- depends on ADK_CXX
select ADK_PACKAGE_LIBNCURSES
select ADK_PACKAGE_ZLIB
select ADK_PACKAGE_LIBREADLINE
@@ -11,10 +10,8 @@ config ADK_PACKAGE_LIBMYSQLCLIENT
prompt "libmysqlclient.................... MySQL client library"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_MYSQL
help
MySQL client library.
-
http://dev.mysql.com/
diff --git a/package/ndisc/Config.in b/package/ndisc/Config.in
index c5723d37b..0fcfe06e2 100644
--- a/package/ndisc/Config.in
+++ b/package/ndisc/Config.in
@@ -3,14 +3,12 @@
config ADK_COMPILE_NDISC6
tristate
default n
- depends on ADK_IPV6
depends on ADK_PACKAGE_NDISC6 || ADK_PACKAGE_RDISC6 || ADK_PACKAGE_TCPTRACEROUTE6
config ADK_PACKAGE_NDISC6
prompt "ndisc6............................ An ICMPv6 neighbour discovery tool"
tristate
default n
- depends on ADK_IPV6
select ADK_COMPILE_NDISC6
help
@@ -22,7 +20,6 @@ config ADK_PACKAGE_RDISC6
prompt "rdisc6............................ An ICMPv6 router discovery tool"
tristate
default n
- depends on ADK_IPV6
select ADK_COMPILE_NDISC6
help
@@ -34,7 +31,6 @@ config ADK_PACKAGE_TCPTRACEROUTE6
prompt "tcptraceroute6.................... A TCP/IPv6-based traceroute implementation"
tristate
default n
- depends on ADK_IPV6
select ADK_COMPILE_NDISC6
help
diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index 0b400090a..7c046ad4b 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -5,7 +5,7 @@ config ADK_PACKAGE_NFS_UTILS
select ADK_PACKAGE_PORTMAP
select ADK_KPACKAGE_KMOD_NFSD
select ADK_KPACKAGE_KMOD_NFS_FS
- select ADK_PACKAGE_LIBTIRPC if ADK_IPV6
+ select ADK_PACKAGE_LIBTIRPC
depends on !ADK_TARGET_ROOTFS_NFSROOT
help
NFS server utilities (namely, exportfs), and an NFS server.
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index 425810fc5..0b4090cca 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 779cf81044e92cb51ad590960e7b3671
PKG_DESCR:= Utilities for NFS kernel server implementation
PKG_SECTION:= net
-PKG_DEPENDS:= portmap
+PKG_DEPENDS:= portmap libtirpc
PKG_URL:= http://sourceforge.net/projects/nfs
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/}
@@ -25,13 +25,9 @@ ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL),y)
PKG_DEPENDS+= heimdal-libs libevent libnfsidmap librpcsecgss libcom_err
endif
-ifeq (${ADK_IPV6},y)
-PKG_DEPENDS+= libtirpc
-endif
-
$(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= autotool gnu
+TCPPFLAGS+= -I${LINUX_DIR}/include
ifeq ($(ADK_COMPILE_NFS_UTILS_WITH_KRB5),y)
CONFIGURE_ARGS+= --enable-nfsv4 \
@@ -55,15 +51,13 @@ endif
CONFIGURE_ENV+= knfsd_cv_bsd_signals=no \
ac_cv_lib_nsl_gethostbyname=no
CONFIGURE_ARGS+= --without-tcp-wrappers \
+ --enable-tirpc \
+ --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc \
--disable-uuid
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
-TCPPFLAGS+= -I${LINUX_DIR}/include
-ifeq (${ADK_IPV6},y)
-CONFIGURE_ARGS+= --enable-tirpc \
- --with-tirpcinclude=${STAGING_DIR}/usr/include/tirpc
-endif
+CONFIGURE_STYLE:= autotool gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_NFS_UTILS}/usr/sbin
diff --git a/package/nmap/Config.in b/package/nmap/Config.in
index f97017eeb..56a561ec7 100644
--- a/package/nmap/Config.in
+++ b/package/nmap/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_NMAP
prompt "nmap.............................. Network exploration and/or security auditing utility"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBDNET
select ADK_PACKAGE_LIBPCAP
select ADK_PACKAGE_LIBPCRE
@@ -14,7 +13,7 @@ config ADK_PACKAGE_NMAP
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_NMAP
-default ADK_COMPILE_NMAP_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_NMAP_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_NMAP_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_NMAP_WITH_STDCXX
diff --git a/package/openobex/Config.in b/package/openobex/Config.in
index 504459b74..233c61b24 100644
--- a/package/openobex/Config.in
+++ b/package/openobex/Config.in
@@ -2,8 +2,6 @@ config ADK_PACKAGE_OPENOBEX
prompt "openobex.......................... openobex library"
tristate
default n
- # openobex does not work without ipv6
- select ADK_IPV6
select ADK_PACKAGE_BLUEZ
help
Open source implementation of the Object Exchange (OBEX) protocol.
diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index c2c181b66..a00c529aa 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_OPROFILE
prompt "oprofile.......................... a system-wide profiler"
tristate
select ADK_PACKAGE_LIBPOPT
- depends on ADK_CXX
default n
help
http://oprofile.sourceforge.net
diff --git a/package/php/Config.in b/package/php/Config.in
index ec9b30a12..badb9f685 100644
--- a/package/php/Config.in
+++ b/package/php/Config.in
@@ -62,7 +62,6 @@ config ADK_PACKAGE_PHP_MOD_MYSQL
prompt "php-mod-mysql.................... MySQL module"
tristate
default n
- depends on ADK_CXX
depends on ADK_COMPILE_PHP
select ADK_PACKAGE_LIBMYSQLCLIENT
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 4cf657ed3..753349c93 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -24,16 +24,13 @@ $(eval $(call PKG_template,PPP_MOD_PPPDUMP,ppp-mod-pppdump,${PKG_VERSION}-${PKG_
$(eval $(call PKG_template,PPP_MOD_PPPSTATS,ppp-mod-pppstats,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PPP_MOD_PPPUMTS,ppp-mod-pppumts,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-ifeq ($(ADK_IPV6),y)
-IPV6+=HAVE_INET6="1"
-endif
-
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
+
XAKE_FLAGS+= CC="${TARGET_CC}" \
COPTS="${TCFLAGS}" \
- ${IPV6} \
+ HAVE_INET6="1" \
STAGING_DIR=${STAGING_DIR} \
DESTDIR="${WRKINST}/usr" \
TARGET_AR='${TARGET_CROSS}ar'
diff --git a/package/quagga/Config.in b/package/quagga/Config.in
index 446d7ab9e..6e1d0905e 100644
--- a/package/quagga/Config.in
+++ b/package/quagga/Config.in
@@ -3,7 +3,6 @@
config ADK_PACKAGE_QUAGGA
prompt "quagga............................ The Quagga Software Routing Suite"
tristate
- depends on ADK_IPV6
default n
help
A routing software package that provides TCP/IP based routing services
@@ -34,7 +33,6 @@ config ADK_PACKAGE_QUAGGA_OSPF6D
tristate
default n
depends on ADK_PACKAGE_QUAGGA
- depends on ADK_IPV6
help
An OSPFv3 (IPv6) routing engine for use with Quagga routing software.
@@ -51,7 +49,6 @@ config ADK_PACKAGE_QUAGGA_RIPNGD
tristate
default n
depends on ADK_PACKAGE_QUAGGA
- depends on ADK_IPV6
help
A RIPNG (IPv6) routing engine for use with Quagga routing software.
diff --git a/package/quagga/Makefile b/package/quagga/Makefile
index 02b8b0347..99197f9eb 100644
--- a/package/quagga/Makefile
+++ b/package/quagga/Makefile
@@ -27,10 +27,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,QUAGGA,quagga,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,QUAGGA_BGPD,quagga-bgpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
$(eval $(call PKG_template,QUAGGA_OSPFD,quagga-ospfd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION}))
-ifeq ($(ADK_IPV6),y)
$(eval $(call PKG_template,QUAGGA_OSPF6D,quagga-ospf6d,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_3},${PKG_SECTION}))
$(eval $(call PKG_template,QUAGGA_RIPNGD,quagga-ripngd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_4},${PKG_SECTION}))
-endif
$(eval $(call PKG_template,QUAGGA_RIPD,quagga-ripd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_5},${PKG_SECTION}))
$(eval $(call PKG_template,QUAGGA_VTYSH,quagga-vtysh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_6},${PKG_SECTION}))
@@ -58,12 +56,10 @@ post-install:
${INSTALL_DIR} ${IDIR_QUAGGA_OSPFD}/usr/{lib,sbin}
${CP} ${WRKINST}/usr/lib/libospf.so.* ${IDIR_QUAGGA_OSPFD}/usr/lib/
${CP} ${WRKINST}/usr/sbin/ospfd ${IDIR_QUAGGA_OSPFD}/usr/sbin/
-ifeq ($(ADK_IPV6),y)
${INSTALL_DIR} ${IDIR_QUAGGA_OSPF6D}/usr/sbin
${CP} ${WRKINST}/usr/sbin/ospf6d ${IDIR_QUAGGA_OSPF6D}/usr/sbin/
${INSTALL_DIR} ${IDIR_QUAGGA_RIPNGD}/usr/sbin
${CP} ${WRKINST}/usr/sbin/ripngd ${IDIR_QUAGGA_RIPNGD}/usr/sbin/
-endif
${INSTALL_DIR} ${IDIR_QUAGGA_RIPD}/usr/sbin
${CP} ${WRKINST}/usr/sbin/ripd ${IDIR_QUAGGA_RIPD}/usr/sbin/
${INSTALL_DIR} ${IDIR_QUAGGA_VTYSH}/usr/bin
diff --git a/package/radvd/Config.in b/package/radvd/Config.in
index 2ed97bb82..ef729c098 100644
--- a/package/radvd/Config.in
+++ b/package/radvd/Config.in
@@ -1,11 +1,9 @@
config ADK_PACKAGE_RADVD
prompt "radvd............................. IPv6 Routing Advertisement Daemon"
- depends on ADK_IPV6
tristate
default n
select ADK_KPACKAGE_KMOD_IPV6
help
Routing Advertisement Daemon for IPv6
-
http://v6web.litech.org/radvd/
diff --git a/package/rpm/Config.in b/package/rpm/Config.in
index dbb227eed..2b2cba6e8 100644
--- a/package/rpm/Config.in
+++ b/package/rpm/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_RPM
prompt "rpm.................................. Red Hat package manager"
tristate
- depends on ADK_CXX
select ADK_PACKAGE_NSS
select ADK_PACKAGE_NSPR
select ADK_PACKAGE_ZLIB
diff --git a/package/rrs/Config.in b/package/rrs/Config.in
index 901492074..482911e33 100644
--- a/package/rrs/Config.in
+++ b/package/rrs/Config.in
@@ -7,7 +7,6 @@ config ADK_PACKAGE_RRS
prompt "rrs............................... A reverse (connecting) remote shell, with SSL support"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_RRS
select ADK_PACKAGE_ZLIB
select ADK_PACKAGE_LIBOPENSSL
@@ -20,7 +19,6 @@ config ADK_PACKAGE_RRS_NOSSL
prompt "rrs-nossl......................... A reverse (connecting) remote shell, without SSL support"
tristate
default n
- depends on ADK_CXX
select ADK_COMPILE_RRS
select ADK_PACKAGE_ZLIB
help
@@ -31,7 +29,7 @@ config ADK_PACKAGE_RRS_NOSSL
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_RRS
-default ADK_COMPILE_RRS_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_RRS_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_RRS_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_RRS_WITH_STDCXX
diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in
index e1d033315..920631f5b 100644
--- a/package/rtorrent/Config.in
+++ b/package/rtorrent/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_RTORRENT
prompt "rtorrent........................... console bittorrent client"
tristate
- depends on ADK_CXX
select ADK_PACKAGE_LIBNCURSES
select ADK_PACKAGE_LIBTORRENT
select ADK_PACKAGE_LIBCURL
diff --git a/package/samba/Makefile b/package/samba/Makefile
index c964c5e14..69ccdef14 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -21,18 +21,13 @@ $(eval $(call PKG_template,SAMBA,samba,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN
$(eval $(call PKG_template,SAMBA_CLIENT,samba-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE:= gnu
TLDFLAGS+= -Wl,-rpath -Wl,/usr/lib/samba
+
CONFIGURE_ENV+= samba_cv_CC_NEGATIVE_ENUM_VALUES=no \
samba_cv_USE_SETRESUID=no \
ac_cv_lib_ext_nsl_connect=no \
ac_cv_search_yp_get_default_domain=no \
ac_cv_lib_ext_nsl_gethostbyname=no
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_ENV+= libreplace_cv_HAVE_IPV6=yes
-else
-CONFIGURE_ENV+= libreplace_cv_HAVE_IPV6=no
-endif
CONFIGURE_ARGS+= --libdir=/usr/lib/samba \
--localstatedir=/var/log/samba \
--with-configdir=/etc/samba \
@@ -48,6 +43,8 @@ CONFIGURE_ARGS+= --libdir=/usr/lib/samba \
--with-ldap=no \
--without-cluster-support \
--without-sendfile-support
+
+CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
diff --git a/package/speex/Config.in b/package/speex/Config.in
index 6fa3d9995..f50e04c2c 100644
--- a/package/speex/Config.in
+++ b/package/speex/Config.in
@@ -1,7 +1,6 @@
config ADK_COMPILE_SPEEX
tristate
default n
- depends on ADK_CXX
depends on ADK_PACKAGE_LIBSPEEX
config ADK_PACKAGE_LIBSPEEX
@@ -17,8 +16,6 @@ config ADK_PACKAGE_LIBSPEEX
alternative to expensive proprietary speech codecs. Moreover, Speex
is well-adapted to Internet applications and provides useful features
that are not present in most other codecs.
-
http://www.speex.org/
- This package contains the shared codec library, needed by other programs.
diff --git a/package/squid/Config.in b/package/squid/Config.in
index 54618295d..86813dfd6 100644
--- a/package/squid/Config.in
+++ b/package/squid/Config.in
@@ -3,7 +3,6 @@ config ADK_PACKAGE_SQUID
prompt "squid............................. full-featured Web proxy cache"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_LIBOPENSSL
help
Squid is a high-performance proxy caching server for web clients,
@@ -16,7 +15,7 @@ config ADK_PACKAGE_SQUID
choice
prompt "C++ library to use"
depends on ADK_PACKAGE_SQUID
-default ADK_COMPILE_SQUID_WITH_STDCXX if ADK_TARGET_LIB_GLIBC
+default ADK_COMPILE_SQUID_WITH_STDCXX if ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
default ADK_COMPILE_SQUID_WITH_UCLIBCXX if ADK_TARGET_LIB_UCLIBC
config ADK_COMPILE_SQUID_WITH_STDCXX
diff --git a/package/tntnet/Config.in b/package/tntnet/Config.in
index ca1d4f669..6d2ff122d 100644
--- a/package/tntnet/Config.in
+++ b/package/tntnet/Config.in
@@ -2,7 +2,6 @@ config ADK_PACKAGE_TNTNET
prompt "tntnet............................ a modular, multithreaded webapplicationserver"
tristate
default n
- depends on ADK_CXX
select ADK_PACKAGE_CXXTOOLS
select ADK_PACKAGE_LIBICONV
select ADK_PACKAGE_LIBPTHREAD
diff --git a/package/uclibc++/Config.in b/package/uclibc++/Config.in
index 468493b37..d3a7940b7 100644
--- a/package/uclibc++/Config.in
+++ b/package/uclibc++/Config.in
@@ -1,7 +1,6 @@
config ADK_PACKAGE_UCLIBCXX
prompt "uClibc++.......................... C++ library for embedded systems"
tristate
- depends on ADK_CXX
default n
help
A standard C++ library for embedded systems
diff --git a/package/ulogd/Config.in b/package/ulogd/Config.in
index dc0949777..a138f4575 100644
--- a/package/ulogd/Config.in
+++ b/package/ulogd/Config.in
@@ -14,7 +14,6 @@ config ADK_PACKAGE_ULOGD_MOD_MYSQL
prompt "ulogd-mod-mysql............... Output plugin for logging into a MySQL database"
tristate
default n
- depends on ADK_CXX
depends on ADK_PACKAGE_ULOGD
select ADK_PACKAGE_LIBMYSQLCLIENT
diff --git a/package/ustl/Config.in b/package/ustl/Config.in
index b2f7959c0..b8aa55d55 100644
--- a/package/ustl/Config.in
+++ b/package/ustl/Config.in
@@ -2,12 +2,10 @@ config ADK_PACKAGE_USTL
prompt "ustl.............................. C++ Standard Template Library for embedded systems"
tristate
default n
- depends on ADK_CXX
help
uSTL is a partial implementation of the STL (Standard Template
Library) that reduces code size by factoring memory management
code into a non-template base class and deriving containers
from it.
-
http://ustl.sourceforge.net/
diff --git a/target/Config.in b/target/Config.in
index 51fe1ea5c..52757e37c 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -250,12 +250,12 @@ config ADK_LINUX_ARM_G1
Just toolchain support to cross-compile your own
applications. Use static linking for your packages.
-#config ADK_LINUX_XSCALE_ZAURUS
-# bool "Zaurus SL-C3200"
-# select ADK_zaurus
-# select ADK_TARGET_NO_FPU
-# help
-# Support for Sharp Zaurus SL-C3200 (aka Terrier)
+config ADK_LINUX_XSCALE_ZAURUS
+ bool "Zaurus SL-C3200"
+ select ADK_zaurus
+ select ADK_TARGET_NO_FPU
+ help
+ Support for Sharp Zaurus SL-C3200 (aka Terrier)
config ADK_LINUX_RESCUE
bool "Minimal Linux Rescuesystem"
@@ -772,38 +772,4 @@ config ADK_TARGET_PACKAGE_RPM
endchoice
-# broken and untested right now
-#config ADK_SSP
-# bool "Enable Stack Smashing Protection"
-# default n
-# depends on ADK_LINUX_X86_ALIX1C || \
-# ADK_LINUX_CRIS_FOXBOARD
-# help
-# Enable Stack Smashing Protection
-
-config ADK_CXX
- bool "Enable C++ support"
- default n
- help
- Enable C++ compiler and libraries.
-
-config ADK_IPV6
- bool "Enable IPv6 support"
- default n
- select ADK_KPACKAGE_KMOD_IPV6
- select BUSYBOX_FEATURE_IPV6
- select BUSYBOX_FEATURE_IFUPDOWN_IPV6
- select BUSYBOX_PING6
- help
- Enable basic IPv6 support and
- make the IPv6 support options in packages visible.
-
-config ADK_X11
- bool "Enable X.org/X11 support"
- default n
- help
- Enable Xorg/X11 server and applications in menu.
- Try to compile other packages with X11 support.
- (f.e. mplayer)
-
endmenu
diff --git a/target/alix1c/uclibc.config b/target/alix1c/uclibc.config
index 48742fb5c..f98da5b03 100644
--- a/target/alix1c/uclibc.config
+++ b/target/alix1c/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/alix2d/uclibc.config b/target/alix2d/uclibc.config
index 48742fb5c..f98da5b03 100644
--- a/target/alix2d/uclibc.config
+++ b/target/alix2d/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/foxboard/uclibc.config b/target/foxboard/uclibc.config
index 19c3e431f..50ba1fc5b 100644
--- a/target/foxboard/uclibc.config
+++ b/target/foxboard/uclibc.config
@@ -145,7 +145,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/g1/uclibc.config b/target/g1/uclibc.config
index e4fe4e87e..52ec386f5 100644
--- a/target/g1/uclibc.config
+++ b/target/g1/uclibc.config
@@ -146,7 +146,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/lemote/uclibc.config b/target/lemote/uclibc.config
index 9155c26a6..4ad8cae77 100644
--- a/target/lemote/uclibc.config
+++ b/target/lemote/uclibc.config
@@ -135,7 +135,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/linux/config/Config.in.network b/target/linux/config/Config.in.network
index 7611c03aa..349f4a9fd 100644
--- a/target/linux/config/Config.in.network
+++ b/target/linux/config/Config.in.network
@@ -124,7 +124,6 @@ config ADK_KPACKAGE_KMOD_NET_IPGRE
config ADK_KPACKAGE_KMOD_IPV6
prompt "kmod-ipv6......................... IPv6 support"
tristate
- depends on ADK_IPV6
default n
help
This is complemental support for the IP version 6.
@@ -139,7 +138,6 @@ config ADK_KPACKAGE_KMOD_IPV6
config ADK_KPACKAGE_KMOD_IPV6_SIT
prompt "kmod-ipv6-sit..................... IPv6-in-IPv4 tunnel (SIT driver)"
tristate
- depends on ADK_IPV6
select ADK_KPACKAGE_KMOD_INET_TUNNEL
default n
help
diff --git a/target/native/uclibc.config b/target/native/uclibc.config
index ed46e1519..f779cc8bf 100644
--- a/target/native/uclibc.config
+++ b/target/native/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-arm/uclibc.config b/target/qemu-arm/uclibc.config
index 21c2be25a..323249401 100644
--- a/target/qemu-arm/uclibc.config
+++ b/target/qemu-arm/uclibc.config
@@ -147,7 +147,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-cris/uclibc.config b/target/qemu-cris/uclibc.config
index 4678e3b43..0bd868976 100644
--- a/target/qemu-cris/uclibc.config
+++ b/target/qemu-cris/uclibc.config
@@ -145,7 +145,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-mips/uclibc.config b/target/qemu-mips/uclibc.config
index b32f17451..ee7d7cefd 100644
--- a/target/qemu-mips/uclibc.config
+++ b/target/qemu-mips/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-mips64/uclibc.config b/target/qemu-mips64/uclibc.config
index b20961785..e2bd9a4b0 100644
--- a/target/qemu-mips64/uclibc.config
+++ b/target/qemu-mips64/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-mips64el/uclibc.config b/target/qemu-mips64el/uclibc.config
index dd82c5b6f..5642d5879 100644
--- a/target/qemu-mips64el/uclibc.config
+++ b/target/qemu-mips64el/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-mipsel/uclibc.config b/target/qemu-mipsel/uclibc.config
index 223c3ddd9..dbf8ed75d 100644
--- a/target/qemu-mipsel/uclibc.config
+++ b/target/qemu-mipsel/uclibc.config
@@ -153,7 +153,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-x86/uclibc.config b/target/qemu-x86/uclibc.config
index ea622b4dd..94ba1ef20 100644
--- a/target/qemu-x86/uclibc.config
+++ b/target/qemu-x86/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/qemu-x86_64/uclibc.config b/target/qemu-x86_64/uclibc.config
index 97360c23b..c622507cd 100644
--- a/target/qemu-x86_64/uclibc.config
+++ b/target/qemu-x86_64/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/rb411/uclibc.config b/target/rb411/uclibc.config
index 4f35e8d4c..c48d01864 100644
--- a/target/rb411/uclibc.config
+++ b/target/rb411/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/rb433/uclibc.config b/target/rb433/uclibc.config
index 4f35e8d4c..c48d01864 100644
--- a/target/rb433/uclibc.config
+++ b/target/rb433/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/rb532/uclibc.config b/target/rb532/uclibc.config
index ef48640be..9a6a88401 100644
--- a/target/rb532/uclibc.config
+++ b/target/rb532/uclibc.config
@@ -135,7 +135,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/rescue-x86/uclibc.config b/target/rescue-x86/uclibc.config
index ed46e1519..f779cc8bf 100644
--- a/target/rescue-x86/uclibc.config
+++ b/target/rescue-x86/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/rescue-x86_64/uclibc.config b/target/rescue-x86_64/uclibc.config
index df52f1782..b3f05febe 100644
--- a/target/rescue-x86_64/uclibc.config
+++ b/target/rescue-x86_64/uclibc.config
@@ -127,7 +127,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/shuttle/uclibc.config b/target/shuttle/uclibc.config
index df52f1782..b3f05febe 100644
--- a/target/shuttle/uclibc.config
+++ b/target/shuttle/uclibc.config
@@ -127,7 +127,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/tomtom/uclibc.config b/target/tomtom/uclibc.config
index e4fe4e87e..52ec386f5 100644
--- a/target/tomtom/uclibc.config
+++ b/target/tomtom/uclibc.config
@@ -146,7 +146,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/wag54g/uclibc.config b/target/wag54g/uclibc.config
index 24186882e..bc9ffb3fc 100644
--- a/target/wag54g/uclibc.config
+++ b/target/wag54g/uclibc.config
@@ -136,7 +136,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/wrap/uclibc.config b/target/wrap/uclibc.config
index 48742fb5c..f98da5b03 100644
--- a/target/wrap/uclibc.config
+++ b/target/wrap/uclibc.config
@@ -144,7 +144,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/target/zaurus/uclibc.config b/target/zaurus/uclibc.config
index 21c2be25a..323249401 100644
--- a/target/zaurus/uclibc.config
+++ b/target/zaurus/uclibc.config
@@ -147,7 +147,7 @@ UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
UCLIBC_HAS_SOCKET=y
UCLIBC_HAS_IPV4=y
-# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_IPV6=y
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
UCLIBC_HAS_REENTRANT_RPC=y
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index bb7797e92..fb6beccab 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -6,12 +6,6 @@ include ../rules.mk
include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk
-ifeq ($(ADK_SSP),y)
-CONFOPTS+= --enable-libssp
-else
-CONFOPTS+= --disable-libssp
-endif
-
ifeq ($(ADK_LINUX_64),y)
CONFOPTS+= --enable-64-bit-bfd
endif
@@ -31,6 +25,7 @@ $(WRKBUILD)/.configured:
--disable-dependency-tracking \
--disable-libtool-lock \
--disable-werror \
+ --disable-libssp \
${CONFOPTS} \
);
touch $@
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index f93691cab..a46e0db49 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -5,13 +5,6 @@ include $(TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-
-ifeq ($(ADK_CXX),y)
-TARGET_LANGUAGES:= c,c++
-else
-TARGET_LANGUAGES:= c
-endif
-
GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
@@ -26,14 +19,9 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--disable-biarch \
--disable-multilib \
--disable-sjlj-exceptions \
+ --disable-libssp \
--disable-nls
-ifeq ($(ADK_SSP),y)
-GCC_CONFOPTS+= --enable-libssp
-else
-GCC_CONFOPTS+= --disable-libssp
-endif
-
ifeq ($(ADK_TARGET_NO_FPU),y)
GCC_CONFOPTS+= --with-float=soft
endif
@@ -108,7 +96,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured:
PATH=$(TARGET_PATH) \
$(WRKBUILD)/configure \
${GCC_CONFOPTS} \
- --enable-languages=$(TARGET_LANGUAGES) \
+ --enable-languages=c,c++ \
--with-sysroot=$(STAGING_DIR) \
--with-slibdir=$(STAGING_DIR)/lib \
--enable-shared \
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index d3e2c7e70..2bca1bb23 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -21,19 +21,6 @@ $(WRKBUILD)/.headers:
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak
sed -e 's^KERNEL_HEADERS.*$$KERNEL_HEADERS=\"${TOOLCHAIN_SYSROOT}/usr/include\"' \
$(TOPDIR)/target/$(ADK_TARGET)/uclibc.config >${WRKBUILD}/.config
-ifeq ($(ADK_IPV6),y)
- $(SED) 's,# UCLIBC_HAS_IPV6.*,UCLIBC_HAS_IPV6=y,' \
- ${WRKBUILD}/.config
-endif
-ifeq ($(ADK_SSP),y)
- $(SED) 's,# UCLIBC_HAS_SSP.*,UCLIBC_HAS_SSP=y,' \
- ${WRKBUILD}/.config
- echo 'UCLIBC_BUILD_SSP=y' >> ${WRKBUILD}/.config
- echo '# UCLIBC_HAS_SSP_COMPAT is not set' >> ${WRKBUILD}/.config
- echo '# SSP_QUICK_CANARY is not set' >> ${WRKBUILD}/.config
- echo 'PROPOLICE_BLOCK_ABRT=y' >> ${WRKBUILD}/.config
- echo '# PROPOLICE_BLOCK_SEGV is not set' >> ${WRKBUILD}/.config
-endif
ifneq ($(ADK_DEBUG),)
$(SED) 's,DOSTRIP,DODEBUG,' ${WRKBUILD}/.config
endif