Felix Fietkau
e620f4d6f8
arc: clean-up and move CFLAGS to include/target.mk
...
Most of currently mentioned CFLAGS in arc770/Makefile
are not really required because:
[1] "-Os -pipe" are set by default in include/target.mk
[2] "-fno-caller-saves" gets enabled via menuconfig
as an extra compiler flag for developers
So the only one that makes sense is "-matomic" and
that one is really essential. Without it many software
packges won't build complainin on unresolved atomic ops.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48326
2016-01-18 17:52:03 +00:00
Felix Fietkau
06f79fe841
ipq806x: enable vfpv4 support and set cpu type to cortex-a9
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47468
2015-11-14 14:22:24 +00:00
Felix Fietkau
8b5d644bb3
toolchain: add support of ARC architecture
...
This includes binutils, gcc, gdb and uClibc-ng.
Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.
Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc
Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.
Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06
Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.
Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb
Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------
and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------
Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
-mono -fast -pbb -switch sem5-switch.c \
-cpu a5f -infile ./mloop5.in \
-outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
SVN-Revision: 47438
2015-11-10 12:03:59 +00:00
Felix Fietkau
d31c1e2285
target.mk: add optimization flags for MIPS 24Kc.
...
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47323
2015-10-31 09:30:03 +00:00
Steven Barth
baa359f8e4
target: remove nathelpers from default images (legacy)
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47280
2015-10-29 15:16:06 +00:00
Hauke Mehrtens
e914c31d4c
x86: Make virtualization guests built for pentium4 with SMP
...
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 46314
2015-07-12 19:26:48 +00:00
Jo-Philipp Wich
597d2060c5
include: remove lvm2 from nas package collection
...
Since lvm2 is only available in feeds we must not include it by default.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45801
2015-05-28 09:58:09 +00:00
John Crispin
40da7aae54
target.mk: add default packages for NAS device-type
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43387
2014-11-26 08:59:49 +00:00
Florian Fainelli
dd8d7188ee
aarch64: add initial support
...
Add initial support for the AArch64 architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43353
2014-11-24 06:33:13 +00:00
Felix Fietkau
4fde9deed1
Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"
...
This seems to cause issues on some build hosts, and it is not that
important.
SVN-Revision: 43025
2014-10-22 10:47:26 +00:00
Felix Fietkau
c497990834
build: use ONESHELL to speed up scanning and the toplevel makefile
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43021
2014-10-22 08:57:40 +00:00
Felix Fietkau
cc43532293
build: optimize target metadata dump
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43019
2014-10-22 08:57:25 +00:00
Steven Barth
e4e5c31f87
Reorganize netfilter kernel modules and package nftables kernel support
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42596
2014-09-17 12:10:44 +00:00
Florian Fainelli
eb9730ddac
include: add Cortex-A5 CPU_TYPE
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 42409
2014-09-03 03:09:03 +00:00
John Crispin
3deedba42e
include/target.mk: add CPU_CFLAGS_octeon
...
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41250
2014-06-18 10:07:49 +00:00
Hauke Mehrtens
ed7c73fbef
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>
SVN-Revision: 41050
2014-06-07 17:36:02 +00:00
Florian Fainelli
e1fbee0327
buildroot: add Cortex A15 specific CFLAGS
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 40357
2014-04-01 22:20:36 +00:00
John Crispin
0dc9d8d6ff
fstools: add the new fstools package
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39895
2014-03-12 19:32:51 +00:00
Felix Fietkau
6435b8bb27
build: include iwinfo by default if nas or wpad(-mini) is selected
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39850
2014-03-09 12:16:08 +00:00
Imre Kaloz
157f56c461
handle "neon" fpu type
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39579
2014-02-12 15:43:14 +00:00
Imre Kaloz
4974d4f30c
fix logic error on fpu cflags selection
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39547
2014-02-09 13:46:16 +00:00
Steven Barth
32b3aa076c
target: replace 6relayd with odhcpd by default
...
SVN-Revision: 39309
2014-01-17 13:59:55 +00:00
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
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
Felix Fietkau
dfa7618bd6
fix the image builder
...
SVN-Revision: 9549
2007-11-14 23:11:07 +00:00
Felix Fietkau
41815ee5c8
add feature flag for display support. will be used as dependency for x.org
...
SVN-Revision: 9448
2007-10-25 21:08:46 +00:00
Felix Fietkau
86a906bed2
reorganize subtargets, sort subtargets below top level targets
...
SVN-Revision: 9378
2007-10-20 19:10:06 +00:00
Felix Fietkau
99aed44487
fix quilt update breakage for kernel related packages
...
SVN-Revision: 9368
2007-10-20 15:30:18 +00:00