Felix Fietkau
d73794f9a2
target: add a feature flag for RTC support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:09 +00:00
Felix Fietkau
94b38ec0fd
enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
Jo-Philipp Wich
bb5d3388be
[include] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 16:10:25 +00:00
Vasilis Tsiligiannis
84ba1dce6b
[include] target.mk: Trivial comment typo fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-05 18:15:18 +00:00
John Crispin
076d58c2cb
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 11:21:37 +00:00
John Crispin
b17c722b7e
automatic subtarget enumaration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:38:23 +00:00
Felix Fietkau
f07b8453db
remove the now unused Target-Kernel field from the target metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 23:07:53 +00:00
Felix Fietkau
d4b35c4f50
use lazy evaluation to allow targets to override kernel config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 21:47:44 +00:00
Felix Fietkau
be05754678
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 14:48:55 +00:00
Felix Fietkau
c251184c28
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich
0082378959
[include] target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 18:06:12 +00:00
Daniel Dickinson
03a1f89f3d
[include] 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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 08:57:37 +00:00
Felix Fietkau
101ccb2940
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 02:49:24 +00:00
Imre Kaloz
dcaba4757f
add plemininary ultrasparc support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 07:57:22 +00:00
Jo-Philipp Wich
69c9cad2a1
[buildroot] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Felix Fietkau
14be678094
speed up the build system by including include/shell.sh on shell commands only where necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
Felix Fietkau
a082943b09
rename target/linux/generic-2.6 to generic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00
Felix Fietkau
67fbcc7bd4
remove linux 2.4 specific build system code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
Lars-Peter Clausen
474e2e2ee5
include/target.mk: Only set usb feature flag for a target if there is a HCD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:04:44 +00:00
Florian Fainelli
a229f681ce
[package] disable ucitrigger for now, not used, patch from Dave Kooper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:45 +00:00
Felix Fietkau
9a724ec84e
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)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 01:25:06 +00:00
Imre Kaloz
58132e5515
brcm-2.4 is the only non-2.6 target, it's pointless to note the kernelversion in other targets' Target-Name
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-03 11:44:28 +00:00
Imre Kaloz
0609b66c2c
add preliminary coldfire v4e support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-21 18:34:07 +00:00
Felix Fietkau
d8ae262002
enable ucitrigger by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 14:37:46 +00:00
Imre Kaloz
d868ac77e1
add pcie feature flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-02 09:50:43 +00:00
Ralph Hempel
c360bce6a4
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 16:15:47 +00:00
Felix Fietkau
03663e9687
emit proper error messages if important kernel config files are missing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 14:55:02 +00:00
Felix Fietkau
f0f9ec9c56
add a modified version of the mips64 patch from #4603
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 17:03:55 +00:00
Hamish Guthrie
9cb51ecd82
[ps3]: Update default configuration to use profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-16 10:40:15 +00:00
Hamish Guthrie
170a11cddf
Final updates to default configuration of ps3 petitboot sub-target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 16:02:52 +00:00
Felix Fietkau
019e6e2d31
move cflags default setting to target makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Felix Fietkau
937f1820f2
replace a few unnecessary $(shell) calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau
87fcd635fe
speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Ralph Hempel
9ed7e77851
avoid kernel version in target if sub-targets available
...
(usefull if we have 2.4 and 2.6 sub-targets in parallel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:32:45 +00:00
Nicolas Thill
3b75e47f8f
[massive] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
Steven Barth
688d7f7df8
Disable LuCI in default build config as it should be enabled manually for building release builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-11 21:44:58 +00:00
Nicolas Thill
0f15663e6b
bridge (brctl) changes:
...
- enable brctl in busybox
- disable bridge-utils
- bumb busybox release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-11 03:02:26 +00:00
Felix Fietkau
226d8cb165
enable luci-admin-mini by default as suggested by cyrus
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-06 19:36:08 +00:00
Felix Fietkau
af835ce516
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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 21:43:30 +00:00
Felix Fietkau
4d4bfdfdee
enable luci by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-06 16:33:34 +00:00
Felix Fietkau
91f79c2203
target features: fix usb support detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-08 11:33:00 +00:00
Travis Kemen
55722b974e
make opkg the default package manager, disable busybox ipkg from building by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
John Crispin
275038cae7
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 ...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 11:51:58 +00:00
Felix Fietkau
2fb4a47e9a
create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:28:31 +00:00
Nicolas Thill
60fedf1de4
remove dup iptables in default package set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 22:57:12 +00:00
Felix Fietkau
ef0a202a8f
add optional version suffix to kernel files/ directories
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 22:01:14 +00:00
Nicolas Thill
b21db46a8e
add a gpio feature for devices supporting the generic GPIO interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 09:46:45 +00:00
Felix Fietkau
42a76d863e
enable uci by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 07:30:39 +00:00
Felix Fietkau
4992bf6ce5
fix copy&paste mistake
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-15 12:35:51 +00:00
Felix Fietkau
6ec8091bd5
fix the image builder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-14 23:11:07 +00:00