Commit graph

99 commits

Author SHA1 Message Date
Mathias Kresin
cf7154db07 kernel: only optimized for size if small_flash
Add a new config option to allow to select the default compile
optimization level for the kernel.

Select the optimization for size by default if the small_flash feature is
set. Otherwise "Optimize for performance" is set.

Add the small_flash feature flag to all (sub)targets which had the
optimization for size in their default kernel config.

Remove CC_OPTIMIZE_FOR_* symbols from all kernel configs to apply the new
setting.

Exceptions to the above are:

  - lantiq, where the optimization for size is only required for the
    xway_legacy subtarget but was set for the whole target
  - mediatek, ramips/mt7620 & ramips/mt76x8 where boards should have
    plenty of space and an optimization for size doesn't make much sense
  - rb532, which has 128MByte flash

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-07-12 18:15:32 +02:00
John Crispin
f6a067a699 kernel: mark all v3.18 and v4.4 kernels are source-only
These will be removed if not updated to v4.4

Signed-off-by: John Crispin <john@phrozen.org>
2018-05-24 08:55:52 +02:00
Mathias Kresin
92eaf27c62 use immediate set in target Makefiles
No functional change, it's just to have the same style everywhere. This
way I don't need to use any regex magic to extract all subtargets for
compile tests.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-09-10 15:30:38 +02:00
Felix Fietkau
aa53f78038 build: fix subtarget descriptions
Move Target/Description above the target.mk include

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-04 13:35:11 +02:00
John Crispin
1a1d69da08 au1000: fix 3.18 and set it as default
Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44487
2015-02-18 09:49:38 +00:00
John Crispin
ae51d64671 au1000: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43494
2014-12-02 15:23:37 +00:00
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
John Crispin
ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
Hauke Mehrtens
a36ca743d6 au1000: update to kernel 3.10.44
This was tested by Bruno Randolf on au1000 (MTX-1)

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41669
2014-07-15 22:03:10 +00:00
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
Florian Fainelli
c56c18168e au1000: switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36066
2013-03-17 14:33:41 +00:00
Florian Fainelli
9760644af4 advertise squashfs feature
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34157
2012-11-11 19:26:54 +00:00
Florian Fainelli
b2d76e1e05 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32766
2012-07-17 16:39:47 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
fbe10e73c6 au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
2012-05-27 15:01:17 +00:00
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
6959317691 kernel: update linux 3.2 to 3.2.5
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Jonas Gorski
b3568b10c2 kernel: update linux 3.2 to 3.2.2
SVN-Revision: 29967
2012-01-31 09:44:00 +00:00
Florian Fainelli
ad808cf7e6 add support for 3.2 kernel
SVN-Revision: 29939
2012-01-29 15:00:25 +00:00
Hauke Mehrtens
09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Hauke Mehrtens
c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Florian Fainelli
763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Florian Fainelli
0de25d1263 update to 2.6.39
SVN-Revision: 27090
2011-06-02 13:45:20 +00:00
Florian Fainelli
de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Hauke Mehrtens
50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Imre Kaloz
b8430e7427 update to 2.6.32.33 and 2.6.37.4
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Hauke Mehrtens
4226f1d373 kernel: update to kernel version 2.6.37.3
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Florian Fainelli
cdb0481744 switch to using 2.6.37.1
SVN-Revision: 25622
2011-02-20 17:24:31 +00:00
Florian Fainelli
31709b2c76 update to 2.6.35.11
SVN-Revision: 25582
2011-02-19 12:44:16 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Imre Kaloz
0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Lars-Peter Clausen
cf445bb48f Update 2.6.35.x to 2.6.35.4
SVN-Revision: 22833
2010-08-29 18:19:20 +00:00
Michael Büsch
7ebcd04786 Update to 2.6.35.3
SVN-Revision: 22753
2010-08-21 19:25:07 +00:00
Florian Fainelli
153f4c8b9b add support for 2.6.35
SVN-Revision: 22568
2010-08-09 20:07:02 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Florian Fainelli
7484ad4108 add 2.6.34 support
SVN-Revision: 22041
2010-07-01 22:28:16 +00:00
Florian Fainelli
48b8c5e945 fix PCI, thanks br1, put back 2.6.32.14 support by default
SVN-Revision: 22033
2010-07-01 19:07:27 +00:00
Florian Fainelli
f394178e15 reinstate 2.6.30 support until 2.6.32 is fixed
SVN-Revision: 21959
2010-06-26 22:18:23 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Florian Fainelli
3ab3adb145 switch to 2.6.32, resync kernel config, enable gpio sysfs support
SVN-Revision: 19794
2010-02-21 14:28:05 +00:00