summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-25 21:04:37 +0200
commitb5b277f51439e52bec1ecdb1f6f1d19a3aed448a (patch)
tree124fcb970c087a739eeb10385fb97fc8287cee9d /target
parent975f9ccb8c9a3896941e02c2bca538853adf60df (diff)
add some packages
- add make/patch/rpm and dependencies - update ar7 port a little bit
Diffstat (limited to 'target')
-rw-r--r--target/Config.in20
-rw-r--r--target/wag54g/patches/ar7.patch11
-rw-r--r--target/wag54g/uclibc.config40
3 files changed, 27 insertions, 44 deletions
diff --git a/target/Config.in b/target/Config.in
index b9703121f..4bae570ac 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -1,9 +1,16 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
+# mark broken devices
+config ADK_BROKEN
+ bool
+
config ADK_DEVICE_NO_FPU
bool
+config ADK_LINUX_64
+ bool
+
config ADK_NATIVE
tristate
@@ -83,10 +90,6 @@ config ADK_DEVICE
default "rescue-mips" if ADK_rescue_mips
default "rescue-mipsel" if ADK_rescue_mipsel
-config ADK_LINUX_MIPS64
- bool
- default n
-
menu "Target system"
choice
@@ -124,7 +127,8 @@ config ADK_LINUX_CRIS_FOXBOARD
config ADK_LINUX_MIPS64_LEMOTE
bool "Lemote Subnotebook Yeeloong"
select ADK_lemote
- select ADK_LINUX_MIPS64
+ select ADK_LINUX_64
+ select ADK_KERNEL_INPUT_KEYBOARD
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_PCI
select ADK_KERNEL_NET_ETHERNET
@@ -176,6 +180,7 @@ depends on ADK_LINUX_RESCUE
config ADK_LINUX_X86_64_RESCUE
bool "x86_64"
select ADK_rescue_x86_64
+ select ADK_LINUX_64
help
X86 architecture.
@@ -226,20 +231,21 @@ config ADK_LINUX_MIPSEL_QEMU
config ADK_LINUX_MIPS64_QEMU
bool "mips64 (big endian)"
select ADK_qemu_mips64
- select ADK_LINUX_MIPS64
+ select ADK_LINUX_64
help
Qemu support for MIPS64 BE architecture.
config ADK_LINUX_MIPS64EL_QEMU
bool "mips64 (little endian)"
select ADK_qemu_mips64el
- select ADK_LINUX_MIPS64
+ select ADK_LINUX_64
help
Qemu support for MIPS64 LE architecture.
config ADK_LINUX_CRIS_QEMU
bool "cris"
select ADK_qemu_cris
+ select ADK_BROKEN
help
Qemu support for CRISv32 architecture.
diff --git a/target/wag54g/patches/ar7.patch b/target/wag54g/patches/ar7.patch
index fe4b10802..ba2f6ade4 100644
--- a/target/wag54g/patches/ar7.patch
+++ b/target/wag54g/patches/ar7.patch
@@ -2334,17 +2334,6 @@ diff -Nur linux-2.6.30.orig/arch/mips/kernel/traps.c linux-2.6.30/arch/mips/kern
}
return (void *)old_handler;
}
-diff -Nur linux-2.6.30.orig/arch/mips/lib/delay.c linux-2.6.30/arch/mips/lib/delay.c
---- linux-2.6.30.orig/arch/mips/lib/delay.c 2009-06-10 05:05:27.000000000 +0200
-+++ linux-2.6.30/arch/mips/lib/delay.c 2009-06-11 21:10:53.309003369 +0200
-@@ -51,6 +51,6 @@
- {
- unsigned int lpj = current_cpu_data.udelay_val;
-
-- __delay((us * 0x00000005 * HZ * lpj) >> 32);
-+ __delay((ns * 0x00000005 * HZ * lpj) >> 32);
- }
- EXPORT_SYMBOL(__ndelay);
diff -Nur linux-2.6.30.orig/drivers/Kconfig linux-2.6.30/drivers/Kconfig
--- linux-2.6.30.orig/drivers/Kconfig 2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.30/drivers/Kconfig 2009-06-11 20:55:34.619476239 +0200
diff --git a/target/wag54g/uclibc.config b/target/wag54g/uclibc.config
index 223c3ddd9..cefe27a63 100644
--- a/target/wag54g/uclibc.config
+++ b/target/wag54g/uclibc.config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Version: 0.9.30
-# Fri Jan 9 14:41:23 2009
+# Version: 0.9.30-svn
+# Sun Jun 14 15:49:39 2009
#
# TARGET_alpha is not set
# TARGET_arm is not set
@@ -35,23 +35,6 @@ TARGET_mips=y
TARGET_ARCH="mips"
FORCE_OPTIONS_FOR_ARCH=y
ARCH_CFLAGS="-mno-split-addresses"
-# CONFIG_GENERIC_386 is not set
-# CONFIG_386 is not set
-# CONFIG_486 is not set
-# CONFIG_586 is not set
-# CONFIG_586MMX is not set
-# CONFIG_686 is not set
-# CONFIG_PENTIUMII is not set
-# CONFIG_PENTIUMIII is not set
-# CONFIG_PENTIUM4 is not set
-# CONFIG_K6 is not set
-# CONFIG_K7 is not set
-# CONFIG_ELAN is not set
-# CONFIG_CRUSOE is not set
-# CONFIG_WINCHIPC6 is not set
-# CONFIG_WINCHIP2 is not set
-# CONFIG_CYRIXIII is not set
-# CONFIG_NEHEMIAH is not set
CONFIG_MIPS_O32_ABI=y
# CONFIG_MIPS_N32_ABI is not set
# CONFIG_MIPS_N64_ABI is not set
@@ -99,8 +82,10 @@ UCLIBC_CTOR_DTOR=y
# LDSO_GNU_HASH_SUPPORT is not set
# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
-PTHREADS_DEBUG_SUPPORT=y
-LINUXTHREADS_OLD=y
+UCLIBC_HAS_TLS=y
+# PTHREADS_DEBUG_SUPPORT is not set
+# LINUXTHREADS_OLD is not set
+UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
# MALLOC is not set
@@ -109,8 +94,9 @@ MALLOC_STANDARD=y
MALLOC_GLIBC_COMPAT=y
UCLIBC_DYNAMIC_ATEXIT=y
COMPAT_ATEXIT=y
-# UCLIBC_SUSV3_LEGACY is not set
+UCLIBC_SUSV3_LEGACY=y
# UCLIBC_SUSV3_LEGACY_MACROS is not set
+# UCLIBC_SUSV4_LEGACY is not set
# UCLIBC_HAS_STUBS is not set
UCLIBC_HAS_SHADOW=y
UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
@@ -144,7 +130,7 @@ UCLIBC_HAS_BSD_ERR=y
# UCLIBC_NTP_LEGACY is not set
# UCLIBC_SV4_DEPRECATED is not set
UCLIBC_HAS_REALTIME=y
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
UCLIBC_HAS_EPOLL=y
UCLIBC_HAS_XATTR=y
# UCLIBC_HAS_PROFILING is not set
@@ -160,6 +146,8 @@ UCLIBC_HAS_REENTRANT_RPC=y
UCLIBC_USE_NETLINK=y
UCLIBC_SUPPORT_AI_ADDRCONFIG=y
UCLIBC_HAS_BSD_RES_CLOSE=y
+UCLIBC_HAS_COMPAT_RES_STATE=y
+# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
#
# String and Stdio Support
@@ -200,6 +188,7 @@ UCLIBC_HAS_ERRNO_MESSAGES=y
UCLIBC_HAS_SIGNUM_MESSAGES=y
# UCLIBC_HAS_SYS_SIGLIST is not set
UCLIBC_HAS_GNU_GETOPT=y
+# UCLIBC_HAS_STDIO_FUTEXES is not set
UCLIBC_HAS_GNU_GETSUBOPT=y
#
@@ -238,11 +227,10 @@ UCLIBC_BUILD_NOEXECSTACK=y
CROSS_COMPILER_PREFIX=""
UCLIBC_EXTRA_CFLAGS=""
# DODEBUG is not set
-# DODEBUG_PT is not set
DOSTRIP=y
# DOASSERTS is not set
-# SUPPORT_LD_DEBUG is not set
-# SUPPORT_LD_DEBUG_EARLY is not set
+SUPPORT_LD_DEBUG=y
+SUPPORT_LD_DEBUG_EARLY=y
# UCLIBC_MALLOC_DEBUGGING is not set
WARNINGS="-Wall"
EXTRA_WARNINGS=y