Commit Graph

171 Commits (0a06fcf608ddf1f5db389decf266283392344784)

Author SHA1 Message Date
John Crispin 73015c4cb3 linux: add support of Synopsys ARCHS38-based boards
This patch introduces support of new boards with ARC HS38 cores.

ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA.
As with ARC770 we're addind support for 2 boards for now:

 [1] Synopsys SDP board (AXS103)
     This is the same base-board as in AXS101 but with
     FPGA-based CPU-tile where ARCHs38 core is implemented.

 [2] nSIM
     Again this is the same simulation engine but configured for
     new instruction set and features of new CPU.

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: 48740
8 years ago
Felix Fietkau 158f5b8d7a build: add uclient-fetch to the default packages, in case opkg is not selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48450
8 years ago
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
8 years ago
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
9 years ago
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
9 years ago
Felix Fietkau d31c1e2285 target.mk: add optimization flags for MIPS 24Kc.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47323
9 years ago
Steven Barth baa359f8e4 target: remove nathelpers from default images (legacy)
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 47280
9 years ago
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
9 years ago
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
9 years ago
John Crispin 40da7aae54 target.mk: add default packages for NAS device-type
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43387
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau cc43532293 build: optimize target metadata dump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43019
10 years ago
Steven Barth e4e5c31f87 Reorganize netfilter kernel modules and package nftables kernel support
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42596
10 years ago
Florian Fainelli eb9730ddac include: add Cortex-A5 CPU_TYPE
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42409
10 years ago
John Crispin 3deedba42e include/target.mk: add CPU_CFLAGS_octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

SVN-Revision: 41250
10 years ago
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
10 years ago
Florian Fainelli e1fbee0327 buildroot: add Cortex A15 specific CFLAGS
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40357
10 years ago
John Crispin 0dc9d8d6ff fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39895
10 years ago
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
10 years ago
Imre Kaloz 157f56c461 handle "neon" fpu type
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39579
10 years ago
Imre Kaloz 4974d4f30c fix logic error on fpu cflags selection
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39547
10 years ago
Steven Barth 32b3aa076c target: replace 6relayd with odhcpd by default
SVN-Revision: 39309
10 years ago
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
10 years ago
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
11 years ago
Imre Kaloz 7429c46214 ignore the fpu if we're doing soft-float
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38941
11 years ago
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
11 years ago
Imre Kaloz f3e2331e18 add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38893
11 years ago
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
11 years ago
Luka Perkov 0edf22694e include: add more CPU flags for arm
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38649
11 years ago
Felix Fietkau 03e14c13e3 build: fix typo in arm cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38237
11 years ago
Luka Perkov 4fa3e3aae9 build: fix typo
vfp3 should be named vfpv3

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38222
11 years ago
Luka Perkov 68ebb4d0a2 include/target.mk: fix spacing
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38221
11 years ago
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
11 years ago
Felix Fietkau 0db9125157 build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38213
11 years ago
Felix Fietkau ef68210f93 build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38212
11 years ago
Felix Fietkau c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
11 years ago
Felix Fietkau a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
11 years ago
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
11 years ago
Felix Fietkau f89b3d42e8 build: remove hotplug2 from DEFAULT_PACKAGES
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37132
11 years ago
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
11 years ago
Felix Fietkau eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
11 years ago
Steven Barth 3e4b2af125 Enable native IPv6 support by default
SVN-Revision: 36277
11 years ago
Jo-Philipp Wich 9ee69a94b7 include: make firewall3 the default
SVN-Revision: 35888
11 years ago
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
12 years ago
Felix Fietkau 03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
12 years ago
Felix Fietkau 5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
12 years ago
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
12 years ago
Vasilis Tsiligiannis f1051a296d target.mk: Trivial comment typo fix
SVN-Revision: 30310
12 years ago
John Crispin ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
13 years ago
John Crispin 058eca0b3b automatic subtarget enumaration
SVN-Revision: 27407
13 years ago
Felix Fietkau 6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
13 years ago
Felix Fietkau a65dac690c use lazy evaluation to allow targets to override kernel config files
SVN-Revision: 26714
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau 504eda0da9 hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
SVN-Revision: 25920
13 years ago
Imre Kaloz d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
14 years ago
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
14 years ago
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
14 years ago
Felix Fietkau da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
14 years ago
Felix Fietkau 6117c04c94 remove linux 2.4 specific build system code
SVN-Revision: 21951
14 years ago
Lars-Peter Clausen 2bc9d6f6e9 include/target.mk: Only set usb feature flag for a target if there is a HCD
SVN-Revision: 20425
14 years ago
Florian Fainelli e7f046805a disable ucitrigger for now, not used, patch from Dave Kooper
SVN-Revision: 20355
14 years ago
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
15 years ago
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
15 years ago
Imre Kaloz 2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
15 years ago
Felix Fietkau 0d442a08b6 enable ucitrigger by default
SVN-Revision: 16403
15 years ago
Imre Kaloz 72d88f2a48 add pcie feature flag
SVN-Revision: 16293
15 years ago
Ralph Hempel b6e5025f15 fix typo
SVN-Revision: 16236
15 years ago
Felix Fietkau 9ecec14ce0 emit proper error messages if important kernel config files are missing
SVN-Revision: 15352
15 years ago
Felix Fietkau 56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
15 years ago
Hamish Guthrie ffc86f7e3a Update default configuration to use profiles
SVN-Revision: 15229
15 years ago
Hamish Guthrie b6d7bfc94f Final updates to default configuration of ps3 petitboot sub-target
SVN-Revision: 14918
15 years ago
Felix Fietkau 72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
15 years ago
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
15 years ago
Felix Fietkau 127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
15 years ago
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
15 years ago
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
16 years ago
Steven Barth 9d0f42d50a Disable LuCI in default build config as it should be enabled manually for building release builds
SVN-Revision: 13187
16 years ago
Nicolas Thill 3691a072cc bridge (brctl) changes: - enable brctl in busybox - disable bridge-utils - bumb busybox release number
SVN-Revision: 13180
16 years ago
Felix Fietkau 2c638cf43b enable luci-admin-mini by default as suggested by cyrus
SVN-Revision: 13133
16 years ago
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
16 years ago
Felix Fietkau 926925622f enable luci by default
SVN-Revision: 12870
16 years ago
Felix Fietkau 5437cc1f7c target features: fix usb support detection
SVN-Revision: 12551
16 years ago
Travis Kemen 99dd3e13fc make opkg the default package manager, disable busybox ipkg from building by default
SVN-Revision: 12319
16 years ago
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
16 years ago
Felix Fietkau d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
16 years ago
Nicolas Thill cf1e8abcdf remove dup iptables in default package set
SVN-Revision: 11091
16 years ago
Felix Fietkau 2448cb8a15 add optional version suffix to kernel files/ directories
SVN-Revision: 10972
16 years ago
Nicolas Thill ddc57879ec add a gpio feature for devices supporting the generic GPIO interface
SVN-Revision: 10879
16 years ago
Felix Fietkau f09555425c enable uci by default
SVN-Revision: 10369
17 years ago
Felix Fietkau 4a87a0464b fix copy&paste mistake
SVN-Revision: 9551
17 years ago
Felix Fietkau dfa7618bd6 fix the image builder
SVN-Revision: 9549
17 years ago
Felix Fietkau 41815ee5c8 add feature flag for display support. will be used as dependency for x.org
SVN-Revision: 9448
17 years ago