aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: add uclient-fetch to the default packages, in case opkg is not selectedFelix Fietkau2016-01-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* arc: clean-up and move CFLAGS to include/target.mkFelix Fietkau2016-01-181-0/+1
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: enable vfpv4 support and set cpu type to cortex-a9Felix Fietkau2015-11-141-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target.mk: add optimization flags for MIPS 24Kc.Felix Fietkau2015-10-311-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: remove nathelpers from default images (legacy)Steven Barth2015-10-291-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: Make virtualization guests built for pentium4 with SMPHauke Mehrtens2015-07-121-0/+1
| | | | | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove lvm2 from nas package collectionJo-Philipp Wich2015-05-281-1/+1
| | | | | | | | Since lvm2 is only available in feeds we must not include it by default. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target.mk: add default packages for NAS device-typeJohn Crispin2014-11-261-0/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* aarch64: add initial supportFlorian Fainelli2014-11-241-0/+4
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"Felix Fietkau2014-10-221-1/+0
| | | | | | | This seems to cause issues on some build hosts, and it is not that important. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-221-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: optimize target metadata dumpFelix Fietkau2014-10-221-8/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Reorganize netfilter kernel modules and package nftables kernel supportSteven Barth2014-09-171-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: add Cortex-A5 CPU_TYPEFlorian Fainelli2014-09-031-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/target.mk: add CPU_CFLAGS_octeonJohn Crispin2014-06-181-0/+1
| | | | | | Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: activate some compiler optimizations for 74K CPUsHauke Mehrtens2014-06-071-0/+1
| | | | | | | | | | | | 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
* buildroot: add Cortex A15 specific CFLAGSFlorian Fainelli2014-04-011-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: add the new fstools packageJohn Crispin2014-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: include iwinfo by default if nas or wpad(-mini) is selectedFelix Fietkau2014-03-091-2/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* handle "neon" fpu typeImre Kaloz2014-02-121-0/+1
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix logic error on fpu cflags selectionImre Kaloz2014-02-091-1/+1
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: replace 6relayd with odhcpd by defaultSteven Barth2014-01-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix build for individual profiles with dashes in namesJohn Crispin2014-01-121-1/+1
| | | | | | | | | | | | 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
* FPU type should not interfere with the ABI selection.Imre Kaloz2013-11-291-2/+2
| | | | | | | | | | 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
* ignore the fpu if we're doing soft-floatImre Kaloz2013-11-291-2/+4
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* there's no such thing as a soft fpu, this target should be fine without theseImre Kaloz2013-11-291-1/+0
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a feature flag for device tree supportImre Kaloz2013-11-221-0/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: this ARM SoC does not have a FPU, use soft float.Hauke Mehrtens2013-11-131-0/+1
| | | | | | | | | | 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
* include: add more CPU flags for armLuka Perkov2013-11-051-0/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix typo in arm cflagsFelix Fietkau2013-09-271-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix typoLuka Perkov2013-09-261-1/+1
| | | | | | | | 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
* include/target.mk: fix spacingLuka Perkov2013-09-261-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: include the cpu type as part of the toolchain/target directory nameFelix Fietkau2013-09-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify powerpc target cflagsFelix Fietkau2013-09-261-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify x86 target cflagsFelix Fietkau2013-09-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify arm target cflagsFelix Fietkau2013-09-261-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: unify mips target cflagsFelix Fietkau2013-09-261-1/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: clean up default cflags handlingFelix Fietkau2013-09-261-11/+24
| | | | | | | | | - 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
* include: introduce subtarget_platform CONFIG_TARGETLuka Perkov2013-08-211-0/+4
| | | | | | | | | | | | | 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
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-8/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: also check CONFIG_GPIOLIB for GPIO_SUPPORTJonas Gorski2013-07-041-1/+1
| | | | | | | | | | | 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
* build: remove hotplug2 from DEFAULT_PACKAGESFelix Fietkau2013-07-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall3: rename to firewall, move into base system menu, update to git ↵Jo-Philipp Wich2013-06-041-1/+1
| | | | | | head with compatibility fixes for AA git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add config symbols for different ARM arch levelsFelix Fietkau2013-05-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Enable native IPv6 support by defaultSteven Barth2013-04-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: make firewall3 the defaultJo-Philipp Wich2013-03-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel ↵Felix Fietkau2012-12-281-1/+1
| | | | | | 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
* target: add a feature flag for RTC supportFelix Fietkau2012-05-171-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS ↵Felix Fietkau2012-05-141-1/+1
| | | | | | in a few relevant places git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73