Commit Graph

153 Commits (35307c0bbf030f9c489db85253862d250e56b102)

Author SHA1 Message Date
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
Felix Fietkau e2e8d55dcc allow targets to select/deselect config symbols
SVN-Revision: 9150
2007-10-05 21:44:43 +00:00
Gabor Juhos e12359aa29 fix target profiles, (closes: 2440)
SVN-Revision: 9113
2007-10-03 19:22:51 +00:00
Felix Fietkau 85f3be6310 fix target profiles
SVN-Revision: 9099
2007-10-02 17:43:57 +00:00
Felix Fietkau 800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +00:00
Nicolas Thill ac2af6affa allow targets for override generic config (GENERIC_LINUX_CONFIG:=/dev/null) for testing purposes
SVN-Revision: 8796
2007-09-16 14:09:57 +00:00
Felix Fietkau 87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau 066a009c34 final fix for the profile selection
SVN-Revision: 6474
2007-03-02 23:36:59 +00:00
Felix Fietkau 8069e38587 set the PROFILE variable in target.mk appropriately
SVN-Revision: 6470
2007-03-02 23:13:52 +00:00
Felix Fietkau b09fbccb24 revert bogus target.mk change from [6465]
SVN-Revision: 6469
2007-03-02 23:04:19 +00:00
Tim Yardley 484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau 06e88a80c7 merge the scripts dealing with package/target metadata to remove some redundant code
SVN-Revision: 6088
2007-01-13 14:05:14 +00:00
Felix Fietkau 7a6a646497 Add initial version of the new Image Builder It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
SVN-Revision: 6071
2007-01-10 21:52:28 +00:00
Felix Fietkau 2f50e4ee3f add a missing dependency - prevented clean rebuild after kernel upgrades
SVN-Revision: 5845
2006-12-18 18:28:38 +00:00
Felix Fietkau cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00