# This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. # mark broken devices config ADK_BROKEN bool config ADK_TOOLCHAIN_ONLY bool config ADK_TARGET_NO_FPU bool config ADK_EABI bool config ADK_LINUX_64 bool config ADK_NATIVE tristate config ADK_alix1c tristate config ADK_wrap tristate config ADK_arm_qemu tristate config ADK_mips_qemu tristate config ADK_mipsel_qemu tristate config ADK_mips64_qemu tristate config ADK_mips64el_qemu tristate config ADK_cris_qemu tristate config ADK_x86_qemu tristate config ADK_x86_64_qemu tristate config ADK_rb532 tristate config ADK_rb411 tristate config ADK_rb433 tristate config ADK_zaurus tristate config ADK_tomtom tristate config ADK_foxboard tristate config ADK_lemote tristate config ADK_x86_rescue tristate config ADK_x86_64_rescue tristate config ADK_mips_rescue tristate config ADK_mipsel_rescue tristate config ADK_wag54g tristate config ADK_shuttle tristate config ADK_g1 tristate config ADK_TARGET string default "alix1c" if ADK_alix1c default "wrap" if ADK_wrap default "qemu-arm" if ADK_arm_qemu default "qemu-cris" if ADK_cris_qemu default "qemu-mips" if ADK_mips_qemu default "qemu-mipsel" if ADK_mipsel_qemu default "qemu-mips64" if ADK_mips64_qemu default "qemu-mips64el" if ADK_mips64el_qemu default "qemu-x86" if ADK_x86_qemu default "qemu-x86_64" if ADK_x86_64_qemu default "foxboard" if ADK_foxboard default "native" if ADK_NATIVE default "rb532" if ADK_rb532 default "rb411" if ADK_rb411 default "rb433" if ADK_rb433 default "zaurus" if ADK_arm default "lemote" if ADK_lemote default "wag54g" if ADK_wag54g default "rescue-x86" if ADK_x86_rescue default "rescue-x86_64" if ADK_x86_64_rescue default "rescue-mips" if ADK_mips_rescue default "rescue-mipsel" if ADK_mipsel_rescue default "shuttle" if ADK_shuttle default "tomtom" if ADK_tomtom default "g1" if ADK_g1 menu "Target system" choice prompt "Embedded Device or Emulator" default ADK_LINUX_NATIVE config ADK_LINUX_NATIVE bool "Native platform" select ADK_NATIVE help Make a native build. Use host tools. No toolchain will be created. config ADK_LINUX_X86_ALIX1C bool "PC Engines Alix1C" select ADK_alix1c select ADK_KERNEL_SCSI select ADK_KERNEL_ATA select ADK_KERNEL_BLK_DEV_SD select ADK_KERNEL_EXT2_FS select ADK_KERNEL_NET_PCI select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_MII select BUSYBOX_HWCLOCK help Support for ALIX boards. http://www.pcengines.ch/ config ADK_LINUX_X86_WRAP bool "PC Engines WRAP" select ADK_wrap select ADK_KERNEL_SCSI select ADK_KERNEL_ATA select ADK_KERNEL_BLK_DEV_SD select ADK_KERNEL_EXT2_FS select ADK_KERNEL_NET_PCI select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_MII select BUSYBOX_HWCLOCK help End of life, but I still have one board. http://www.pcengines.ch/ config ADK_LINUX_CRIS_FOXBOARD bool "Foxboard (ETRAX LX100)" select ADK_foxboard select ADK_PACKAGE_KMOD_USB_CONTROLLER select ADK_KERNEL_NLS help Support for Foxboard targets. http://foxlx.acmesystems.it/ config ADK_LINUX_MIPS64_LEMOTE bool "Lemote Subnotebook Yeeloong" select ADK_lemote select ADK_LINUX_64 select ADK_KERNEL_BLK_DEV_SD select ADK_KERNEL_INPUT_KEYBOARD select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_MII select ADK_KERNEL_SWAP help Lemote Subnotebook. http://www.lemote.com/english/index.html http://www.tekmote.nl/ config ADK_LINUX_MIKROTIK bool "Mikrotik Routerboards" help Support for Mikrotik Routerboards http://www.mikrotik.com http://www.routerboards.com config ADK_LINUX_MIPS_WAG54G bool "Linksys WAG54G" select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_MII select ADK_wag54g help Linksys WAG54G DSL router with Wireless. (Texas Instruments AR7 platform) config ADK_LINUX_ARM_TOMTOM bool "TomTom Applications" select ADK_tomtom select ADK_TARGET_NO_FPU select ADK_EABI select ADK_TOOLCHAIN_ONLY help Support for TomTom Rider 2 (or others). Just toolchain support to cross-compile your own applications. config ADK_LINUX_ARM_G1 bool "Google G1 Applications" select ADK_g1 select ADK_TARGET_NO_FPU select ADK_EABI select ADK_TOOLCHAIN_ONLY help Support for Google G1. Just toolchain support to cross-compile your own applications. Use static linking for your packages. #config ADK_LINUX_XSCALE_ZAURUS # bool "Zaurus SL-C3200" # select ADK_zaurus # select ADK_TARGET_NO_FPU # help # Support for Sharp Zaurus SL-C3200 (aka Terrier) config ADK_LINUX_RESCUE bool "Minimal Linux Rescuesystem" select ADK_KERNEL_INPUT_KEYBOARD help Rescuesystem with can be used to Boot from Disk or USB stick. config ADK_LINUX_QEMU bool "Qemu Emulator" select ADK_KERNEL_NET_PCI select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_ETHERNET help Support for Qemu Emulator config ADK_LINUX_X86_64_SHUTTLE bool "Shuttle PC" select ADK_shuttle select ADK_KERNEL_INPUT_KEYBOARD select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK help Support for a nice and fast shuttle xpc with AMD quad-core CPU. endchoice choice prompt "Architecture" depends on ADK_LINUX_RESCUE config ADK_LINUX_X86_64_RESCUE bool "x86_64" select ADK_x86_64_rescue help X86 architecture. config ADK_LINUX_X86_RESCUE bool "x86" select ADK_x86_rescue help X86 architecture. config ADK_LINUX_MIPSEL_RESCUE bool "mips (little endian)" select ADK_mipsel_rescue help MIPS LE architecture. config ADK_LINUX_MIPS_RESCUE bool "mips (big endian)" select ADK_mips_rescue help MIPS BE architecture. endchoice choice prompt "Architecture" depends on ADK_LINUX_QEMU config ADK_LINUX_ARM_QEMU bool "arm" select ADK_arm_qemu select ADK_EABI help Qemu support for ARM architecture. Right now this is optimized for Zaurus PDA spitz. config ADK_LINUX_MIPS_QEMU bool "mips (big endian)" select ADK_mips_qemu help Qemu support for MIPS BE architecture. config ADK_LINUX_MIPSEL_QEMU bool "mipsel (little endian)" select ADK_mipsel_qemu help Qemu support for MIPS LE architecture. config ADK_LINUX_MIPS64_QEMU bool "mips64 (big endian)" select ADK_mips64_qemu select ADK_LINUX_64 help Qemu support for MIPS64 BE architecture. config ADK_LINUX_MIPS64EL_QEMU bool "mips64 (little endian)" select ADK_mips64el_qemu select ADK_LINUX_64 help Qemu support for MIPS64 LE architecture. config ADK_LINUX_CRIS_QEMU bool "cris" select ADK_cris_qemu depends on ADK_BROKEN help Qemu support for CRISv32 architecture. config ADK_LINUX_X86_QEMU bool "x86" select ADK_x86_qemu select ADK_KPACKAGE_KMOD_NE2K_PCI select ADK_KERNEL_INPUT_KEYBOARD help Qemu support for x86 architecture. config ADK_LINUX_X86_64_QEMU bool "x86_64" select ADK_x86_64_qemu select ADK_KPACKAGE_KMOD_NE2K_PCI select ADK_KERNEL_INPUT_KEYBOARD help Qemu support for x86_64 architecture. endchoice choice prompt "Routerboard model" default ADK_LINUX_MIPS_RB433 depends on ADK_LINUX_MIKROTIK config ADK_LINUX_MIPS_RB411 bool "Mikrotik Routerboard 411" select ADK_rb411 select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NETDEV_1000 select ADK_KERNEL_NET_ETHERNET help Support for Mikrotik RB411. config ADK_LINUX_MIPS_RB433 bool "Mikrotik Routerboard 433" select ADK_rb433 select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NETDEV_1000 select ADK_KERNEL_NET_ETHERNET help Support for Mikrotik RB433. config ADK_LINUX_MIPS_RB532 bool "Mikrotik Routerboard 532" select ADK_rb532 select ADK_KERNEL_NETDEVICES select ADK_KERNEL_NET_PCI select ADK_KERNEL_NET_ETHERNET select ADK_KERNEL_MII select ADK_KERNEL_BLK_DEV_SD help Support for Mikrotik RB532. endchoice choice prompt "Device model" default ADK_LINUX_CRIS_FOXBOARD_CLASSIC depends on ADK_LINUX_CRIS_FOXBOARD config ADK_LINUX_CRIS_FOXBOARD_CLASSIC bool "Foxboard classic (4x16)" help Foxboard classic with red board. (4 MB flash size and 16 MB RAM) config ADK_LINUX_CRIS_FOXBOARD_LX bool "Foxboard LX (8x32)" help Latest Foxboard with green board. (8 MB flash size and 32 MB RAM) endchoice source "target/linux/config/Config.in.kernel" choice prompt "Target C library" depends on ! ADK_NATIVE config ADK_TARGET_LIB_UCLIBC bool "uClibc embedded C library" # broken, because of 16kB pagesize depends on !ADK_LINUX_MIPS64_LEMOTE help http://uclibc.org config ADK_TARGET_LIB_EGLIBC bool "Embedded GNU C library" depends on ADK_LINUX_X86_QEMU || \ ADK_LINUX_ARM_QEMU || \ ADK_LINUX_MIPS_QEMU || \ ADK_LINUX_MIPS64_QEMU || \ ADK_LINUX_MIPSEL_QEMU || \ ADK_LINUX_MIPS64EL_QEMU || \ ADK_LINUX_X86_ALIX1C || \ ADK_LINUX_X86_WRAP || \ ADK_LINUX_MIPS_RB411 || \ ADK_LINUX_MIPS_RB433 || \ ADK_LINUX_MIPS_RB532 || \ ADK_LINUX_RESCUE || \ ADK_LINUX_X86_64_SHUTTLE || \ ADK_LINUX_ARM_TOMTOM || \ ADK_LINUX_ARM_G1 || \ ADK_LINUX_MIPS64_LEMOTE help http://www.eglibc.org config ADK_TARGET_LIB_GLIBC bool "GNU C library" depends on ADK_LINUX_X86_QEMU || \ ADK_LINUX_ARM_QEMU || \ ADK_LINUX_MIPS_QEMU || \ ADK_LINUX_MIPS64_QEMU || \ ADK_LINUX_MIPSEL_QEMU || \ ADK_LINUX_MIPS64EL_QEMU || \ ADK_LINUX_X86_ALIX1C || \ ADK_LINUX_X86_WRAP || \ ADK_LINUX_MIPS_RB411 || \ ADK_LINUX_MIPS_RB433 || \ ADK_LINUX_RESCUE || \ ADK_LINUX_X86_64_SHUTTLE || \ ADK_LINUX_ARM_TOMTOM || \ ADK_LINUX_ARM_G1 || \ ADK_LINUX_MIPS64_LEMOTE help http://www.gnu.org/libc 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_TOOLCHAIN_ONLY default ADK_TARGET_ROOTFS_ARCHIVE config ADK_TARGET_ROOTFS_INITRAMFS bool "initramfs filesystem" depends on \ ADK_LINUX_QEMU || \ ADK_LINUX_NATIVE || \ ADK_LINUX_RESCUE 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_QEMU || \ ADK_LINUX_X86_64_SHUTTLE || \ ADK_LINUX_NATIVE || \ ADK_LINUX_RESCUE help create an read-only initramfs system. config ADK_TARGET_ROOTFS_SQUASHFS bool "squashfs read-only root filesystem" depends on \ ADK_LINUX_CRIS_FOXBOARD || \ ADK_LINUX_MIPS_WAG54G help highly compressed read-only filesystem for flash. config ADK_TARGET_ROOTFS_YAFFS bool "YAFFS2 rootfilesystem (NAND)" depends on \ ADK_LINUX_MIPS_RB532 || \ ADK_LINUX_MIPS_RB433 || \ ADK_LINUX_MIPS_RB411 help Root filesystem on NAND. config ADK_TARGET_ROOTFS_NFSROOT bool "NFS root" depends on \ ADK_LINUX_CRIS_FOXBOARD || \ ADK_LINUX_X86_ALIX1C || \ ADK_LINUX_X86_WRAP || \ ADK_LINUX_MIPS_RB532 || \ ADK_LINUX_MIPS_RB433 || \ ADK_LINUX_MIPS_RB411 || \ ADK_LINUX_MIPS_WAG54G || \ ADK_LINUX_MIPS64_LEMOTE 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_EXT2_CF bool "read-write filesystem for compact flash (ext2)" depends on \ ADK_LINUX_X86_ALIX1C || \ ADK_LINUX_X86_WRAP || \ ADK_LINUX_MIPS_RB532 select ADK_KERNEL_EXT2_FS select ADK_KERNEL_SCSI help Use this option if you have a compact flash reader inside your hardware and want to boot from it. config ADK_TARGET_ROOTFS_ARCHIVE bool "Archive usable for different filesystems" depends on \ ADK_LINUX_QEMU || \ ADK_LINUX_XSCALE_ZAURUS || \ ADK_LINUX_MIPS64_LEMOTE || \ ADK_LINUX_X86_64_SHUTTLE help Use this option if your root filesystem is ext2/ext3/ext4/xfs. config ADK_TARGET_ROOTFS_ENCRYPTED bool "Encrypted read-write root filesystem" depends on ADK_LINUX_MIPS64_LEMOTE select ADK_LINUX_INITRAMFS_BUILTIN select ADK_PACKAGE_CRYPTINIT select ADK_KERNEL_BLK_DEV_DM select ADK_KERNEL_DM_CRYPT select ADK_KERNEL_CRYPTO_AES select ADK_KERNEL_CRYPTO_CBC select ADK_KERNEL_CRYPTO_SHA256 select ADK_KERNEL_XFS_FS help Use this option if you want an encrypted rootfs. Default is XFS filesystem. Use following commands to setup your hard disk, after booting via NFS or USB. Create at least three partitions with fdisk /dev/sda1 (ext2) /dev/sda2 (encrypted root) /dev/sda3 (swap) mkdir /mnt/{boot,root} cryptsetup luksFormat /dev/sda2 cryptsetup luksOpen /dev/sda2 root cryptsetup luksFormat /dev/sda3 cryptsetup luksOpen /dev/sda3 swap mkswap /dev/mapper/swap mkfs.xfs /dev/mapper/root mount /dev/mapper/root /mnt/root tar xzvf lemote-mips-encryptedroot.tar.gz -C /mnt/root mount /dev/sda1 /mnt/boot mkdir /mnt/boot/boot cp lemote-mips-kernel /mnt/boot/boot mv /mnt/root/boot/boot.cfg /mnt/boot/boot cd /mnt/root ; mknod -m 644 console c 5 1 endchoice choice prompt "Compression method for initramfs and kernel" depends on ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK config ADK_TARGET_INITRAMFS_COMPRESSION_GZIP boolean prompt "gzip" select ADK_KERNEL_RD_GZIP select ADK_KERNEL_KERNEL_GZIP help Select gzip compression. config ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2 boolean prompt "bzip2" select ADK_KERNEL_RD_BZIP2 select ADK_KERNEL_KERNEL_BZIP2 help Select BZIP2 compression. config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA boolean prompt "lzma" select ADK_KERNEL_RD_LZMA select ADK_KERNEL_KERNEL_LZMA help Select LZMA compression. endchoice config ADK_COMPRESSION_TOOL string default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2 default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA help choice prompt "Root filesystem type" depends on ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK default ADK_TARGET_ROOT_XFS config ADK_TARGET_ROOT_XFS_MOD boolean prompt "XFS filesystem" select ADK_KPACKAGE_KMOD_XFS_FS select ADK_PACKAGE_XFSPROGS help Select XFS filesystem kernel module and filesystem utilities. config ADK_TARGET_ROOT_EXT2_MOD boolean prompt "EXT2 filesystem" select ADK_KPACKAGE_KMOD_EXT2_FS select ADK_PACKAGE_E2FSPROGS help Select EXT2 filesystem kernel module and filesystem utilities. config ADK_TARGET_ROOT_EXT3_MOD boolean prompt "EXT3 filesystem" select ADK_KPACKAGE_KMOD_EXT3_FS select ADK_PACKAGE_E2FSPROGS help Select EXT3 filesystem kernel module and filesystem utilities. config ADK_TARGET_ROOT_EXT4_MOD boolean prompt "EXT4 filesystem" select ADK_KPACKAGE_KMOD_EXT4_FS select ADK_PACKAGE_E2FSPROGS help Select EXT4 filesystem kernel module and filesystem utilities. endchoice choice prompt "Root filesystem type" depends on ADK_TARGET_ROOTFS_ARCHIVE default ADK_TARGET_ROOT_XFS 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. 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. endchoice config ADK_PACKAGE_SUFFIX string default "ipk" if ADK_TARGET_PACKAGE_IPKG default "tar.gz" if ADK_TARGET_PACKAGE_TGZ default "rpm" if ADK_TARGET_PACKAGE_RPM help choice prompt "Package backend format" default ADK_TARGET_PACKAGE_IPKG config ADK_TARGET_PACKAGE_IPKG boolean prompt "ipkg package format" select BUSYBOX_IPKG help Create ipkg packages. config ADK_TARGET_PACKAGE_TGZ boolean prompt "gzip compressed tar archive" help Create compressed tar archives. config ADK_TARGET_PACKAGE_RPM boolean prompt "rpm package format" help Create rpm packages. endchoice # broken and untested right now #config ADK_SSP # bool "Enable Stack Smashing Protection" # default n # depends on ADK_LINUX_X86_ALIX1C || \ # ADK_LINUX_CRIS_FOXBOARD # help # Enable Stack Smashing Protection config ADK_CXX bool "Enable C++ support" default n help Enable C++ compiler and libraries. config ADK_IPV6 bool "Enable IPv6 support" default n select ADK_KPACKAGE_KMOD_IPV6 select BUSYBOX_FEATURE_IPV6 select BUSYBOX_FEATURE_IFUPDOWN_IPV6 select BUSYBOX_PING6 help Enable basic IPv6 support and make the IPv6 support options in packages visible. config ADK_X11 bool "Enable X.org/X11 support" default n help Enable Xorg/X11 server and applications in menu. Try to compile other packages with X11 support. (f.e. mplayer) endmenu