Commit Graph

63 Commits (fbd4214bb0727268aa535af5b600d38939ec8dbc)

Author SHA1 Message Date
Eneas U de Queiroz ccad1d6817 build: define RTC_SUPPORT as a bool
Currently, RTC_SUPPORT is defined as a tristate, with 'depends on m',
which is supposed to only let it be set to 'm' or 'n'.  However,
scripts/target-metadata.pl will 'select' it, or setting it to 'y', which
defeats it's 'depends on m' restriction.  The users of the symbol are
not expecting it to be necessarily 'm' either, so we can safely use it
as bool.

Newer versions of Linux 'conf' will issue a warning when it detects such
unmet dependencies, and will set it to 'n' instead of 'y', as the
current version does.  In all cases, 'm' is never used.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
4 years ago
Felix Fietkau 85017c40f4 build: add a config option for enabling a testing version of the target kernel
If the target supports a newer kernel version that is not used by default
yet, it can be enabled with this option

Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 years ago
Felix Fietkau 00f030a9c6 build: add support for enabling the rootfs/boot partition size option via target feature
Signed-off-by: Felix Fietkau <nbd@nbd.name>
6 years ago
Florian Larysch 7ea6261b43 config: set ARCH if powerpc64 is selected in the configuration
Signed-off-by: Florian Larysch <fl@n621.de>
7 years ago
Felix Fietkau 5afe9a054c kernel: allow selecting RTC drivers on targets without explicit RTC support
Keep them disabled by default to avoid pulling in extra kernel bloat

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Matteo Croce 1645abffea kernel: add plan 9 fs package
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>
8 years ago
Felix Fietkau 11d496d156 target.mk: rework arm architecture level detection
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>
8 years ago
Sergey Sergeev 17ee6bb8f3 tools: add kernel2minor utility for Mikrotik devices
This patch adds support of Mikrotik yaffs2 filesystem image for kernel file
and tools/kernel2minor package.
We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices.

Signed-off-by: Sergey Sergeev <adron@yapic.net>
8 years ago
John Crispin 30acacb0af config: add a small_flash feature
this causes KALLSYMS to be off by default

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Felix Fietkau f4c4d501e4 build: remove profile kernel/build system config override support
It has been unused for years

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 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 5d9eeab64a build: remove obsolete references to cris and avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44965
9 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
John Crispin ac5d5cbc79 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
10 years ago
Felix Fietkau b24897ee5c build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40980
10 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
Luka Perkov 59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
11 years ago
Luka Perkov cc1b164634 build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38431
11 years ago
Felix Fietkau 94439c2b5d kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37491
11 years ago
Jonas Gorski 9f7ef8d5f0 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36860
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
Felix Fietkau 96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
11 years ago
Florian Fainelli 348cae15d2 buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36204
11 years ago
Florian Fainelli 9e1d2c15d9 buildroot: allow enabling MIPS16 user-space build
Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36202
11 years ago
Florian Fainelli 4a1e2123eb kernel: remove references to TARGET_ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34431
12 years ago
Felix Fietkau 03babf3641 target: add a feature flag for RTC support
SVN-Revision: 31777
12 years ago
Felix Fietkau 8740549c57 mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
SVN-Revision: 25018
13 years ago
Imre Kaloz 4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
14 years ago
Felix Fietkau 8d40973058 make the display support feature flag selectable
SVN-Revision: 23791
14 years ago
Imre Kaloz 27a1e6cc6a as we only support 2.6, remove the useless bool for it
SVN-Revision: 23246
14 years ago
Imre Kaloz 7fa8ba095b Toto, we don't support Linux 2.4 anymore..
SVN-Revision: 23245
14 years ago
Michael Büsch 7a8066735d Add usb gadget feature flag
SVN-Revision: 22798
14 years ago
Nicolas Thill b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
14 years ago
Lars-Peter Clausen 900de42186 Add audio feature flag.
There are targets which neither have usb host nor pci support but do have audio
capabilities. Those targets should expliclitly specifiy that they support audio
through the new feature flag. The audio feature flag is also implicitly selected
by the usb and pci feature flags.

SVN-Revision: 19643
14 years ago
Lars-Peter Clausen db06ca593b Add support for building ubifs images.
SVN-Revision: 19097
14 years ago
Nicolas Thill 4d568a18b1 sort & rearrange arch selection
SVN-Revision: 18904
15 years ago
Nicolas Thill 81be8e3147 Config.in: fix powerpc64 endianness
SVN-Revision: 18828
15 years ago
Felix Fietkau ec7621ebf9 add nommu target feature flag
SVN-Revision: 17347
15 years ago
Felix Fietkau aee9d6c31c add a heavily cleaned up version of ubicom32 toolchain support
SVN-Revision: 17346
15 years ago
Geoff Levand 7581681466 powerpc: Create a powerpc64 config feature
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 17306
15 years ago
Imre Kaloz 2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
15 years ago
Imre Kaloz 48cd8188ef missing changes for pcie handling
SVN-Revision: 16294
15 years ago
Felix Fietkau 56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
15 years ago
Hamish Guthrie 1b216aa20a Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
SVN-Revision: 14939
15 years ago
Imre Kaloz c5657f08d5 add new target feature option for fpu
SVN-Revision: 11337
16 years ago
Nicolas Thill ddc57879ec add a gpio feature for devices supporting the generic GPIO interface
SVN-Revision: 10879
16 years ago
Gabor Juhos 5b3951bfbb add feature flag for the cpio.gz support
SVN-Revision: 10311
16 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
Felix Fietkau 35d116c85b more dependency fixes
SVN-Revision: 8115
17 years ago
Florian Fainelli 19a52ea35d Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
SVN-Revision: 8039
17 years ago