mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-17 20:12:11 +01:00
added several patches to make packages compile for the foxboard
SVN-Revision: 7597
This commit is contained in:
parent
cfb46e5d45
commit
91f8777f84
11
package/util-linux/patches/801-cris-label.patch
Normal file
11
package/util-linux/patches/801-cris-label.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- util-linux-2.12r.orig/fdisk/fdiskbsdlabel.h 2007-06-12 21:32:25.000000000 +0200
|
||||||
|
+++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-06-12 21:33:20.000000000 +0200
|
||||||
|
@@ -43,7 +43,7 @@
|
||||||
|
|
||||||
|
#define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
|
||||||
|
|
||||||
|
-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
|
||||||
|
+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__)
|
||||||
|
#define BSD_LABELSECTOR 1
|
||||||
|
#define BSD_LABELOFFSET 0
|
||||||
|
#elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
|
139
package/wpa_supplicant/files/config.cris
Normal file
139
package/wpa_supplicant/files/config.cris
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
# Driver interface for Host AP driver
|
||||||
|
#CONFIG_DRIVER_HOSTAP=y
|
||||||
|
|
||||||
|
# Driver interface for Agere driver
|
||||||
|
#CONFIG_DRIVER_HERMES=y
|
||||||
|
# Change include directories to match with the local setup
|
||||||
|
#CFLAGS += -I../../hcf -I../../include -I../../include/hcf
|
||||||
|
#CFLAGS += -I../../include/wireless
|
||||||
|
|
||||||
|
# Driver interface for madwifi driver
|
||||||
|
#CONFIG_DRIVER_MADWIFI=y
|
||||||
|
# Change include directories to match with the local setup
|
||||||
|
#CFLAGS += -I../madwifi/wpa
|
||||||
|
|
||||||
|
# Driver interface for Prism54 driver
|
||||||
|
# (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
|
||||||
|
# for developers only)
|
||||||
|
#CONFIG_DRIVER_PRISM54=y
|
||||||
|
|
||||||
|
# Driver interface for ndiswrapper
|
||||||
|
#CONFIG_DRIVER_NDISWRAPPER=y
|
||||||
|
|
||||||
|
# Driver interface for Atmel driver
|
||||||
|
#CONFIG_DRIVER_ATMEL=y
|
||||||
|
|
||||||
|
# Driver interface for Broadcom driver
|
||||||
|
# CONFIG_DRIVER_BROADCOM=y
|
||||||
|
# Example path for wlioctl.h; change to match your configuration
|
||||||
|
# CFLAGS += -I../nvram/include
|
||||||
|
|
||||||
|
# Driver interface for Intel ipw2100/2200 driver
|
||||||
|
#CONFIG_DRIVER_IPW=y
|
||||||
|
|
||||||
|
# Driver interface for generic Linux wireless extensions
|
||||||
|
CONFIG_DRIVER_WEXT=y
|
||||||
|
|
||||||
|
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
|
||||||
|
#CONFIG_DRIVER_BSD=y
|
||||||
|
#CFLAGS += -I/usr/local/include
|
||||||
|
#LIBS += -L/usr/local/lib
|
||||||
|
|
||||||
|
# Driver interface for Windows NDIS
|
||||||
|
#CONFIG_DRIVER_NDIS=y
|
||||||
|
#CFLAGS += -I/usr/include/w32api/ddk
|
||||||
|
#LIBS += -L/usr/local/lib
|
||||||
|
# For native build using mingw
|
||||||
|
#CONFIG_NATIVE_WINDOWS=y
|
||||||
|
# Additional directories for cross-compilation on Linux host for mingw target
|
||||||
|
#CFLAGS += -I/opt/mingw/mingw32/include/ddk
|
||||||
|
#LIBS += -L/opt/mingw/mingw32/lib
|
||||||
|
#CC=mingw32-gcc
|
||||||
|
|
||||||
|
# Driver interface for development testing
|
||||||
|
#CONFIG_DRIVER_TEST=y
|
||||||
|
|
||||||
|
# Driver interface for wired Ethernet drivers
|
||||||
|
CONFIG_DRIVER_WIRED=y
|
||||||
|
|
||||||
|
# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
|
||||||
|
# included)
|
||||||
|
CONFIG_IEEE8021X_EAPOL=y
|
||||||
|
|
||||||
|
# EAP-MD5 (automatically included if EAP-TTLS is enabled)
|
||||||
|
CONFIG_EAP_MD5=y
|
||||||
|
|
||||||
|
# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)
|
||||||
|
CONFIG_EAP_MSCHAPV2=y
|
||||||
|
|
||||||
|
# EAP-TLS
|
||||||
|
CONFIG_EAP_TLS=y
|
||||||
|
|
||||||
|
# EAL-PEAP
|
||||||
|
CONFIG_EAP_PEAP=y
|
||||||
|
|
||||||
|
# EAP-TTLS
|
||||||
|
CONFIG_EAP_TTLS=y
|
||||||
|
|
||||||
|
# EAP-GTC
|
||||||
|
CONFIG_EAP_GTC=y
|
||||||
|
|
||||||
|
# EAP-OTP
|
||||||
|
CONFIG_EAP_OTP=y
|
||||||
|
|
||||||
|
# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
|
||||||
|
#CONFIG_EAP_SIM=y
|
||||||
|
|
||||||
|
# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
|
||||||
|
#CONFIG_EAP_PSK=y
|
||||||
|
|
||||||
|
# EAP-PAX
|
||||||
|
#CONFIG_EAP_PAX=y
|
||||||
|
|
||||||
|
# LEAP
|
||||||
|
CONFIG_EAP_LEAP=y
|
||||||
|
|
||||||
|
# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
|
||||||
|
#CONFIG_EAP_AKA=y
|
||||||
|
|
||||||
|
# PKCS#12 (PFX) support (used to read private key and certificate file from
|
||||||
|
# a file that usually has extension .p12 or .pfx)
|
||||||
|
CONFIG_PKCS12=y
|
||||||
|
|
||||||
|
# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
|
||||||
|
# engine.
|
||||||
|
CONFIG_SMARTCARD=y
|
||||||
|
|
||||||
|
# PC/SC interface for smartcards (USIM, GSM SIM)
|
||||||
|
# Enable this if EAP-SIM or EAP-AKA is included
|
||||||
|
#CONFIG_PCSC=y
|
||||||
|
|
||||||
|
# Development testing
|
||||||
|
#CONFIG_EAPOL_TEST=y
|
||||||
|
|
||||||
|
# Replace native Linux implementation of packet sockets with libdnet/libpcap.
|
||||||
|
# This will be automatically set for non-Linux OS.
|
||||||
|
#CONFIG_DNET_PCAP=y
|
||||||
|
|
||||||
|
# Include control interface for external programs, e.g, wpa_cli
|
||||||
|
CONFIG_CTRL_IFACE=y
|
||||||
|
|
||||||
|
# Include support for GNU Readline and History Libraries in wpa_cli.
|
||||||
|
# When building a wpa_cli binary for distribution, please note that these
|
||||||
|
# libraries are licensed under GPL and as such, BSD license may not apply for
|
||||||
|
# the resulting binary.
|
||||||
|
#CONFIG_READLINE=y
|
||||||
|
|
||||||
|
# Remove debugging code that is printing out debug message to stdout.
|
||||||
|
# This can be used to reduce the size of the wpa_supplicant considerably
|
||||||
|
# if debugging code is not needed. The size reduction can be around 35%
|
||||||
|
# (e.g., 90 kB).
|
||||||
|
#CONFIG_NO_STDOUT_DEBUG=y
|
||||||
|
|
||||||
|
# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
|
||||||
|
# 35-50 kB in code size.
|
||||||
|
#CONFIG_NO_WPA=y
|
||||||
|
|
||||||
|
# Select configuration backend:
|
||||||
|
# file = text file (e.g., wpa_supplicant.conf)
|
||||||
|
CONFIG_BACKEND=file
|
22
toolchain/binutils/patches/2.17/601-cris-errormsg.patch
Normal file
22
toolchain/binutils/patches/2.17/601-cris-errormsg.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff -urN binutils-2.17.orig/bfd/elf32-cris.c binutils-2.17/bfd/elf32-cris.c
|
||||||
|
--- binutils-2.17.orig/bfd/elf32-cris.c 2007-06-12 22:23:24.000000000 +0200
|
||||||
|
+++ binutils-2.17/bfd/elf32-cris.c 2007-06-12 22:28:54.000000000 +0200
|
||||||
|
@@ -2709,12 +2709,12 @@
|
||||||
|
&& (sec->flags & SEC_READONLY) != 0)
|
||||||
|
{
|
||||||
|
/* FIXME: How do we make this optionally a warning only? */
|
||||||
|
- (*_bfd_error_handler)
|
||||||
|
- (_("%B, section %A:\n relocation %s should not"
|
||||||
|
- " be used in a shared object; recompile with -fPIC"),
|
||||||
|
- abfd,
|
||||||
|
- sec,
|
||||||
|
- cris_elf_howto_table[r_type].name);
|
||||||
|
+ // (*_bfd_error_handler)
|
||||||
|
+ //(_("%B, section %A:\n relocation %s should not"
|
||||||
|
+ // " be used in a shared object; recompile with -fPIC"),
|
||||||
|
+// abfd,
|
||||||
|
+// sec,
|
||||||
|
+// cris_elf_howto_table[r_type].name);
|
||||||
|
}
|
||||||
|
/* Fall through. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user