Commit Graph

22114 Commits (acd7d11180adb511a787a5de1f6609d17a45e48e)

Author SHA1 Message Date
Jo-Philipp Wich acd7d11180 [tools] autoconf: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:56:08 +00:00
Jo-Philipp Wich dd7ae3135e [tools] automake: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:55:55 +00:00
Jonas Gorski 9435ae8d19 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 19:51:54 +00:00
Jo-Philipp Wich b90053eada [package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 15:37:47 +00:00
Jo-Philipp Wich a69a79c0bc [buildroot] abort built in prereq target if there is no site config file for the current target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 12:19:28 +00:00
Jonas Gorski 76014f37f4 package: kernel: fix files for blowfish and pcimcia-rsrc
Based on a patch from Philip Prindeville.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 08:25:26 +00:00
Jo-Philipp Wich cf5235cb78 [include] site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 03:10:27 +00:00
Jo-Philipp Wich a2378e6918 [adm5120] add missing kernel symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:57:22 +00:00
Jo-Philipp Wich 2499b683d7 [package] busybox: fix previous commit, make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 default to CONFIG_IPV6, not depend on it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:50:53 +00:00
Jo-Philipp Wich be373bdc49 [package] busybox: make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 depend on CONFIG_IPV6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:33:53 +00:00
Jo-Philipp Wich d3cae4c425 Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 01:14:45 +00:00
Jo-Philipp Wich 7b83cebba9 x86/config-3.2: add linux-3.2 symbols for x86
The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:31:39 +00:00
Jo-Philipp Wich c071f2b90b [scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:03:52 +00:00
Jo-Philipp Wich f24b74fc72 [scripts] ext-toolchain.sh: fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 00:01:54 +00:00
Jo-Philipp Wich 4926d6074e [scripts] ext-toolchain.sh: add option to write .config
Add a new --config option to generate a .config from a given toolchain,
this allows for easy integration of external toolchains, e.g.

  ./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros

to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 23:46:06 +00:00
Jo-Philipp Wich 8b37a9edbd [package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:22:14 +00:00
Jo-Philipp Wich 4902e6be60 [package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:05:48 +00:00
Jo-Philipp Wich 77ef1563a0 [package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:00:53 +00:00
Hauke Mehrtens 6ef002c501 packages: kernel: add usb-common.ko to usb package for kernel >= 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 17:13:23 +00:00
Jo-Philipp Wich baafb55f70 [package] openssl: fix syntax error in OpenWrt Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 14:48:16 +00:00
Florian Fainelli 14af639832 [kernel] fix thinko in 102-ehci_hcd_ignore_oc patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 07:56:02 +00:00
Jo-Philipp Wich 838e920855 [scripts] ext-toolchain.sh: properly handle toolchains without sysroot support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 04:03:15 +00:00
Jo-Philipp Wich a9c1f1c25f [package] openssl: don't fail with empty TARGET_LDFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:54:09 +00:00
Jo-Philipp Wich 20a5105819 [scripts] ext-toolchain.sh:
- use GCC's own idea of the target name (-dumpmachine)
	- display help if called without args
	- add copyright foo
	- remove some leftover flag handling code


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:32:30 +00:00
Jo-Philipp Wich 03eb729498 [toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from 
TARGET_LDFLAGS and TARGET_CPPFLAGS.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
Jo-Philipp Wich c9fe1a096b [scripts] add patch-specs.sh, a utility for modifying GCC specs
The patch-specs.sh utility dumps the GCC specs of a given toolchain
and modifies them to always include $STAGING_DIR in the link and 
compiler command lines, this makes most -I and -L flags unnecessary
and lets the compiler automatically find libraries and headers in
the staging dir, also solves the majority of -rpath issues.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:11:45 +00:00
Jo-Philipp Wich ac2f1b4f01 [buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or 
CONFIG_IPV6 are enabled but not supported by the toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
Jo-Philipp Wich 39407a1e6e [scripts] add ext-toolchain.sh, a utility for external toolchains
The ext-toolchain.sh utility script implements various external toolchain tasks:
  * Testing of available features, like c++, soft-float or ipv6 support
  * Finding the libc implementation (uclibc or eglibc/glibc)
  * Inferring the GNU target name
  * Finding shared objects for packaging (libc, libpthread, ...)
  * Finding executables for packaging (ldd, gdbserver, ...)
  * Generating wrapper scripts for toolchain commands


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:03:24 +00:00
John Crispin 286f36a31d [lantiq] gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 12:10:35 +00:00
John Crispin b58ab60fff ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 11:23:11 +00:00
Felix Fietkau bfe81f3c87 rt2x00: add a patch to avoid excessive memmove() on packet contents to improve performance (patch by Helmut Schaa)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-16 08:14:27 +00:00
Hauke Mehrtens 50050af93c brcm47xx: add support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 21:18:34 +00:00
Hauke Mehrtens f1429085fb brcm47xx: run kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 14:53:32 +00:00
John Crispin 1e0b48fafb tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
Imre Kaloz 8f76568da9 [target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 23:02:56 +00:00
Imre Kaloz 26cb77ef88 [package/mac80211]: build and package the wl12xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:56:22 +00:00
Imre Kaloz c4bc1f1ae3 [generic/3.2]: fixup arm xz support with recent changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:55:04 +00:00
Imre Kaloz a3072557cb [generic/3.2]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:53:28 +00:00
Imre Kaloz dbbcc5eb2e [toolchain/gcc]: upgrade to latest linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
Felix Fietkau 2b5ef1fd59 kernel: disable bridge igmp snooping in 3.2 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 14:57:03 +00:00
Felix Fietkau 275452c591 ath9k: fix handling of the KeyMiss flag for received packets - fixes connection stability issues with crypto enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:30 +00:00
Felix Fietkau 08351a2063 kernel: disable bridge igmp snooping by default to avoid multicast issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:25 +00:00
Felix Fietkau 0037dbe598 libnl-tiny: export unl_genl_multicast_id()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:21 +00:00
Jonas Gorski 743fd0610a kernel: ppc40x: ppc44x: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 12:04:17 +00:00
Hauke Mehrtens ded3e716f6 broadcom-diag: add support for some new devices
There is still no Ethernet driver for these devices in trunk.

Thanks George Kashperko for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:21:15 +00:00
Hauke Mehrtens 818a4e7d60 brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:11:23 +00:00
Jo-Philipp Wich 2a947c251e [generic] rtl8366: fix rtl8366_smi_detect() after r29677
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 19:17:58 +00:00
Jonas Gorski 4aabd3dd85 brcm63xx: add support for linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:59:50 +00:00
Jonas Gorski b49e97601b kernel: add support for linux 3.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:55:07 +00:00
Jonas Gorski ef7ec19360 package: iptables: fix compilation with linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:49:19 +00:00