openwrt/target/Config.in

238 lines
2.7 KiB
Plaintext
Raw Normal View History

source "tmp/.config-target.in"
2006-04-20 23:03:42 +00:00
# Kernel/Hardware features
config HAS_TESTING_KERNEL
bool
config HAS_SPE_FPU
depends on powerpc
select HAS_FPU
bool
config HAS_FPU
bool
config HAS_DT_OVERLAY_SUPPORT
bool
config AUDIO_SUPPORT
bool
config GPIO_SUPPORT
bool
2006-04-20 23:03:42 +00:00
config PCI_SUPPORT
select AUDIO_SUPPORT
2006-04-20 23:03:42 +00:00
bool
config PCIE_SUPPORT
bool
2006-04-20 23:03:42 +00:00
config PCMCIA_SUPPORT
bool
config PWM_SUPPORT
bool
config USB_SUPPORT
select AUDIO_SUPPORT
bool
config USB_GADGET_SUPPORT
bool
config RTC_SUPPORT
bool
config BIG_ENDIAN
bool
2006-04-20 23:03:42 +00:00
config USES_DEVICETREE
bool
config USES_INITRAMFS
bool
config USES_SEPARATE_INITRAMFS
bool
config USES_SQUASHFS
bool
config USES_JFFS2
bool
config USES_JFFS2_NAND
bool
config USES_EXT4
bool
config USES_TARGZ
bool
config USES_CPIOGZ
bool
config USES_MINOR
bool
config USES_UBIFS
bool
select NAND_SUPPORT
config LOW_MEMORY_FOOTPRINT
bool
config SMALL_FLASH
bool
config NOMMU
bool
config HAS_MIPS16
depends on (mips || mipsel || mips64 || mips64el)
bool
config RFKILL_SUPPORT
bool
config EMMC_SUPPORT
bool
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
bool
config ARCH_64BIT
bool
config VIRTIO_SUPPORT
bool
config USES_ROOTFS_PART
bool
config USES_BOOT_PART
bool
2006-04-20 23:03:42 +00:00
# Architecture selection
config aarch64
select ARCH_64BIT
bool
config aarch64_be
select ARCH_64BIT
select BIG_ENDIAN
bool
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
2015-11-10 12:03:59 +00:00
config arc
bool
config arceb
select BIG_ENDIAN
bool
config arm
2006-04-20 23:03:42 +00:00
bool
config armeb
select BIG_ENDIAN
bool
config arm_v6
bool
config arm_v7
bool
config i386
bool
config i686
bool
config m68k
bool
config mips
select BIG_ENDIAN
bool
2006-04-20 23:03:42 +00:00
config mipsel
bool
config mips64
select BIG_ENDIAN
select ARCH_64BIT
2006-04-20 23:03:42 +00:00
bool
config mips64el
select ARCH_64BIT
2006-04-20 23:03:42 +00:00
bool
config powerpc
select BIG_ENDIAN
2006-04-20 23:03:42 +00:00
bool
config powerpc64
select BIG_ENDIAN
select ARCH_64BIT
bool
config riscv64
select ARCH_64BIT
bool
2006-04-20 23:03:42 +00:00
config sh3
bool
config sh3eb
select BIG_ENDIAN
2006-04-20 23:03:42 +00:00
bool
config sh4
bool
config sh4eb
select BIG_ENDIAN
2006-04-20 23:03:42 +00:00
bool
config sparc
select BIG_ENDIAN
2006-04-20 23:03:42 +00:00
bool
config x86_64
select ARCH_64BIT
bool
2006-04-20 23:03:42 +00:00
config ARCH
string
default "aarch64" if aarch64
default "aarch64_be" if aarch64_be
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
2015-11-10 12:03:59 +00:00
default "arc" if arc
default "arceb" if arceb
default "arm" if arm
default "armeb" if armeb
default "i386" if i386
default "i686" if i686
default "m68k" if m68k
default "mips" if mips
default "mipsel" if mipsel
default "mips64" if mips64
default "mips64el" if mips64el
default "powerpc" if powerpc
default "powerpc64" if powerpc64
default "riscv64" if riscv64
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