From 6173ee4f61b1c7a9c2c670952f9a18345e614c90 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 18 Apr 2015 22:57:45 +0200 Subject: buildsys: pregen depends on xlocale since ae9e3f46 sched.h pulls in stdlib.h (for malloc() and free()) and thus also xlocale.. Signed-off-by: Bernhard Reutner-Fischer --- extra/locale/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra') diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in index 3834c5c9e..1a2305bb7 100644 --- a/extra/locale/Makefile.in +++ b/extra/locale/Makefile.in @@ -46,7 +46,7 @@ locale_OBJ := $(locale_OUT)/locale_data.o CFLAGS-locale_data.c := -D__WCHAR_ENABLED -I$(locale_OUT) -I$(locale_DIR) -#headers-$(UCLIBC_HAS_LOCALE) += $(locale_headers-y) +headers_dep += $(locale_headers-y) headers: $(locale_headers-y) libc-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ) @@ -68,7 +68,7 @@ $(locale_OUT)%.s: $(locale_OUT)%.S FORCE ; $(compile.s) $(locale_OUT)%.dep: -locale_headers: headers $(top_builddir)include/bits/uClibc_locale_data.h +locale_headers: $(top_builddir)include/bits/uClibc_locale_data.h # make sure that the host system has locales (this check is ok for uClibc/glibc) # we do not know though which locales were really enabled for libc at build time -- cgit v1.2.3 From f1f98784e65ce9621a570af50998b1940e7fb81d Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Wed, 22 Apr 2015 09:31:38 +0530 Subject: ARC: enable more options to satisfy build requirements of applications As reported by Buildroot autobuilder following options were missing: * Libutil stub (UCLIBC_HAS_LIBUTIL option) http://autobuild.buildroot.org/results/ce3/ce39eb9b9ece0968563641fb2207099d1a37b191/ * Program_invocation_name (UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y) http://autobuild.buildroot.org/results/154/1546d909e606daefd41b87dece94d642c0fdeba4/ http://autobuild.buildroot.org/results/bd5/bd54581d7b0cc73bc501072d27e870a443dfce79/ * Ifaddrd support (UCLIBC_SUPPORT_AI_ADDRCONFIG=y) http://autobuild.buildroot.org/results/134/134e78ef1fa87f7fbf26c23ec5dfc68785d79613/ * Libnsl (UCLIBC_HAS_LIBNSL_STUB=y) http://autobuild.buildroot.net/results/331/331ed781b422448205fb9e7c9730ec0c438d6306/ http://autobuild.buildroot.net/results/402/402d64965ac7ac6e1d4e1990080394958802fe8c/ http://autobuild.buildroot.net/results/960/9605bac2972d3e3d3fb91947ae6921e89210247b/ http://autobuild.buildroot.net/results/6b6/6b61ea80a3a6dcead233c4b408eba8b8d647e841/ * UTMP got reworked recently, which breaks packages such as busybox, gdbserver etc so enable that too Enabling mentioned options to make sure more packages could be built with ARC pre-built uClibc tools. Note UCLIBC_USE_NETLINK is a prerequisite for UCLIBC_SUPPORT_AI_ADDRCONFIG. Signed-off-by: Alexey Brodkin Cc: Anton Kolesov Signed-off-by: Vineet Gupta Signed-off-by: Bernhard Reutner-Fischer --- extra/Configs/defconfigs/arc/arcv2_defconfig | 6 ++++++ extra/Configs/defconfigs/arc/defconfig | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'extra') diff --git a/extra/Configs/defconfigs/arc/arcv2_defconfig b/extra/Configs/defconfigs/arc/arcv2_defconfig index 7c4694eb1..1e204aa9d 100644 --- a/extra/Configs/defconfigs/arc/arcv2_defconfig +++ b/extra/Configs/defconfigs/arc/arcv2_defconfig @@ -10,16 +10,22 @@ LDSO_RUNPATH=y UCLIBC_HAS_THREADS_NATIVE=y PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_OBSTACK=y +UCLIBC_HAS_UTMPX=y +UCLIBC_HAS_UTMP=y UCLIBC_SUSV2_LEGACY=y UCLIBC_SUSV3_LEGACY=y UCLIBC_SUSV4_LEGACY=y UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y +UCLIBC_HAS_LIBUTIL=y UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y UCLIBC_SV4_DEPRECATED=y UCLIBC_HAS_RPC=y UCLIBC_HAS_FULL_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y UCLIBC_HAS_RESOLVER_SUPPORT=y UCLIBC_HAS_LIBRESOLV_STUB=y +UCLIBC_HAS_LIBNSL_STUB=y UCLIBC_HAS_LOCALE=y UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y UCLIBC_HAS_NFTW=y diff --git a/extra/Configs/defconfigs/arc/defconfig b/extra/Configs/defconfigs/arc/defconfig index eebb11521..994abebd4 100644 --- a/extra/Configs/defconfigs/arc/defconfig +++ b/extra/Configs/defconfigs/arc/defconfig @@ -9,16 +9,22 @@ LDSO_RUNPATH=y UCLIBC_HAS_THREADS_NATIVE=y PTHREADS_DEBUG_SUPPORT=y UCLIBC_HAS_OBSTACK=y +UCLIBC_HAS_UTMPX=y +UCLIBC_HAS_UTMP=y UCLIBC_SUSV2_LEGACY=y UCLIBC_SUSV3_LEGACY=y UCLIBC_SUSV4_LEGACY=y UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y +UCLIBC_HAS_LIBUTIL=y UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y UCLIBC_SV4_DEPRECATED=y UCLIBC_HAS_RPC=y UCLIBC_HAS_FULL_RPC=y +UCLIBC_USE_NETLINK=y +UCLIBC_SUPPORT_AI_ADDRCONFIG=y UCLIBC_HAS_RESOLVER_SUPPORT=y UCLIBC_HAS_LIBRESOLV_STUB=y +UCLIBC_HAS_LIBNSL_STUB=y UCLIBC_HAS_LOCALE=y UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y UCLIBC_HAS_NFTW=y -- cgit v1.2.3