aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
Commit message (Collapse)AuthorAgeFilesLines
* include: Cortex-A53 is also an AArch64 CPUFlorian Fainelli2016-11-041-0/+1
| | | | | | | | Specifying a mtune option with cortex-a53 is also valid for an aarch64 toolchain Fixes: SVN 48964 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* ubox: move logd into ubox packageFelix Fietkau2016-08-231-1/+1
| | | | | | Preparation for further build rework Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: mt7621: switch to 24kcJonas Gorski2016-08-231-1/+0
| | | | | | | | 1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* include: remove 34k distinctionJonas Gorski2016-08-231-1/+0
| | | | | | Now that there are no users anymore, drop the 34kc CPU_FLAGS. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: add plan 9 fs packageMatteo Croce2016-08-111-0/+3
| | | | | | | 9pfs is used by kvm to share files between host and guest, add proper config option to enable it. Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
* ramips: switch from 24kec to 24kcJonas Gorski2016-08-081-1/+0
| | | | | | | | Since the only difference between 24Kec and 24Kc is the addition of DSP ASE support, and we don't use it anymore, there is no need to keep 24Kec as a separate cpu type. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* build: remove MIPS dsp/dsp2 CPU_SUBTYPEFelix Fietkau2016-08-031-2/+0
| | | | | | | There does not seem to be any meaningful difference in generated code. This will save some time and space on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: add support for the apm821xx device targetChris Blake2016-07-221-0/+1
| | | | | | | | This adds a new target for PowerPC APM82181 and APM82161 (464-based) boards, as well as adds support for the booke-wdt watchdog package. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* build: fix image builder profile override (FS#55)Felix Fietkau2016-07-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: change CPU_CFLAGS to better suit target CPUsFelix Fietkau2016-07-151-13/+13
| | | | | | | | -march forces the compiler to generate generic code, whereas -mcpu allows it to target the specific CPU variant and use instructions that the generic architecture may not have Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: rework arm architecture level detectionFelix Fietkau2016-07-151-1/+1
| | | | | | | | Use kernel config as input instead of -march CFLAGS. With this change, -march can be dropped and replaced with more specific optimization flags for better code generation. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: fix ARM architecture feature flag detectionFelix Fietkau2016-07-071-39/+40
| | | | | | | Move feature flag checks below CFLAGS handling, use CPU_TYPE CFLAGS for architecture detection. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove profile kernel/build system config override supportFelix Fietkau2016-05-151-7/+0
| | | | | | It has been unused for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix emitting profiles for targets that have no subtargetsFelix Fietkau2016-05-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: add cflags for mips 1004kc cpu typeFelix Fietkau2016-05-141-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: avoid including profiles/*.mkFelix Fietkau2016-05-111-6/+3
| | | | | | Generate the active profile name in menuconfig context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for forcing sorting of profilesFelix Fietkau2016-05-111-0/+2
| | | | | | | Used to mix device profiles (specified in the image makefile) with regular target profiles. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: dump device profiles defined in include/image.mkFelix Fietkau2016-05-111-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: remove the unused Target-Path fieldFelix Fietkau2016-05-111-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: turn logd into a separate packageblogic2016-05-101-1/+1
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 49285
* include/target.mk: disambiguate package architectureJo-Philipp Wich2016-04-171-1/+1
| | | | | | | | Add $ARCH and $CPU_SUBTYPE to the package architecture strings to differentiate low and big endian targets as well as extended instructions sets like NEON or DSP2. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/target.mk: default to CPU_TYPE for the package architectureJo-Philipp Wich2016-04-061-1/+2
| | | | | | | | | | Use the more specific CPU_TYPE designation as default package architecture and only fall back to ARCH if no specific CPU_TYPE is set. This means that e.g. ar71xx packages will use "74kc" as architecture, not "mips" which is a precondition for sharing packages between targets. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: add Cortex-A53 CPU_TYPEJohn Crispin2016-03-081-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48964
* include/target.mk: fix profile defaultsFelix Fietkau2016-02-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48807
* linux: add support of Synopsys ARCHS38-based boardsJohn Crispin2016-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* 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> SVN-Revision: 48450
* 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> SVN-Revision: 48326
* ipq806x: enable vfpv4 support and set cpu type to cortex-a9Felix Fietkau2015-11-141-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47468
* 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> SVN-Revision: 47438
* target.mk: add optimization flags for MIPS 24Kc.Felix Fietkau2015-10-311-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 47323
* target: remove nathelpers from default images (legacy)Steven Barth2015-10-291-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 47280
* 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> SVN-Revision: 46314
* 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> SVN-Revision: 45801
* target.mk: add default packages for NAS device-typeJohn Crispin2014-11-261-0/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43387
* aarch64: add initial supportFlorian Fainelli2014-11-241-0/+4
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43353
* 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. SVN-Revision: 43025
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-221-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
* build: optimize target metadata dumpFelix Fietkau2014-10-221-8/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43019
* Reorganize netfilter kernel modules and package nftables kernel supportSteven Barth2014-09-171-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42596
* include: add Cortex-A5 CPU_TYPEFlorian Fainelli2014-09-031-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42409
* include/target.mk: add CPU_CFLAGS_octeonJohn Crispin2014-06-181-0/+1
| | | | | | Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> SVN-Revision: 41250
* 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> SVN-Revision: 41050
* buildroot: add Cortex A15 specific CFLAGSFlorian Fainelli2014-04-011-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 40357
* fstools: add the new fstools packageJohn Crispin2014-03-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39895
* 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> SVN-Revision: 39850
* handle "neon" fpu typeImre Kaloz2014-02-121-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39579
* fix logic error on fpu cflags selectionImre Kaloz2014-02-091-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39547
* target: replace 6relayd with odhcpd by defaultSteven Barth2014-01-171-1/+1
| | | | SVN-Revision: 39309
* 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> SVN-Revision: 39242
* FPU type should not interfere with the ABI selection. Also make sure we ↵Imre Kaloz2013-11-291-2/+2
| | | | | | | | 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