John Crispin
8751499973
Fix build for individual profiles with dashes in names
...
Config symbols can have regular dashes, e.g.
CONFIG_TARGET_ramips_rt305x_UR-336UN=y
So no substitution should be performed on the last part of the symbol.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 39242
2014-01-12 12:27:32 +00:00
Imre Kaloz
f6b57149af
FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38943
2013-11-29 10:59:51 +00:00
Imre Kaloz
7429c46214
ignore the fpu if we're doing soft-float
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38941
2013-11-29 10:44:04 +00:00
Imre Kaloz
5de876bc78
there's no such thing as a soft fpu, this target should be fine without these
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38940
2013-11-29 10:25:43 +00:00
Imre Kaloz
f3e2331e18
add a feature flag for device tree support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38893
2013-11-22 12:01:01 +00:00
Hauke Mehrtens
a3752801df
bcm53xx: this ARM SoC does not have a FPU, use soft float.
...
model name : ARMv7 Processor rev 0 (v7l)
Features : swp half thumb fastmult edsp tls
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38796
2013-11-13 22:26:08 +00:00
Luka Perkov
0edf22694e
include: add more CPU flags for arm
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38649
2013-11-05 08:00:24 +00:00
Felix Fietkau
03e14c13e3
build: fix typo in arm cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38237
2013-09-27 13:03:45 +00:00
Luka Perkov
4fa3e3aae9
build: fix typo
...
vfp3 should be named vfpv3
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38222
2013-09-26 22:43:06 +00:00
Luka Perkov
68ebb4d0a2
include/target.mk: fix spacing
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38221
2013-09-26 21:53:08 +00:00
Felix Fietkau
e0189ccef4
build: include the cpu type as part of the toolchain/target directory name
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38214
2013-09-26 17:53:32 +00:00
Felix Fietkau
0db9125157
build: unify powerpc target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38213
2013-09-26 17:53:28 +00:00
Felix Fietkau
ef68210f93
build: unify x86 target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38212
2013-09-26 17:53:24 +00:00
Felix Fietkau
c8609ab4f8
build: unify arm target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Felix Fietkau
a30681dff0
build: unify mips target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38210
2013-09-26 17:53:14 +00:00
Felix Fietkau
569da024f0
build: clean up default cflags handling
...
- reduce redundancy
- introduce a CPU_TYPE variable for cpu specific options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38209
2013-09-26 17:53:09 +00:00
Luka Perkov
ff384f04e4
include: introduce subtarget_platform CONFIG_TARGET
...
Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.
Example:
$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37818
2013-08-21 00:36:52 +00:00
Felix Fietkau
73c4d73d6d
build: unify target independent optimization options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Jonas Gorski
05ff15a235
include: also check CONFIG_GPIOLIB for GPIO_SUPPORT
...
Recent kernels removed GENERIC_GPIO and require GPIO capable
targets to select GPIOLIB instead, so check for both symbols.
Fixed #13814 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37166
2013-07-04 13:41:50 +00:00
Felix Fietkau
f89b3d42e8
build: remove hotplug2 from DEFAULT_PACKAGES
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37132
2013-07-02 11:14:15 +00:00
Jo-Philipp Wich
b721c92221
firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
...
SVN-Revision: 36838
2013-06-04 12:21:52 +00:00
Felix Fietkau
eea89fea6a
build: add config symbols for different ARM arch levels
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Steven Barth
3e4b2af125
Enable native IPv6 support by default
...
SVN-Revision: 36277
2013-04-09 08:02:55 +00:00
Jo-Philipp Wich
9ee69a94b7
include: make firewall3 the default
...
SVN-Revision: 35888
2013-03-05 13:41:56 +00:00
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