Florian Fainelli
f6d5ba9a00
include: add Cortex-A5 CPU_TYPE
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:03 +00:00
John Crispin
dad6cd83d1
include/target.mk: add CPU_CFLAGS_octeon
...
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:49 +00:00
Hauke Mehrtens
436d42c5cd
brcm47xx: activate some compiler optimizations for 74K CPUs
...
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:36:02 +00:00
Florian Fainelli
45e2e2e352
buildroot: add Cortex A15 specific CFLAGS
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 22:20:36 +00:00
John Crispin
2b77148377
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:32:51 +00:00
Felix Fietkau
a4c810d32b
build: include iwinfo by default if nas or wpad(-mini) is selected
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 12:16:08 +00:00
Imre Kaloz
9a2f69609c
handle "neon" fpu type
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-12 15:43:14 +00:00
Imre Kaloz
fe3b07bfc9
fix logic error on fpu cflags selection
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-09 13:46:16 +00:00
Steven Barth
037762bb2c
target: replace 6relayd with odhcpd by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:55 +00:00
John Crispin
ff1b72ca65
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:27:32 +00:00
Imre Kaloz
0fdebf9347
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:59:51 +00:00
Imre Kaloz
f15319fee8
ignore the fpu if we're doing soft-float
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:44:04 +00:00
Imre Kaloz
718df1105c
there's no such thing as a soft fpu, this target should be fine without these
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:25:43 +00:00
Imre Kaloz
27bb4475fb
add a feature flag for device tree support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 12:01:01 +00:00
Hauke Mehrtens
da2a40aff6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 22:26:08 +00:00
Luka Perkov
074ff5ea88
include: add more CPU flags for arm
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05 08:00:24 +00:00
Felix Fietkau
2311f0163e
build: fix typo in arm cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 13:03:45 +00:00
Luka Perkov
f5252265e6
build: fix typo
...
vfp3 should be named vfpv3
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 22:43:06 +00:00
Luka Perkov
885f84bbba
include/target.mk: fix spacing
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 21:53:08 +00:00
Felix Fietkau
be6662ecdf
build: include the cpu type as part of the toolchain/target directory name
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:32 +00:00
Felix Fietkau
9f5f79d806
build: unify powerpc target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:28 +00:00
Felix Fietkau
19c76be50d
build: unify x86 target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:24 +00:00
Felix Fietkau
49104b5843
build: unify arm target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:20 +00:00
Felix Fietkau
b2e35bbd7b
build: unify mips target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:14 +00:00
Felix Fietkau
7c0ac121b2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:09 +00:00
Luka Perkov
0642375eaf
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-21 00:36:52 +00:00
Felix Fietkau
01695667a8
build: unify target independent optimization options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 09:38:29 +00:00
Jonas Gorski
f541a0e76b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-04 13:41:50 +00:00
Felix Fietkau
9dd51a42da
build: remove hotplug2 from DEFAULT_PACKAGES
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02 11:14:15 +00:00
Jo-Philipp Wich
0f0fb56719
firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 12:21:52 +00:00
Felix Fietkau
b3ab992d66
build: add config symbols for different ARM arch levels
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13 15:04:58 +00:00
Steven Barth
d60417f6ef
Enable native IPv6 support by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:02:55 +00:00
Jo-Philipp Wich
c31da129f7
include: make firewall3 the default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 13:41:56 +00:00
Felix Fietkau
c28528a913
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
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