summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-25 23:52:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-25 23:52:41 +0100
commite35dae1efd56219eb222e2cbd98090e8d672df98 (patch)
tree3049da2e930e1ffdff427c405bfe30ddc50107ed
parentc63468158ad2e12ffee4d37474f04fbf6068818b (diff)
hppa: allow to build uClibc-ng toolchain
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/hppa/uclibc.config56
3 files changed, 33 insertions, 28 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index ec8eab23f..ac1ba6837 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -882,8 +882,10 @@ config ADK_CPU_OR1K
config ADK_CPU_PARISC
bool
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_WITH_LT if ADK_TARGET_LIB_UCLIBC_NG
+ select ADK_TARGET_WITH_NPTL if ADK_TARGET_LIB_GLIBC
select ADK_TARGET_WITH_MMU
+ select ADK_TARGET_USE_STATIC_LIBS if ADK_TARGET_LIB_UCLIBC_NG
config ADK_CPU_PENTIUM_M
bool
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 51da146fd..33c25b31f 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -8,7 +8,6 @@ config ADK_TARGET_LIB_UCLIBC_NG
bool "uClibc-ng embedded C library"
depends on \
!ADK_TARGET_ARCH_AARCH64 && \
- !ADK_TARGET_ARCH_HPPA && \
!ADK_TARGET_ARCH_NIOS2 && \
!ADK_TARGET_ARCH_S390 && \
!ADK_TARGET_ARCH_SPARC64 && \
diff --git a/target/hppa/uclibc.config b/target/hppa/uclibc.config
index f0adb68bd..6098b4bd0 100644
--- a/target/hppa/uclibc.config
+++ b/target/hppa/uclibc.config
@@ -1,18 +1,25 @@
#
# Automatically generated file; DO NOT EDIT.
-# uClibc 1.0.0-git C Library Configuration
+# uClibc-ng 1.0.11 C Library Configuration
#
+# TARGET_alpha is not set
# TARGET_arc is not set
# TARGET_arm is not set
# TARGET_avr32 is not set
# TARGET_bfin is not set
# TARGET_c6x is not set
# TARGET_cris is not set
+# TARGET_h8300 is not set
+TARGET_hppa=y
# TARGET_i386 is not set
+# TARGET_ia64 is not set
+# TARGET_lm32 is not set
# TARGET_m68k is not set
+# TARGET_metag is not set
# TARGET_microblaze is not set
# TARGET_mips is not set
-TARGET_nios2=y
+# TARGET_nios2 is not set
+# TARGET_or1k is not set
# TARGET_powerpc is not set
# TARGET_sh is not set
# TARGET_sparc is not set
@@ -22,46 +29,41 @@ TARGET_nios2=y
#
# Target Architecture Features and Options
#
-TARGET_ARCH="nios2"
+TARGET_ARCH="hppa"
FORCE_OPTIONS_FOR_ARCH=y
TARGET_SUBARCH=""
-UCLIBC_FORMAT_FLAT=y
-# UCLIBC_FORMAT_FLAT_SEP_DATA is not set
-# UCLIBC_FORMAT_SHARED_FLAT is not set
-ARCH_HAS_DEPRECATED_SYSCALLS=y
-ARCH_LITTLE_ENDIAN=y
-# ARCH_WANTS_BIG_ENDIAN is not set
-# ARCH_WANTS_LITTLE_ENDIAN is not set
#
-# Using Little Endian
+# Using ELF file format
#
-ARCH_HAS_NO_MMU=y
+ARCH_HAS_DEPRECATED_SYSCALLS=y
+ARCH_BIG_ENDIAN=y
#
-# Target CPU lacks a memory management unit (MMU)
+# Using Big Endian
#
+ARCH_HAS_MMU=y
+ARCH_USE_MMU=y
UCLIBC_HAS_FLOATS=y
-# UCLIBC_HAS_FPU is not set
-UCLIBC_HAS_SOFT_FLOAT=y
-DO_C99_MATH=y
+UCLIBC_HAS_FPU=y
+# DO_C99_MATH is not set
# DO_XSI_MATH is not set
# UCLIBC_HAS_FENV is not set
KERNEL_HEADERS=""
-UCLIBC_UCLINUX_BROKEN_MUNMAP=y
HAVE_DOT_CONFIG=y
#
# General Library Settings
#
-HAVE_NO_PIC=y
+DOPIC=y
ARCH_HAS_NO_SHARED=y
ARCH_HAS_NO_LDSO=y
UCLIBC_CTOR_DTOR=y
-HAS_NO_THREADS=y
-# LINUXTHREADS_OLD is not set
+# HAS_NO_THREADS is not set
+LINUXTHREADS_OLD=y
# LINUXTHREADS_NEW is not set
-# UCLIBC_HAS_THREADS_NATIVE is not set
+UCLIBC_HAS_THREADS=y
+PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
MALLOC=y
@@ -71,6 +73,8 @@ MALLOC_GLIBC_COMPAT=y
UCLIBC_HAS_OBSTACK=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
+UCLIBC_HAS_UTMPX=y
+UCLIBC_HAS_UTMP=y
UCLIBC_SUSV2_LEGACY=y
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
@@ -117,7 +121,7 @@ UCLIBC_HAS_EPOLL=y
UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
UCLIBC_HAS_CRYPT_IMPL=y
-# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
+UCLIBC_HAS_SHA256_CRYPT_IMPL=y
# UCLIBC_HAS_SHA512_CRYPT_IMPL is not set
UCLIBC_HAS_CRYPT=y
UCLIBC_HAS_NETWORK_SUPPORT=y
@@ -146,7 +150,7 @@ UCLIBC_HAS_CTYPE_CHECKED=y
# UCLIBC_HAS_CTYPE_ENFORCED is not set
UCLIBC_HAS_WCHAR=y
# UCLIBC_HAS_LOCALE is not set
-UCLIBC_HAS_HEXADECIMAL_FLOATS=y
+# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
@@ -174,6 +178,7 @@ UCLIBC_HAS_SIGNUM_MESSAGES=y
UCLIBC_HAS_GNU_GETOPT=y
UCLIBC_HAS_GETOPT_LONG=y
UCLIBC_HAS_GNU_GETSUBOPT=y
+UCLIBC_HAS_ARGP=y
#
# Big and Tall
@@ -188,8 +193,6 @@ UCLIBC_HAS_FTW=y
UCLIBC_HAS_FTS=y
UCLIBC_HAS_GLOB=y
UCLIBC_HAS_GNU_GLOB=y
-UCLIBC_HAS_UTMP=y
-UCLIBC_HAS_UTMPX=y
#
# Library Installation Options
@@ -204,7 +207,7 @@ HARDWIRED_ABSPATH=y
#
UCLIBC_HAS_ARC4RANDOM=y
# ARC4RANDOM_USES_NODEV is not set
-# UCLIBC_HAS_SSP is not set
+HAVE_NO_SSP=y
UCLIBC_BUILD_NOEXECSTACK=y
#
@@ -213,6 +216,7 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
# DODEBUG is not set
+# DODEBUG_PT is not set
# DOSTRIP is not set
# DOASSERTS is not set
# UCLIBC_MALLOC_DEBUGGING is not set