Commit Graph

73 Commits

Author SHA1 Message Date
Felix Fietkau
41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Felix Fietkau
03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau
5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Jo-Philipp Wich
42c190ead8 ensure that profile Makefiles are sourced in alphabetical order Since make 3.82 does not guarantee file ordering anymore, target profiles might get included in random order, leading to bad default values when only selecting the toplevel target and populating the .config with defconfig. This commit should also fix the ar71xx snapshot builds.
SVN-Revision: 31449
2012-04-23 16:10:25 +00:00
Vasilis Tsiligiannis
f1051a296d target.mk: Trivial comment typo fix
SVN-Revision: 30310
2012-02-05 18:15:18 +00:00
John Crispin
ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
2011-07-04 11:21:37 +00:00
John Crispin
058eca0b3b automatic subtarget enumaration
SVN-Revision: 27407
2011-07-03 17:38:23 +00:00
Felix Fietkau
6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
2011-05-30 23:07:53 +00:00
Felix Fietkau
a65dac690c use lazy evaluation to allow targets to override kernel config files
SVN-Revision: 26714
2011-04-17 21:47:44 +00:00
Felix Fietkau
caf4747f0c build: clean up handling of the kernel config
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env

SVN-Revision: 26498
2011-04-06 14:48:55 +00:00
Felix Fietkau
335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich
d005251cc4 target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
SVN-Revision: 26269
2011-03-22 18:06:12 +00:00
Daniel Dickinson
0f93d4c3c4 target: Added coreutils to list of default packages. It doesn't build or install anything (0 bytes, 0 dependencies) and it prevents other packages from appearing in the package list if it is not selected
SVN-Revision: 26026
2011-03-11 08:57:37 +00:00
Felix Fietkau
504eda0da9 hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
SVN-Revision: 25920
2011-03-07 02:49:24 +00:00
Imre Kaloz
d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Jo-Philipp Wich
064e7c8f00 Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.
SVN-Revision: 23029
2010-09-12 20:49:54 +00:00
Felix Fietkau
a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
2010-08-19 12:49:37 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
6117c04c94 remove linux 2.4 specific build system code
SVN-Revision: 21951
2010-06-26 20:42:38 +00:00
Lars-Peter Clausen
2bc9d6f6e9 include/target.mk: Only set usb feature flag for a target if there is a HCD
SVN-Revision: 20425
2010-03-25 15:04:44 +00:00
Florian Fainelli
e7f046805a disable ucitrigger for now, not used, patch from Dave Kooper
SVN-Revision: 20355
2010-03-21 17:16:45 +00:00
Felix Fietkau
ea41d3a288 merge target kernel config files with subtarget config files and add a variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9)
SVN-Revision: 18362
2009-11-11 01:25:06 +00:00
Imre Kaloz
3d0c1254df brcm-2.4 is the only non-2.6 target, it's pointless to note the kernelversion in other targets' Target-Name
SVN-Revision: 17102
2009-08-03 11:44:28 +00:00
Imre Kaloz
2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Felix Fietkau
0d442a08b6 enable ucitrigger by default
SVN-Revision: 16403
2009-06-10 14:37:46 +00:00
Imre Kaloz
72d88f2a48 add pcie feature flag
SVN-Revision: 16293
2009-06-02 09:50:43 +00:00
Ralph Hempel
b6e5025f15 fix typo
SVN-Revision: 16236
2009-05-31 16:15:47 +00:00
Felix Fietkau
9ecec14ce0 emit proper error messages if important kernel config files are missing
SVN-Revision: 15352
2009-04-23 14:55:02 +00:00
Felix Fietkau
56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
Hamish Guthrie
ffc86f7e3a Update default configuration to use profiles
SVN-Revision: 15229
2009-04-16 10:40:15 +00:00
Hamish Guthrie
b6d7bfc94f Final updates to default configuration of ps3 petitboot sub-target
SVN-Revision: 14918
2009-03-17 16:02:52 +00:00
Felix Fietkau
72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Felix Fietkau
431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
2009-03-03 14:55:53 +00:00
Felix Fietkau
127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
2009-03-03 13:54:29 +00:00
Ralph Hempel
3d0285a783 avoid kernel version in target if sub-targets available (usefull if we have 2.4 and 2.6 sub-targets in parallel)
SVN-Revision: 14576
2009-02-20 10:32:45 +00:00
Nicolas Thill
a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
2009-01-08 01:49:11 +00:00
Steven Barth
9d0f42d50a Disable LuCI in default build config as it should be enabled manually for building release builds
SVN-Revision: 13187
2008-11-11 21:44:58 +00:00
Nicolas Thill
3691a072cc bridge (brctl) changes: - enable brctl in busybox - disable bridge-utils - bumb busybox release number
SVN-Revision: 13180
2008-11-11 03:02:26 +00:00
Felix Fietkau
2c638cf43b enable luci-admin-mini by default as suggested by cyrus
SVN-Revision: 13133
2008-11-06 19:36:08 +00:00
Felix Fietkau
1e570a9288 change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
SVN-Revision: 13010
2008-10-18 21:43:30 +00:00
Felix Fietkau
926925622f enable luci by default
SVN-Revision: 12870
2008-10-06 16:33:34 +00:00
Felix Fietkau
5437cc1f7c target features: fix usb support detection
SVN-Revision: 12551
2008-09-08 11:33:00 +00:00
Travis Kemen
99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
John Crispin
21bbdc24c3 adds a new uci firewall - iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default - there are some examples in the file /etc/config/firewall - iptables-save/restore are still missing - hotplug takes care of adding/removing netdevs during runtime - misisng features ? wishes ? let me know ...
SVN-Revision: 12089
2008-08-04 11:51:58 +00:00
Felix Fietkau
d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
2008-06-13 15:28:31 +00:00
Nicolas Thill
cf1e8abcdf remove dup iptables in default package set
SVN-Revision: 11091
2008-05-08 22:57:12 +00:00
Felix Fietkau
2448cb8a15 add optional version suffix to kernel files/ directories
SVN-Revision: 10972
2008-04-28 22:01:14 +00:00
Nicolas Thill
ddc57879ec add a gpio feature for devices supporting the generic GPIO interface
SVN-Revision: 10879
2008-04-20 09:46:45 +00:00
Felix Fietkau
f09555425c enable uci by default
SVN-Revision: 10369
2008-02-03 07:30:39 +00:00
Felix Fietkau
4a87a0464b fix copy&paste mistake
SVN-Revision: 9551
2007-11-15 12:35:51 +00:00