2006-11-11 23:11:02 +00:00
|
|
|
source "tmp/.config-target.in"
|
2006-07-20 21:06:47 +00:00
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
# Kernel/Hardware features
|
|
|
|
|
2019-04-27 17:13:07 +00:00
|
|
|
config HAS_TESTING_KERNEL
|
|
|
|
bool
|
|
|
|
|
2011-01-16 01:25:06 +00:00
|
|
|
config HAS_SPE_FPU
|
2013-04-17 15:36:41 +00:00
|
|
|
depends on powerpc
|
2011-01-16 01:25:06 +00:00
|
|
|
select HAS_FPU
|
|
|
|
bool
|
|
|
|
|
2008-06-03 09:29:58 +00:00
|
|
|
config HAS_FPU
|
|
|
|
bool
|
|
|
|
|
2021-03-17 17:30:48 +00:00
|
|
|
config HAS_DT_OVERLAY_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2010-02-15 20:03:18 +00:00
|
|
|
config AUDIO_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2008-04-20 09:46:45 +00:00
|
|
|
config GPIO_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
config PCI_SUPPORT
|
2010-02-15 20:03:18 +00:00
|
|
|
select AUDIO_SUPPORT
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
2009-06-02 09:54:45 +00:00
|
|
|
config PCIE_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
config PCMCIA_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2020-08-29 21:07:28 +00:00
|
|
|
config PWM_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2006-08-27 13:32:10 +00:00
|
|
|
config USB_SUPPORT
|
2010-02-15 20:03:18 +00:00
|
|
|
select AUDIO_SUPPORT
|
2006-08-27 13:32:10 +00:00
|
|
|
bool
|
|
|
|
|
2010-08-25 17:35:34 +00:00
|
|
|
config USB_GADGET_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2012-05-17 15:28:09 +00:00
|
|
|
config RTC_SUPPORT
|
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>
2020-04-07 20:07:21 +00:00
|
|
|
bool
|
2012-05-17 15:28:09 +00:00
|
|
|
|
2006-05-30 19:38:38 +00:00
|
|
|
config BIG_ENDIAN
|
|
|
|
bool
|
2006-04-20 23:03:42 +00:00
|
|
|
|
2013-11-22 12:01:01 +00:00
|
|
|
config USES_DEVICETREE
|
|
|
|
bool
|
|
|
|
|
2009-03-18 15:57:18 +00:00
|
|
|
config USES_INITRAMFS
|
|
|
|
bool
|
|
|
|
|
2021-02-28 23:58:10 +00:00
|
|
|
config USES_SEPARATE_INITRAMFS
|
2021-02-21 14:19:26 +00:00
|
|
|
bool
|
|
|
|
|
2006-09-23 22:03:23 +00:00
|
|
|
config USES_SQUASHFS
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USES_JFFS2
|
|
|
|
bool
|
|
|
|
|
2013-06-05 20:58:03 +00:00
|
|
|
config USES_JFFS2_NAND
|
|
|
|
bool
|
|
|
|
|
2010-11-22 12:12:39 +00:00
|
|
|
config USES_EXT4
|
2006-10-17 01:25:20 +00:00
|
|
|
bool
|
|
|
|
|
2010-04-28 14:47:43 +00:00
|
|
|
config USES_TARGZ
|
2007-07-18 14:11:44 +00:00
|
|
|
bool
|
|
|
|
|
2008-01-29 13:56:43 +00:00
|
|
|
config USES_CPIOGZ
|
|
|
|
bool
|
|
|
|
|
2016-06-28 11:55:12 +00:00
|
|
|
config USES_MINOR
|
|
|
|
bool
|
|
|
|
|
2010-01-11 01:10:45 +00:00
|
|
|
config USES_UBIFS
|
|
|
|
bool
|
2014-06-11 12:59:22 +00:00
|
|
|
select NAND_SUPPORT
|
2010-01-11 01:10:45 +00:00
|
|
|
|
2014-06-02 17:04:38 +00:00
|
|
|
config LOW_MEMORY_FOOTPRINT
|
|
|
|
bool
|
|
|
|
|
2016-06-13 19:35:03 +00:00
|
|
|
config SMALL_FLASH
|
|
|
|
bool
|
|
|
|
|
2009-08-21 22:32:03 +00:00
|
|
|
config NOMMU
|
|
|
|
bool
|
|
|
|
|
2013-04-05 12:36:12 +00:00
|
|
|
config HAS_MIPS16
|
2013-04-17 15:36:41 +00:00
|
|
|
depends on (mips || mipsel || mips64 || mips64el)
|
2013-04-05 12:36:12 +00:00
|
|
|
bool
|
|
|
|
|
2013-07-21 11:55:30 +00:00
|
|
|
config RFKILL_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2021-12-01 15:17:55 +00:00
|
|
|
config EMMC_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2014-06-11 12:59:22 +00:00
|
|
|
config NAND_SUPPORT
|
|
|
|
bool
|
|
|
|
|
base-files: rename 'sdcard' to 'legacy-sdcard'
While an image layout based on MBR and 'bootfs' partition may be easy
to understand for users who are very used to the IBM PC and always have
the option to access the SD card outside of the device (and hence don't
really depend on other recovery methods or dual-boot), in my opinion
it's a dead end for many desirable features on embedded systems,
especially when managed remotely (and hence without an easy option to
access the SD card using another device in case things go wrong, for
example).
Let me explain:
* using a MSDOS/VFAT filesystem to store kernel(s) is problematic, as a
single corruption of the bootfs can render the system into a state
that it no longer boots at all. This makes dual-boot useless, or at
least very tedious to setup with then 2 independent boot partitions
to avoid the single point of failure on a "hot" block (the FAT index
of the boot partition, written every time a file is changed in
bootfs). And well: most targets even store the bootloader environment
in a file in that very same FAT filesystem, hence it cannot be used
to script a reliable dual-boot method (as loading the environment
itself will already fail if the filesystem is corrupted).
* loading the kernel uImage from bootfs and using rootfs inside an
additional partition means the bootloader can only validate the
kernel -- if rootfs is broken or corrupted, this can lead to a reboot
loop, which is often a quite costly thing to happen in terms of
hardware lifetime.
* imitating MBR-boot behavior with a FAT-formatted bootfs partition
(like IBM PC in the 80s and 90s) is just one of many choices on
embedded targets. There are much better options with modern U-Boot
(which is what we use and build from source for all targets booting
off SD cards), see examples in mediatek/mt7622 and mediatek/mt7623.
Hence rename the 'sdcard' feature to 'legacy-sdcard', and prefix
functions with 'legacy_sdcard_' instead of 'sdcard_'.
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-07 13:30:53 +00:00
|
|
|
config LEGACY_SDCARD_SUPPORT
|
2021-07-29 22:11:37 +00:00
|
|
|
bool
|
|
|
|
|
2013-04-05 12:36:19 +00:00
|
|
|
config ARCH_64BIT
|
|
|
|
bool
|
|
|
|
|
2016-06-22 13:15:10 +00:00
|
|
|
config VIRTIO_SUPPORT
|
|
|
|
bool
|
|
|
|
|
2018-08-26 17:36:33 +00:00
|
|
|
config USES_ROOTFS_PART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config USES_BOOT_PART
|
|
|
|
bool
|
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
# Architecture selection
|
|
|
|
|
2014-11-24 06:33:13 +00:00
|
|
|
config aarch64
|
|
|
|
select ARCH_64BIT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config aarch64_be
|
|
|
|
select ARCH_64BIT
|
|
|
|
select BIG_ENDIAN
|
|
|
|
bool
|
|
|
|
|
2015-11-10 12:03:59 +00:00
|
|
|
config arc
|
|
|
|
bool
|
|
|
|
|
|
|
|
config arceb
|
|
|
|
select BIG_ENDIAN
|
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config arm
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
2007-07-08 16:11:40 +00:00
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config armeb
|
2009-06-21 18:34:07 +00:00
|
|
|
select BIG_ENDIAN
|
|
|
|
bool
|
|
|
|
|
2013-05-13 15:04:58 +00:00
|
|
|
config arm_v6
|
|
|
|
bool
|
|
|
|
|
|
|
|
config arm_v7
|
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config i386
|
2009-04-18 17:03:55 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config i686
|
|
|
|
bool
|
2009-04-18 17:03:55 +00:00
|
|
|
|
2024-01-06 19:10:45 +00:00
|
|
|
config loongarch64
|
|
|
|
select ARCH_64BIT
|
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config m68k
|
2006-04-08 17:33:18 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config mips
|
2006-10-03 19:09:39 +00:00
|
|
|
select BIG_ENDIAN
|
2006-01-10 20:45:12 +00:00
|
|
|
bool
|
2006-04-20 23:03:42 +00:00
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config mipsel
|
2007-06-08 10:44:01 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config mips64
|
|
|
|
select BIG_ENDIAN
|
2013-04-05 12:36:19 +00:00
|
|
|
select ARCH_64BIT
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config mips64el
|
2013-04-05 12:36:19 +00:00
|
|
|
select ARCH_64BIT
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
|
|
|
config powerpc
|
2006-10-03 19:09:39 +00:00
|
|
|
select BIG_ENDIAN
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
2009-08-18 23:07:45 +00:00
|
|
|
config powerpc64
|
2009-12-18 16:30:26 +00:00
|
|
|
select BIG_ENDIAN
|
2013-04-05 12:36:19 +00:00
|
|
|
select ARCH_64BIT
|
2009-08-18 23:07:45 +00:00
|
|
|
bool
|
|
|
|
|
2018-12-16 09:45:53 +00:00
|
|
|
config riscv64
|
|
|
|
select ARCH_64BIT
|
|
|
|
bool
|
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
config sh3
|
|
|
|
bool
|
|
|
|
|
|
|
|
config sh3eb
|
2006-10-03 19:09:39 +00:00
|
|
|
select BIG_ENDIAN
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
|
|
|
config sh4
|
|
|
|
bool
|
|
|
|
|
|
|
|
config sh4eb
|
2006-10-03 19:09:39 +00:00
|
|
|
select BIG_ENDIAN
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
|
|
|
config sparc
|
2006-10-03 19:09:39 +00:00
|
|
|
select BIG_ENDIAN
|
2006-04-20 23:03:42 +00:00
|
|
|
bool
|
|
|
|
|
2009-12-23 10:38:26 +00:00
|
|
|
config x86_64
|
2013-04-05 12:36:19 +00:00
|
|
|
select ARCH_64BIT
|
2009-12-23 10:38:26 +00:00
|
|
|
bool
|
|
|
|
|
2006-04-20 23:03:42 +00:00
|
|
|
config ARCH
|
|
|
|
string
|
2014-11-24 06:33:13 +00:00
|
|
|
default "aarch64" if aarch64
|
|
|
|
default "aarch64_be" if aarch64_be
|
2015-11-10 12:03:59 +00:00
|
|
|
default "arc" if arc
|
|
|
|
default "arceb" if arceb
|
2009-12-23 10:38:26 +00:00
|
|
|
default "arm" if arm
|
|
|
|
default "armeb" if armeb
|
|
|
|
default "i386" if i386
|
|
|
|
default "i686" if i686
|
2024-01-06 19:10:45 +00:00
|
|
|
default "loongarch64" if loongarch64
|
2009-12-23 10:38:26 +00:00
|
|
|
default "m68k" if m68k
|
|
|
|
default "mips" if mips
|
|
|
|
default "mipsel" if mipsel
|
|
|
|
default "mips64" if mips64
|
|
|
|
default "mips64el" if mips64el
|
|
|
|
default "powerpc" if powerpc
|
2016-11-03 12:46:23 +00:00
|
|
|
default "powerpc64" if powerpc64
|
2018-12-16 09:45:53 +00:00
|
|
|
default "riscv64" if riscv64
|
2009-12-23 10:38:26 +00:00
|
|
|
default "sh3" if sh3
|
|
|
|
default "sh3eb" if sh3eb
|
|
|
|
default "sh4" if sh4
|
|
|
|
default "sh4eb" if sh4eb
|
|
|
|
default "sparc" if sparc
|
|
|
|
default "x86_64" if x86_64
|
2006-04-20 23:03:42 +00:00
|
|
|
|