123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- source "target/config/Config.in.arch"
- source "target/config/Config.in.system"
- if ADK_LINUX_NATIVE
- source "target/config/Config.in.native"
- endif
- # hardware features
- config ADK_TARGET_WITH_USB
- boolean
- config ADK_TARGET_WITH_PCI
- boolean
- config ADK_TARGET_WITH_SSB
- boolean
- config ADK_TARGET_WITH_MINIPCI
- boolean
- config ADK_TARGET_WITH_VGA
- boolean
- config ADK_TARGET_WITH_CF
- boolean
- config ADK_TARGET_WITH_MMC
- boolean
- config ADK_TARGET_WITH_NAND
- boolean
- config ADK_TARGET_WITH_MTD
- boolean
- config ADK_TARGET_WITH_GEODE_CRYPTO
- boolean
- config ADK_TARGET_WITH_HDD
- boolean
- config ADK_TARGET_WITH_SATA
- boolean
- config ADK_TARGET_WITH_INPUT
- boolean
- config ADK_TARGET_WITH_LEDS
- boolean
- config ADK_TARGET_WITH_PP
- boolean
- config ADK_TARGET_WITH_CARDBUS
- boolean
- config ADK_TARGET_WITH_RTC
- boolean
- config ADK_TARGET_WITH_WATCHDOG
- boolean
- config ADK_TARGET_WITH_DSL
- boolean
- config ADK_TARGET_WITH_USB_BOOT
- boolean
- # global symbols
- config ADK_TOOLCHAIN_ONLY
- boolean
- config ADK_TARGET_NO_FPU
- boolean
- config ADK_EABI
- boolean
- config ADK_LINUX_64
- boolean
- config ADK_HARDWARE_QEMU
- boolean
- config ADK_NATIVE
- boolean
- # the inverse of ADK_TARGET_KERNEL_CUSTOMISING,
- # allows for selecting it off (i.e., to disable it)
- config ADK_TARGET_FIXED_KERNEL
- bool
- default n
- config ADK_TARGET_KERNEL_CUSTOMISING
- bool
- default y
- depends on !ADK_TARGET_FIXED_KERNEL
- # cpu features
- config ADK_TARGET_CPU_WITH_VT
- boolean
- config ADK_TARGET_CPU_WITH_MTRR
- boolean
- config ADK_TARGET_CPU_WITH_MMX
- boolean
- config ADK_TARGET_CPU_WITH_MMXEXT
- boolean
- config ADK_TARGET_CPU_WITH_SSE
- boolean
- config ADK_TARGET_CPU_WITH_SSE2
- boolean
- config ADK_TARGET_CPU_WITH_3DNOW
- boolean
- config ADK_TARGET_CPU_WITH_3DNOWEXT
- boolean
- # cpu configuration
- config ADK_CPU_SPARC_V8
- boolean
- config ADK_CPU_SPARC_V9
- boolean
- config ADK_CPU_I486
- boolean
- config ADK_CPU_I586
- boolean
- config ADK_CPU_I686
- boolean
- config ADK_CPU_GEODE
- boolean
- config ADK_CPU_PENTIUM_M
- boolean
- config ADK_CPU_AMDFAM10
- select ADK_TARGET_CPU_WITH_VT
- boolean
- config ADK_CPU_LOONGSON2F
- boolean
- config ADK_CPU_ARMV5
- boolean
- config ADK_TARGET_CPU_ARCH
- string
- default "i486" if ADK_CPU_I486
- default "i586" if ADK_CPU_I586
- default "i686" if ADK_CPU_I686
- default "i586" if ADK_CPU_GEODE
- default "i686" if ADK_CPU_PENTIUM_M
- config ADK_TARGET_CFLAGS
- string
- default "-march=geode" if ADK_CPU_GEODE
- default "-march=i486" if ADK_CPU_I486
- default "-march=i586" if ADK_CPU_I586
- default "-march=i686" if ADK_CPU_I686
- default "-march=pentium-m" if ADK_CPU_PENTIUM_M
- default "-march=amdfam10" if ADK_CPU_AMDFAM10
- default "-mcpu=v8" if ADK_CPU_SPARC_V8
- default "-m64 -mcpu=v9" if ADK_CPU_SPARC_V9
- default "-march=loongson2f" if ADK_CPU_LOONGSON2F
- default "-march=armv5te -mtune=arm926ej-s" if ADK_CPU_ARMV5
- config ADK_TARGET_CMDLINE
- string
- default "console=ttyS0,38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
- default "console=ttyS0,115200 console=tty0 geodewdt.nowayout=1" if ADK_TARGET_SYSTEM_PCENGINES_ALIX1C
- default "console=ttyS0,115200 console=tty0" if ADK_TARGET_SYSTEM_IBM_X40
- default "console=ttyS0,115200"
- # c library
- config ADK_uclibc
- boolean
- config ADK_eglibc
- boolean
- config ADK_glibc
- boolean
- config ADK_libc
- boolean
- config ADK_TARGET_LIBC
- string
- default "uclibc" if ADK_uclibc
- default "eglibc" if ADK_eglibc
- default "glibc" if ADK_glibc
- default "libc" if ADK_libc
- source "target/linux/config/Config.in.kernel"
- choice
- prompt "Target C library"
- depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
- config ADK_TARGET_LIB_UCLIBC
- prompt "uClibc embedded C library"
- boolean
- select ADK_uclibc
- depends on \
- !ADK_TARGET_SYSTEM_LEMOTE_YEELONG && \
- !ADK_LINUX_SPARC64 && \
- !ADK_LINUX_PPC64 && \
- !ADK_LINUX_NATIVE
- help
- http://uclibc.org
- config ADK_TARGET_LIB_EGLIBC
- prompt "Embedded GNU C library"
- boolean
- select ADK_eglibc
- depends on \
- ADK_LINUX_ARM || \
- ADK_LINUX_ARMEB || \
- ADK_LINUX_MIPS || \
- ADK_LINUX_MIPSEL || \
- ADK_LINUX_MIPS64 || \
- ADK_LINUX_MIPS64EL || \
- ADK_LINUX_PPC || \
- ADK_LINUX_PPC64 || \
- ADK_LINUX_SPARC64 || \
- ADK_LINUX_X86 || \
- ADK_LINUX_X86_64
- help
- http://www.eglibc.org
- config ADK_TARGET_LIB_GLIBC
- prompt "GNU C library"
- boolean
- select ADK_glibc
- depends on \
- ADK_LINUX_ARM || \
- ADK_LINUX_ARMEB || \
- ADK_LINUX_MIPS || \
- ADK_LINUX_MIPSEL || \
- ADK_LINUX_MIPS64 || \
- ADK_LINUX_MIPS64EL || \
- ADK_LINUX_PPC || \
- ADK_LINUX_PPC64 || \
- ADK_LINUX_SPARC || \
- ADK_LINUX_SPARC64 || \
- ADK_LINUX_X86 || \
- ADK_LINUX_X86_64
- help
- http://www.gnu.org/libc
- config ADK_TARGET_LIB_LIBC
- prompt "Native C library"
- boolean
- select ADK_libc
- depends on ADK_LINUX_NATIVE
- endchoice
- config ADK_TARGET_SUFFIX
- string
- default "gnueabi" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && ADK_EABI
- default "gnu" if (ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC) && !ADK_EABI
- default "uclibcgnueabi" if ADK_TARGET_LIB_UCLIBC && ADK_EABI
- default "uclibc" if ADK_TARGET_LIB_UCLIBC && !ADK_EABI
- choice
- prompt "Target firmware type"
- depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH && !ADK_TOOLCHAIN_ONLY
- default ADK_TARGET_ROOTFS_ARCHIVE
- config ADK_TARGET_ROOTFS_INITRAMFS
- bool "initramfs filesystem"
- depends on \
- ADK_LINUX_PPC || \
- ADK_LINUX_SPARC || \
- ADK_LINUX_X86 || \
- ADK_LINUX_X86_64 || \
- ADK_LINUX_NATIVE
- select ADK_KERNEL_BLK_DEV_INITRD
- help
- create an read-only initramfs system.
- config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
- bool "initramfs filesystem included into kernel image"
- select ADK_LINUX_INITRAMFS_BUILTIN
- depends on \
- ADK_LINUX_PPC || \
- ADK_LINUX_SPARC || \
- ADK_LINUX_X86 || \
- ADK_LINUX_X86_64 || \
- ADK_LINUX_NATIVE
- help
- create an read-only initramfs system.
- config ADK_TARGET_ROOTFS_SQUASHFS
- bool "Compressed read-only root filesystem (squashfs)"
- select ADK_KERNEL_SQUASHFS
- depends on ADK_TARGET_WITH_MTD
- help
- highly compressed read-only filesystem for MTD flash systems.
- config ADK_TARGET_ROOTFS_YAFFS
- bool "YAFFS2 root filesystem (NAND)"
- select ADK_KERNEL_MISC_FILESYSTEMS
- select ADK_KERNEL_YAFFS_FS
- select ADK_KERNEL_YAFFS_YAFFS2
- select ADK_KERNEL_YAFFS_AUTO_YAFFS2
- depends on ADK_TARGET_WITH_NAND
- help
- Root filesystem on NAND flash with YAFFS2.
- config ADK_TARGET_ROOTFS_NFSROOT
- bool "NFS root"
- select ADK_KERNEL_NETWORK_FILESYSTEMS
- select ADK_KERNEL_SUNRPC
- select ADK_KERNEL_NFS_FS
- select ADK_KERNEL_NFS_V3
- select ADK_KERNEL_ROOT_NFS
- select ADK_KERNEL_NFS_COMMON
- select ADK_KERNEL_IP_PNP
- select ADK_KERNEL_IP_PNP_DHCP
- help
- Root filesystem mounted via NFS. (DHCP)
- config ADK_TARGET_ROOTFS_USB
- bool "Boot from USB stick"
- select ADK_KERNEL_NLS
- select ADK_KERNEL_SCSI
- select ADK_KERNEL_BLK_DEV_SD
- select ADK_KERNEL_USB
- select ADK_KERNEL_USB_EHCI_HCD
- select ADK_KERNEL_USB_OHCI_HCD
- select ADK_KERNEL_USB_UHCI_HCD
- select ADK_KERNEL_USB_STORAGE
- select ADK_KERNEL_EXT2_FS
- depends on ADK_TARGET_WITH_USB_BOOT
- help
- Boot system from USB stick.
- config ADK_TARGET_ROOTFS_CF
- bool "read-write filesystem for compact flash"
- depends on ADK_TARGET_WITH_CF
- select ADK_KERNEL_EXT2_FS
- select ADK_KERNEL_SCSI
- help
- Use this option if you have a compact flash based system.
- (ext2 filesystem is used.)
- config ADK_TARGET_ROOTFS_MMC
- bool "read-write filesystem for mmc/sdcard"
- depends on ADK_TARGET_WITH_MMC
- select ADK_KERNEL_EXT2_FS
- select ADK_KERNEL_SCSI
- help
- Use this option if you have a MMC/SDCARD based system.
- (ext2 filesystem is used.)
- config ADK_TARGET_ROOTFS_ARCHIVE
- bool "Archive usable for different filesystems"
- depends on ADK_HARDWARE_QEMU
- help
- Use this option if your root filesystem is ext2/ext3/ext4/xfs.
- endchoice
- choice
- prompt "Root filesystem type"
- depends on ADK_TARGET_ROOTFS_ARCHIVE
- default ADK_TARGET_ROOT_EXT2_FS
- config ADK_TARGET_ROOT_EXT2
- boolean
- prompt "EXT2 filesystem"
- select ADK_KERNEL_EXT2_FS
- help
- Compile EXT2 filesystem into kernel and use it as root filesystem.
- config ADK_TARGET_ROOT_EXT3
- boolean
- prompt "EXT3 filesystem"
- select ADK_KERNEL_EXT3_FS
- help
- Compile EXT3 filesystem into kernel and use it as root filesystem.
- config ADK_TARGET_ROOT_EXT4
- boolean
- prompt "EXT4 filesystem"
- select ADK_KERNEL_EXT4_FS
- help
- Compile EXT4 filesystem into kernel and use it as root filesystem.
- config ADK_TARGET_ROOT_XFS
- boolean
- prompt "XFS filesystem"
- select ADK_KERNEL_XFS_FS
- help
- Compile XFS filesystem into kernel and use it as root filesystem.
- endchoice
- config ADK_TARGET_ROOTFS
- string
- default "xfs" if ADK_TARGET_ROOT_XFS
- default "ext2" if ADK_TARGET_ROOT_EXT2
- default "ext3" if ADK_TARGET_ROOT_EXT3
- default "ext4" if ADK_TARGET_ROOT_EXT4
- help
- config ADK_PACKAGE_SUFFIX
- string
- default "ipk" if ADK_TARGET_PACKAGE_IPKG
- default "tar.gz" if ADK_TARGET_PACKAGE_TGZ
- help
- choice
- prompt "Target package format"
- default ADK_TARGET_PACKAGE_IPKG
- depends on !ADK_CHOOSE_TARGET_SYSTEM && !ADK_CHOOSE_TARGET_ARCH
- config ADK_TARGET_PACKAGE_IPKG
- boolean
- prompt "ipkg"
- select BUSYBOX_IPKG
- help
- Create ipkg packages and use ipkg package management on the target.
- config ADK_TARGET_PACKAGE_TGZ
- boolean
- prompt "tar archive"
- help
- Create compressed tar archives of packages.
- Pre- and post install scripts will be executed in the target
- directory. There will be no package manager installed onto the target.
-
- endchoice
- source "target/config/Config.in.tools"
|