#@TYPE: Machine #@NAME: {{=machine}} #@DESCRIPTION: Machine configuration for {{=machine}} systems TARGET_FPU = "" {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_ppc603e" }} {{ input type:"choice" val:"tune_ppc603e" msg:"ppc603e tuning optimizations" }} {{ input type:"choice" val:"tune_ppce300c2" msg:"ppce300c2 tuning optimizations" }} {{ input type:"choice" val:"tune_ppce500" msg:"ppce500 tuning optimizations" }} {{ input type:"choice" val:"tune_ppce500mc" msg:"ppce500mc tuning optimizations" }} {{ input type:"choice" val:"tune_ppce500v2" msg:"ppce500v2 tuning optimizations" }} {{ input type:"choice" val:"tune_ppce5500_32b" msg:"ppce5500-32b tuning optimizations" }} {{ input type:"choice" val:"tune_ppce5500_64b" msg:"ppce5500-64b tuning optimizations" }} {{ if tunefile == "tune_ppc603e": }} include conf/machine/include/tune-ppc603e.inc {{ if tunefile == "tune_ppce300c2": }} include conf/machine/include/tune-ppce300c2.inc {{ if tunefile == "tune_ppce500": }} include conf/machine/include/tune-ppce500.inc {{ if tunefile == "tune_ppce500mc": }} include conf/machine/include/tune-ppce500mc.inc {{ if tunefile == "tune_ppce500v2": }} include conf/machine/include/tune-ppce500v2.inc {{ if tunefile == "tune_ppce5500_32b": }} include conf/machine/include/tune-ppce5500-32b.inc {{ if tunefile == "tune_ppce5500_64b": }} include conf/machine/include/tune-ppce5500-64b.inc KERNEL_IMAGETYPE = "uImage" SERIAL_CONSOLE = "115200 ttyS0" MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" {{ preferred_kernel = kernel_choice.split('_')[0] }} {{ preferred_kernel_version = kernel_choice.split('_')[1] }} PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} {{ if xserver == "y": }} PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" XSERVER = "xserver-xorg \ xserver-xorg-extension-extmod \ xf86-input-evdev \ xf86-video-fbdev" {{ input type:"edit" name:"uboot_entrypoint" prio:"40" msg:"Please specify a value for UBOOT_ENTRYPOINT:" default:"0x00000000" }} UBOOT_ENTRYPOINT = "{{=uboot_entrypoint}}" {{ input type:"edit" name:"kernel_devicetree" prio:"40" msg:"Please specify a [arch/powerpc/boot/dts/xxx] value for KERNEL_DEVICETREE:" default:"mpc8315erdb.dts" }} KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/{{=kernel_devicetree}}" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"