openwrt/openwrt.git
11 years agoar71xx: remove duplicated AP121 Kconfig entry
Gabor Juhos [Fri, 20 Apr 2012 16:50:16 +0000 (16:50 +0000)]
ar71xx: remove duplicated AP121 Kconfig entry

SVN-Revision: 31382

11 years agocns21xx: remove 3.2 support
Gabor Juhos [Fri, 20 Apr 2012 15:25:00 +0000 (15:25 +0000)]
cns21xx: remove 3.2 support

SVN-Revision: 31381

11 years agocns21xx: switch to 3.3.2
Gabor Juhos [Fri, 20 Apr 2012 15:24:59 +0000 (15:24 +0000)]
cns21xx: switch to 3.3.2

SVN-Revision: 31380

11 years agocns21xx: add support for 3.3
Gabor Juhos [Fri, 20 Apr 2012 15:24:57 +0000 (15:24 +0000)]
cns21xx: add support for 3.3

SVN-Revision: 31379

11 years agolinux/3.3: update ARM mach-types
Gabor Juhos [Fri, 20 Apr 2012 15:24:54 +0000 (15:24 +0000)]
linux/3.3: update ARM mach-types

SVN-Revision: 31378

11 years agoe2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz...
Jo-Philipp Wich [Fri, 20 Apr 2012 15:18:17 +0000 (15:18 +0000)]
e2fsprogs: fix status reaping with fsck piped to logger, based on patch by Lukasz Golec-Biernat <mojedokumenty+openwrt@gmail.com>

SVN-Revision: 31377

11 years agoenable ntpd server for busybox
Jo-Philipp Wich [Fri, 20 Apr 2012 15:05:38 +0000 (15:05 +0000)]
enable ntpd server for busybox

hi

Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file
You can patch trunk and bacfire (tested both)
You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123), and also in server mode only (if you didn't put any servers in the config and still put enable_server 1,  ntpd will answer with the time of the router)

I've replaced "config_foreach getpeers timeserver" with "config_get peers ntp server" because we want ntp timeserver, not random ones (to pre-answer if someone want to say that it's intrusive ...)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Le 27/03/2012 20:41, Etienne Champetier a écrit :
> I've now tested my trunk patch and it works fine
> But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???)
> (I've made some grep and nothing)
>
> Le 23/03/2012 02:19, Philip Prindeville a écrit :
>> Maybe:
>>
>> [ -n "$PROG" -a -x "$PROG" ] || return 1
>>
>> instead?
>>
>>
>> On 3/22/12 4:34 PM, Etienne Champetier wrote:
>>> Hi
>>>
>>> The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default.
>>> We only need 1 client/server daemon (olipro patch was launching 2 daemons)
>>> I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sure for the trunk patch (i'm sure about my modifications, but i'm not sure about "[ -x $PROG ] || return 1", as "$PROG" isn't defined ?!)
>>>
>>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
>>>
>>>
>>> Le 16/01/2012 01:57, Philip Prindeville a écrit :
>>>> On 1/14/12 11:37 AM, Olipro wrote:
>>>>> On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote:
>>>>>> Don't we already have a 'disabled' option?  Now we're adding an
>>>>>> 'enable_server' option?
>>>>>>
>>>>>> That seems confusing for no useful reason.
>>>>>>
>>>>> have you bothered to read what I originally wrote? your response would make
>>>>> me inclined to believe that you didn't.
>>>>>
>>>>> currently the ntpd initscript only runs it as a CLIENT - this patch enables
>>>>> you to have one instance running as a client and another as a SERVER that
>>>>> other hosts can synchronise with.
>>>>>
>>>>> Or perhaps I'm misunderstanding, what would you propose for allowing the
>>>>> built-in busybox ntpd to be utilised as a server? a separate init script
>>>>> entirely perhaps?
>>>> Or separate config sections... instead of 'config ntp' have 'config ntp-server' and 'config ntp-client'.
>>>>
>>>> -Philip
>>>>
>>>>
>>>> _______________________________________________
>>>> openwrt-devel mailing list
>>>> openwrt-devel@lists.openwrt.org
>>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

SVN-Revision: 31374

11 years agoAdd a missing symbol for config-3.3
Claudio Mignanti [Fri, 20 Apr 2012 13:33:04 +0000 (13:33 +0000)]
Add a missing symbol for config-3.3

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31373

11 years agoReorganize the subtargets, group subtargets per cpu family
Claudio Mignanti [Fri, 20 Apr 2012 13:33:01 +0000 (13:33 +0000)]
Reorganize the subtargets, group subtargets per cpu family

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31372

11 years agoUpdate the kernel to 3.3.x series, remove patches that doesn't apply anymore
Claudio Mignanti [Fri, 20 Apr 2012 13:32:55 +0000 (13:32 +0000)]
Update the kernel to 3.3.x series, remove patches that doesn't apply anymore

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31371

11 years agoEnsure that the bin directory exists before copy the files
Claudio Mignanti [Fri, 20 Apr 2012 13:27:16 +0000 (13:27 +0000)]
Ensure that the bin directory exists before copy the files

Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
SVN-Revision: 31370

11 years agoremove some annoying warnings and fix snd modules build
Florian Fainelli [Fri, 20 Apr 2012 13:25:26 +0000 (13:25 +0000)]
remove some annoying warnings and fix snd modules build

SVN-Revision: 31365

11 years agoadd missing config symbol
Florian Fainelli [Fri, 20 Apr 2012 13:25:23 +0000 (13:25 +0000)]
add missing config symbol

SVN-Revision: 31364

11 years agogpio-button-hotplug: don't build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:20 +0000 (13:25 +0000)]
gpio-button-hotplug: don't build on 2.6.30

SVN-Revision: 31363

11 years agobutton-hotplug: prevent build on 2.6.30
Florian Fainelli [Fri, 20 Apr 2012 13:25:17 +0000 (13:25 +0000)]
button-hotplug: prevent build on 2.6.30

SVN-Revision: 31362

11 years agoxfsprogs: disable po files building
Florian Fainelli [Fri, 20 Apr 2012 13:25:08 +0000 (13:25 +0000)]
xfsprogs: disable po files building

SVN-Revision: 31361

12 years agoar71xx: nuke 3.2 support
Gabor Juhos [Thu, 19 Apr 2012 21:32:05 +0000 (21:32 +0000)]
ar71xx: nuke 3.2 support

SVN-Revision: 31360

12 years agoar71xx: switch to 3.3.2
Gabor Juhos [Thu, 19 Apr 2012 21:31:58 +0000 (21:31 +0000)]
ar71xx: switch to 3.3.2

SVN-Revision: 31359

12 years agoar71xx: sync 3.3 config
Gabor Juhos [Thu, 19 Apr 2012 21:31:53 +0000 (21:31 +0000)]
ar71xx: sync 3.3 config

SVN-Revision: 31358

12 years agoar71xx: merge/reorganize 3.3 patches
Gabor Juhos [Thu, 19 Apr 2012 21:31:50 +0000 (21:31 +0000)]
ar71xx: merge/reorganize 3.3 patches

SVN-Revision: 31357

12 years agoar71xx: use ap91_pci_init for RB751{,G}
Gabor Juhos [Thu, 19 Apr 2012 21:31:48 +0000 (21:31 +0000)]
ar71xx: use ap91_pci_init for RB751{,G}

SVN-Revision: 31356

12 years agoar71xx: move USB device registration directly into rb751{,g}_setup
Gabor Juhos [Thu, 19 Apr 2012 21:31:43 +0000 (21:31 +0000)]
ar71xx: move USB device registration directly into rb751{,g}_setup

SVN-Revision: 31355

12 years agoar71xx: add ap9x_pci_get_wmac_data helper
Gabor Juhos [Thu, 19 Apr 2012 21:31:42 +0000 (21:31 +0000)]
ar71xx: add ap9x_pci_get_wmac_data helper

SVN-Revision: 31354

12 years agoar71xx: add sanity checks to decode_rle
Gabor Juhos [Thu, 19 Apr 2012 21:31:40 +0000 (21:31 +0000)]
ar71xx: add sanity checks to decode_rle

Also use -EINVAL instead of -1.

SVN-Revision: 31353

12 years agoavr32: remove old kernel support
Gabor Juhos [Thu, 19 Apr 2012 21:23:07 +0000 (21:23 +0000)]
avr32: remove old kernel support

SVN-Revision: 31352

12 years agoavr32: switch to 3.3.2
Gabor Juhos [Thu, 19 Apr 2012 21:23:02 +0000 (21:23 +0000)]
avr32: switch to 3.3.2

uClibc-0.9.33 causes segfaults at least in iptables.
The segfaults are present with 2.6.39 as well, so it
makes no sense to stick to that version.

SVN-Revision: 31351

12 years agoavr32: sync kernel config
Gabor Juhos [Thu, 19 Apr 2012 21:22:50 +0000 (21:22 +0000)]
avr32: sync kernel config

SVN-Revision: 31350

12 years agoavr32: fix atomic64_t related kernel build errors
Gabor Juhos [Thu, 19 Apr 2012 21:22:48 +0000 (21:22 +0000)]
avr32: fix atomic64_t related kernel build errors

SVN-Revision: 31349

12 years agomac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx power fix
Felix Fietkau [Thu, 19 Apr 2012 18:32:39 +0000 (18:32 +0000)]
mac80211: update to 2012-04-17, adds some build fixes and juhosg's ar9380 tx power fix

SVN-Revision: 31347

12 years agoopenssl: update to v1.0.1a (CVE-2012-2110)
Jo-Philipp Wich [Thu, 19 Apr 2012 14:05:53 +0000 (14:05 +0000)]
openssl: update to v1.0.1a (CVE-2012-2110)

SVN-Revision: 31346

12 years agoswitch to 3.2.15
Florian Fainelli [Wed, 18 Apr 2012 15:36:33 +0000 (15:36 +0000)]
switch to 3.2.15

SVN-Revision: 31345

12 years agofix 335-mips-kexec patch for all 3+ kernels
Florian Fainelli [Wed, 18 Apr 2012 15:36:30 +0000 (15:36 +0000)]
fix 335-mips-kexec patch for all 3+ kernels

SVN-Revision: 31344

12 years agomake xz ramdisk images also available for 2.6.39+
Jonas Gorski [Wed, 18 Apr 2012 15:14:05 +0000 (15:14 +0000)]
make xz ramdisk images also available for 2.6.39+

2.6.38 isn't the only kernel supporting it.

SVN-Revision: 31343

12 years agowhen choosing eglibc select eglibc version 2.13 by default
Mirko Vogt [Wed, 18 Apr 2012 01:10:37 +0000 (01:10 +0000)]
when choosing eglibc select eglibc version 2.13 by default

SVN-Revision: 31342

12 years agoremove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12
Mirko Vogt [Wed, 18 Apr 2012 01:10:20 +0000 (01:10 +0000)]
remove patch '100-do-not-use-implicit-rules.patch' for eglibc 2.12

Mentioned patch got obsoleted by commit 31300, since it went upstream meanwhile

SVN-Revision: 31341

12 years agoppp: move ppp-{up,down} from the netifd package to pppd
Felix Fietkau [Tue, 17 Apr 2012 21:35:13 +0000 (21:35 +0000)]
ppp: move ppp-{up,down} from the netifd package to pppd

SVN-Revision: 31340

12 years agonetifd: update to latest, fixes ppp reconnect issues
Felix Fietkau [Tue, 17 Apr 2012 21:35:09 +0000 (21:35 +0000)]
netifd: update to latest, fixes ppp reconnect issues

SVN-Revision: 31339

12 years agokernel: x86: also update subtarget kernel versions
Jonas Gorski [Tue, 17 Apr 2012 21:01:43 +0000 (21:01 +0000)]
kernel: x86: also update subtarget kernel versions

SVN-Revision: 31338

12 years agokernel: also update the targets to use 3.2.15
Jonas Gorski [Tue, 17 Apr 2012 13:12:14 +0000 (13:12 +0000)]
kernel: also update the targets to use 3.2.15

Thanks Gabor for spotting it.

SVN-Revision: 31337

12 years agokernel: update linux 3.3 to 3.3.2
Jonas Gorski [Tue, 17 Apr 2012 12:51:02 +0000 (12:51 +0000)]
kernel: update linux 3.3 to 3.3.2

SVN-Revision: 31336

12 years agokernel: update linux 3.2 to 3.2.15
Jonas Gorski [Tue, 17 Apr 2012 12:50:54 +0000 (12:50 +0000)]
kernel: update linux 3.2 to 3.2.15

SVN-Revision: 31335

12 years agodon't overwrite version.mk, substitute REVISION instead
Jo-Philipp Wich [Tue, 17 Apr 2012 09:31:16 +0000 (09:31 +0000)]
don't overwrite version.mk, substitute REVISION instead

SVN-Revision: 31327

12 years agoath9k/ath5k: fix driver load issues with mesh support compiled out
Felix Fietkau [Tue, 17 Apr 2012 00:05:41 +0000 (00:05 +0000)]
ath9k/ath5k: fix driver load issues with mesh support compiled out

SVN-Revision: 31326

12 years agoiw: sync nl80211.h update with compat-wireless
Felix Fietkau [Mon, 16 Apr 2012 21:13:18 +0000 (21:13 +0000)]
iw: sync nl80211.h update with compat-wireless

SVN-Revision: 31323

12 years agomac80211: update to wireless-testing 2012-04-13
Felix Fietkau [Mon, 16 Apr 2012 21:08:41 +0000 (21:08 +0000)]
mac80211: update to wireless-testing 2012-04-13

SVN-Revision: 31322

12 years agomklibs: revert r31315
Jo-Philipp Wich [Mon, 16 Apr 2012 15:35:45 +0000 (15:35 +0000)]
mklibs: revert r31315

SVN-Revision: 31316

12 years agotools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Jo-Philipp Wich [Mon, 16 Apr 2012 15:11:32 +0000 (15:11 +0000)]
tools/mklibs: add missing <unistd.h> in readelf/elf.cpp

Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 31315

12 years agobump to Linux v3.3.1
Jo-Philipp Wich [Mon, 16 Apr 2012 15:04:47 +0000 (15:04 +0000)]
bump to Linux v3.3.1

SVN-Revision: 31314

12 years agoFix bufferbloat in PPPoATM TX queue
Jo-Philipp Wich [Mon, 16 Apr 2012 15:04:45 +0000 (15:04 +0000)]
Fix bufferbloat in PPPoATM TX queue

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31313

12 years agoUpdate ppp TX restart patch to avoid race condition
Jo-Philipp Wich [Mon, 16 Apr 2012 15:04:44 +0000 (15:04 +0000)]
Update ppp TX restart patch to avoid race condition

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 31312

12 years agoiproute2: Add hotplug script to add slave devices to TEQL master
Jo-Philipp Wich [Mon, 16 Apr 2012 15:04:42 +0000 (15:04 +0000)]
iproute2: Add hotplug script to add slave devices to TEQL master

Resolves https://dev.openwrt.org/ticket/11192

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
SVN-Revision: 31311

12 years agoadds 3.3 patches and files
John Crispin [Mon, 16 Apr 2012 12:31:48 +0000 (12:31 +0000)]
adds 3.3 patches and files

SVN-Revision: 31307

12 years agobackport missing platform data members for gpio-keys
Florian Fainelli [Mon, 16 Apr 2012 12:09:15 +0000 (12:09 +0000)]
backport missing platform data members for gpio-keys

SVN-Revision: 31306

12 years agobackport a missing eeprom 93cx6 define for building rt2x00
Florian Fainelli [Mon, 16 Apr 2012 12:09:13 +0000 (12:09 +0000)]
backport a missing eeprom 93cx6 define for building rt2x00

SVN-Revision: 31305

12 years agosierra-directip: disable build with kernels older than 2.6.32 included
Florian Fainelli [Mon, 16 Apr 2012 11:38:38 +0000 (11:38 +0000)]
sierra-directip: disable build with kernels older than 2.6.32 included

SVN-Revision: 31303

12 years agoadd missing debugging symbols
Florian Fainelli [Mon, 16 Apr 2012 11:38:35 +0000 (11:38 +0000)]
add missing debugging symbols

SVN-Revision: 31302

12 years agoadd missing debugging symbols
Florian Fainelli [Mon, 16 Apr 2012 11:38:33 +0000 (11:38 +0000)]
add missing debugging symbols

SVN-Revision: 31301

12 years agolevel up eglibc versions to latest revisions of its respective branches
Mirko Vogt [Mon, 16 Apr 2012 08:40:45 +0000 (08:40 +0000)]
level up eglibc versions to latest revisions of its respective branches

in particular this solves the issue that eglibc version 2.x produced so-files having the version string 2.(x-1) in its names which confused the toolchain

SVN-Revision: 31300

12 years agomark set but unused variables as such
Florian Fainelli [Sun, 15 Apr 2012 18:53:48 +0000 (18:53 +0000)]
mark set but unused variables as such

SVN-Revision: 31296

12 years agorefresh 2.6.32 patches
Florian Fainelli [Sun, 15 Apr 2012 18:53:45 +0000 (18:53 +0000)]
refresh 2.6.32 patches

SVN-Revision: 31295

12 years agorefresh 2.6.32 patches
Florian Fainelli [Sun, 15 Apr 2012 18:53:42 +0000 (18:53 +0000)]
refresh 2.6.32 patches

SVN-Revision: 31294

12 years agosilence an annoying x86 warning
Florian Fainelli [Sun, 15 Apr 2012 18:53:39 +0000 (18:53 +0000)]
silence an annoying x86 warning

SVN-Revision: 31293

12 years agodisable xfs on avr32
Travis Kemen [Sun, 15 Apr 2012 16:22:59 +0000 (16:22 +0000)]
disable xfs on avr32

SVN-Revision: 31291

12 years agobase-files: reformat banner to better work with varying version string lengths, do...
Jo-Philipp Wich [Sun, 15 Apr 2012 15:21:55 +0000 (15:21 +0000)]
base-files: reformat banner to better work with varying version string lengths, do not set image options if menu is disabled (#11280)

SVN-Revision: 31289

12 years agoat91: Missing kernel config symbols for AT91 target platform
Hauke Mehrtens [Sun, 15 Apr 2012 09:50:51 +0000 (09:50 +0000)]
at91: Missing kernel config symbols for AT91 target platform

I looked into buildbot snapshots and noticed that some platforms have
not successfully compiled for a long time. One example is at91, which
seems to be missing device-related kernel config symbols and the
snapshot build crashes already there.

Please find attached a patch that makes the at91 kernel config and
build to succeed again.

Signed off by: hannu.nyman@iki.fi

SVN-Revision: 31288

12 years agobrcm47xx: fix a bug in the sprom handling of bcma, this broke all bcma based SoCs.
Hauke Mehrtens [Sat, 14 Apr 2012 12:12:22 +0000 (12:12 +0000)]
brcm47xx: fix a bug in the sprom handling of bcma, this broke all bcma based SoCs.

bcma: use fallback sprom if no on chip sprom is available

SVN-Revision: 31285

12 years agotools: sdcc: fix order of linking with libm
Jonas Gorski [Sat, 14 Apr 2012 09:05:02 +0000 (09:05 +0000)]
tools: sdcc: fix order of linking with libm

Fixes a build failure caught by buildbot.

SVN-Revision: 31284

12 years agokernel: refresh patches
Hauke Mehrtens [Fri, 13 Apr 2012 19:37:15 +0000 (19:37 +0000)]
kernel: refresh patches

SVN-Revision: 31279

12 years agokernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
Hauke Mehrtens [Fri, 13 Apr 2012 19:35:40 +0000 (19:35 +0000)]
kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing

SVN-Revision: 31278

12 years agomac80211: add missing dependency to mac80211 to brcmsmac
Hauke Mehrtens [Fri, 13 Apr 2012 18:37:46 +0000 (18:37 +0000)]
mac80211: add missing dependency to mac80211 to brcmsmac

SVN-Revision: 31277

12 years agobrcm47xx: remove support for kernel 3.0
Hauke Mehrtens [Fri, 13 Apr 2012 16:53:16 +0000 (16:53 +0000)]
brcm47xx: remove support for kernel 3.0

SVN-Revision: 31276

12 years agoixp4xx: add support for linux 3.3.1
Felix Fietkau [Fri, 13 Apr 2012 13:38:49 +0000 (13:38 +0000)]
ixp4xx: add support for linux 3.3.1

SVN-Revision: 31275

12 years agokernel: fix arm compressed images build on mac os x
Felix Fietkau [Fri, 13 Apr 2012 13:38:45 +0000 (13:38 +0000)]
kernel: fix arm compressed images build on mac os x

SVN-Revision: 31274

12 years agodon't overwrite version.mk, substitute REVISION instead
Jo-Philipp Wich [Fri, 13 Apr 2012 10:47:45 +0000 (10:47 +0000)]
don't overwrite version.mk, substitute REVISION instead

SVN-Revision: 31271

12 years agoPATCH: Disable console terminal in Grub for alix2 target
Jo-Philipp Wich [Thu, 12 Apr 2012 23:30:27 +0000 (23:30 +0000)]
PATCH: Disable console terminal in Grub for alix2 target

The alix2 target has the VGA console for grub enabled by default. This
prevents the grub menu from appearing on bootup. It is disabled by
default for the other embedded x86 platforms. This patch corrects that
behavior for the alix2 target.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>
SVN-Revision: 31270

12 years agopopulate repositories.conf from version.mk
Jo-Philipp Wich [Thu, 12 Apr 2012 23:08:13 +0000 (23:08 +0000)]
populate repositories.conf from version.mk

SVN-Revision: 31268

12 years agobase-file: cleanup white space in Kconfig source
Jo-Philipp Wich [Thu, 12 Apr 2012 23:01:39 +0000 (23:01 +0000)]
base-file: cleanup white space in Kconfig source

SVN-Revision: 31267

12 years agoath9k: fix sleep mode handling issues, should improve client mode reliability
Felix Fietkau [Thu, 12 Apr 2012 21:28:18 +0000 (21:28 +0000)]
ath9k: fix sleep mode handling issues, should improve client mode reliability

SVN-Revision: 31265

12 years agoinclude, base-files, opkg: introduce version configuration to override the embedded...
Jo-Philipp Wich [Thu, 12 Apr 2012 17:31:16 +0000 (17:31 +0000)]
include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner

The available placeholders are:
 %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
 %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
 %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
 %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
 %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
 %v .. Like %V, but all characters made lowercase and spaces substituted with "_"
 %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
 %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
 %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
 %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
 %T .. Replace with the current target (e.g. "ar71xx")
 %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")

SVN-Revision: 31262

12 years agonetifd: update to 2012-04-12, fixes interface reconnect issues and improves interface...
Felix Fietkau [Thu, 12 Apr 2012 13:58:07 +0000 (13:58 +0000)]
netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info

SVN-Revision: 31261

12 years agoupdate 3.2 patches
John Crispin [Thu, 12 Apr 2012 12:33:56 +0000 (12:33 +0000)]
update 3.2 patches

sync with lantiq kernel series

SVN-Revision: 31260

12 years agoadd missing includes ('unistd.h') for mklibs
Mirko Vogt [Thu, 12 Apr 2012 12:19:56 +0000 (12:19 +0000)]
add missing includes ('unistd.h') for mklibs

This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

SVN-Revision: 31259

12 years agobase-files: remove network preconfig, it collides with ar71xx network firstboot uci...
Jo-Philipp Wich [Thu, 12 Apr 2012 09:43:44 +0000 (09:43 +0000)]
base-files: remove network preconfig, it collides with ar71xx network firstboot uci-defaults To supply custom network settings, it is better to embed a complete network config file using the files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore drop this facility.

SVN-Revision: 31258

12 years agoremove preconfig variables
Jo-Philipp Wich [Thu, 12 Apr 2012 09:43:43 +0000 (09:43 +0000)]
remove preconfig variables

SVN-Revision: 31257

12 years agoremove preconfig variables
Jo-Philipp Wich [Thu, 12 Apr 2012 09:43:41 +0000 (09:43 +0000)]
remove preconfig variables

SVN-Revision: 31256

12 years agotoolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
Jo-Philipp Wich [Thu, 12 Apr 2012 07:48:02 +0000 (07:48 +0000)]
toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems

SVN-Revision: 31255

12 years agoexclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without faili...
Jo-Philipp Wich [Tue, 10 Apr 2012 21:04:06 +0000 (21:04 +0000)]
exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds

SVN-Revision: 31249

12 years agofix bad variable name inside Makefile
John Crispin [Tue, 10 Apr 2012 15:20:23 +0000 (15:20 +0000)]
fix bad variable name inside Makefile

We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles

SVN-Revision: 31244

12 years agoallow arbitary folder layout when using localmirrors
John Crispin [Tue, 10 Apr 2012 14:11:45 +0000 (14:11 +0000)]
allow arbitary folder layout when using localmirrors

Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.

Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31240

12 years agosdcc: compiling SDCCicode.c with -O2 sends gcc 4.6.x into an infinite loop, workaroun...
Jo-Philipp Wich [Tue, 10 Apr 2012 13:18:45 +0000 (13:18 +0000)]
sdcc: compiling SDCCicode.c with -O2 sends gcc 4.6.x into an infinite loop, workaround it See references: sourceforge.net/tracker/?func=detail&aid=3285611&group_id=599&atid=300599 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52653

SVN-Revision: 31236

12 years agoUse build suffix on build_dir paths
John Crispin [Tue, 10 Apr 2012 10:55:55 +0000 (10:55 +0000)]
Use build suffix on build_dir paths

Adds BUILD_SUFFIX to STAGING_DIR

Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31233

12 years agoadd missing Kernel symbol spotted by buildbot
Jo-Philipp Wich [Tue, 10 Apr 2012 10:09:27 +0000 (10:09 +0000)]
add missing Kernel symbol spotted by buildbot

SVN-Revision: 31232

12 years agoadd missing symbols
Imre Kaloz [Mon, 9 Apr 2012 17:03:02 +0000 (17:03 +0000)]
add missing symbols

SVN-Revision: 31231

12 years agoupgrade to gcc 4.4.7
Imre Kaloz [Mon, 9 Apr 2012 17:00:03 +0000 (17:00 +0000)]
upgrade to gcc 4.4.7

SVN-Revision: 31230

12 years agosdcc: sdcc needs sdcpp to bootstrap itself, so enable it
Jo-Philipp Wich [Mon, 9 Apr 2012 15:55:33 +0000 (15:55 +0000)]
sdcc: sdcc needs sdcpp to bootstrap itself, so enable it

SVN-Revision: 31229

12 years agotools: add sdcc subdir to Makefile
Jo-Philipp Wich [Mon, 9 Apr 2012 15:24:47 +0000 (15:24 +0000)]
tools: add sdcc subdir to Makefile

SVN-Revision: 31228

12 years agoadd an sdcc host build which is enabled if firmwarehotplug is selected
Jo-Philipp Wich [Mon, 9 Apr 2012 15:23:34 +0000 (15:23 +0000)]
add an sdcc host build which is enabled if firmwarehotplug is selected

SVN-Revision: 31226

12 years agokernel: update linux 3.3 to 3.3.1
Jonas Gorski [Mon, 9 Apr 2012 14:48:56 +0000 (14:48 +0000)]
kernel: update linux 3.3 to 3.3.1

SVN-Revision: 31223

12 years agokernel: update linux 3.2 to 3.2.14
Jonas Gorski [Mon, 9 Apr 2012 14:48:51 +0000 (14:48 +0000)]
kernel: update linux 3.2 to 3.2.14

SVN-Revision: 31222

12 years agokernel: add some more additional missing config symbols for 3.2 and 3.3
Jonas Gorski [Mon, 9 Apr 2012 14:48:46 +0000 (14:48 +0000)]
kernel: add some more additional missing config symbols for 3.2 and 3.3

SVN-Revision: 31221