📄 main.lkc
字号:
# constants (forced values)config CONFIG_TITLE string default "LTIB: Freescale M5445X Coldfire/M68k (MMU)"config PLATFORM_COMMENT string default "Freescale M5445X Coldfire/M68k (MMU)"config VENDOR string default "Freescale"config PLATFORM string default mcf5445xconfig GNUTARCH string default m68kconfig LINTARCH string default m68kconfig CFGHOST string default m68k-linuxconfig ERASE_BLOCK_SIZE string default 128 source ../../userspace/endian.lkcsource ../../userspace/libc_type.lkccomment "Choose your toolchain"choice prompt "Toolchain" default TOOLCHAIN1 help This menu will help you choose the cross toolchain to use to build your packages with. If you choose none, you can enter the path to your toolchain by hand. config TOOLCHAIN1 bool "gcc-4.2" if GLIBC || LIBC_NONE || LIBC_HACKING config TOOLCHAIN_CUSTOM bool "custom"endchoiceconfig TOOLCHAIN string default freescale-coldfire-m68k-linux-gnu-4.2-35.i686.rpm if TOOLCHAIN1config TOOLCHAIN_PATH string default "/opt/freescale/usr/local/gcc-4.2.35-eglibc-2.5.35/m68k-linux" if TOOLCHAIN1 string "Supply your toolchain path" if TOOLCHAIN_CUSTOMconfig CUSTOM_TOOLCHAIN_PREFIX depends TOOLCHAIN_CUSTOM string "Enter your cross tools prefix" help For example arm-linux- or powerpc-linux-config TOOLCHAIN_PREFIX string default "m68k-linux-gnu-" if TOOLCHAIN1 default CUSTOM_TOOLCHAIN_PREFIX if TOOLCHAIN_CUSTOMconfig TOOLCHAIN_CFLAGS string default "-march=isac -mcpu=54455 -msoft-float" string "Enter any CFLAGS for gcc/g++" help This option lets you set flags that will be passed to gcc/g++ These will be injected by the spoofing mechanism, so they only work if you reference the compiler as gcc/g++ in your rpm spec files (you cannot say for instance powerpc-linux-gcc)comment "Bootloader"config BOOTLOADER1 bool "Build a boot loader" default n help Selecting this will build the u-boot boot loaderchoice depends BOOTLOADER1 prompt "u-boot target board type" default PKG_U_BOOT_1_2_0_MCF5445X_AT33 help This menu lets you choose the exact u-boot target to build config PKG_U_BOOT_1_2_0_MCF5445X_AT33 bool "U-Boot 1.2.0 for MCF5445x Atmel 33Mhz Input Clock" config PKG_U_BOOT_1_2_0_MCF5445X_AT66 bool "U-Boot 1.2.0 for MCF5445x Atmel 66Mhz Input Clock" config PKG_U_BOOT_1_2_0_MCF5445X_IN33 bool "U-Boot 1.2.0 for MCF5445x Intel 33Mhz Input Clock" config PKG_U_BOOT_1_2_0_MCF5445X_IN66 bool "U-Boot 1.2.0 for MCF5445x Intel 66Mhz Input Clock"endchoiceconfig PKG_U_BOOT_CONFIG_TYPE string default "M54455EVB_a33_config" if PKG_U_BOOT_1_2_0_MCF5445X_AT33 default "M54455EVB_a66_config" if PKG_U_BOOT_1_2_0_MCF5445X_AT66 default "M54455EVB_i33_config" if PKG_U_BOOT_1_2_0_MCF5445X_IN33 default "M54455EVB_i66_config" if PKG_U_BOOT_1_2_0_MCF5445X_IN66config PKG_U_BOOT string default "u-boot-1.2.0-mcf5445x" if BOOTLOADER1comment "Choose your Kernel"choice prompt "kernel" default KERNEL1 help This menu will let you choose the kernel to use with your board. If you don't want to build a kernel, unselect this option. config KERNEL1 bool "Linux 2.6.23" help This is the kernel and patches config KERNEL_DIR_BUILD bool "Local Linux directory build" help Build using a local copy of the kernel sources config KERNEL_NONE bool "Dont build the Linux kernel" help Select this if you dont want to build the kernel or provide your ownendchoiceconfig PKG_KERNEL string default "kernel-2.6.23-m5445x" if KERNEL1 default "kernel26-dir-build" if KERNEL_DIR_BUILDsource ../../userspace/kernel_dir_build.lkcconfig PKG_KERNEL_WANT_OBJCOPY bool default yconfig PKG_KERNEL_WANT_HEADERS depends ! KERNEL_NONE bool "Include kernel headers" help Selecting this will copy kernel headers to rootfs/usr/src/linux/includeconfig PKG_KERNEL_PRECONFIG string "kernel preconfig" default "linux-2.6.x.config" if KERNEL1 default "linux-2.6.x.config" if KERNEL_DIR_BUILDconfig PKG_KERNEL_WANT_CF depends ! KERNEL_NONE bool "Configure the kernel" default nconfig PKG_KERNEL_LEAVESRC depends ! KERNEL_NONE bool "Leave the sources after building" default n help This is a one shot option that can be used to build the kernel and leave the build source tree in rpm/BUILD in placesource ../../userspace/distro.lkcsource ../../userspace/packages.lkcsource ../../userspace/sysconfig.lkcsource ../../userspace/deployment.lkcsource ../../userspace/defaults.lkc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -