diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
| commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
| tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /scripts/lib/bsp/substrate/target/arch/i386 | |
| download | poky-daisy-140929.tar.gz | |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/i386')
18 files changed, 372 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf new file mode 100644 index 0000000000..932fd79bb9 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/conf/machine/{{=machine}}.conf | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: {{=machine}} | ||
| 3 | |||
| 4 | #@DESCRIPTION: Machine configuration for {{=machine}} systems | ||
| 5 | |||
| 6 | {{ if kernel_choice == "custom": preferred_kernel = "linux-yocto-custom" }} | ||
| 7 | {{ if kernel_choice == "linux-yocto-dev": preferred_kernel = "linux-yocto-dev" }} | ||
| 8 | {{ if kernel_choice == "custom" or kernel_choice == "linux-yocto-dev" : }} | ||
| 9 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
| 10 | |||
| 11 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel = kernel_choice.split('_')[0] }} | ||
| 12 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": preferred_kernel_version = kernel_choice.split('_')[1] }} | ||
| 13 | {{ if kernel_choice != "custom" and kernel_choice != "linux-yocto-dev": }} | ||
| 14 | PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" | ||
| 15 | PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" | ||
| 16 | |||
| 17 | {{ input type:"choicelist" name:"tunefile" prio:"40" msg:"Which machine tuning would you like to use?" default:"tune_core2" }} | ||
| 18 | {{ input type:"choice" val:"tune_i586" msg:"i586 tuning optimizations" }} | ||
| 19 | {{ input type:"choice" val:"tune_atom" msg:"Atom tuning optimizations" }} | ||
| 20 | {{ input type:"choice" val:"tune_core2" msg:"Core2 tuning optimizations" }} | ||
| 21 | {{ if tunefile == "tune_i586": }} | ||
| 22 | require conf/machine/include/tune-i586.inc | ||
| 23 | {{ if tunefile == "tune_atom": }} | ||
| 24 | require conf/machine/include/tune-atom.inc | ||
| 25 | {{ if tunefile == "tune_core2": }} | ||
| 26 | DEFAULTTUNE="core2-32" | ||
| 27 | require conf/machine/include/tune-core2.inc | ||
| 28 | |||
| 29 | require conf/machine/include/x86-base.inc | ||
| 30 | |||
| 31 | MACHINE_FEATURES += "wifi efi pcbios" | ||
| 32 | |||
| 33 | {{ input type:"boolean" name:"xserver" prio:"50" msg:"Do you need support for X? (y/n)" default:"y" }} | ||
| 34 | |||
| 35 | {{ if xserver == "y" and (kernel_choice == "linux-yocto_3.14" or kernel_choice == "linux-yocto_3.10"): }} | ||
| 36 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }} | ||
| 37 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
| 38 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
| 39 | {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} | ||
| 40 | |||
| 41 | {{ if xserver == "y" and kernel_choice == "custom": }} | ||
| 42 | {{ input type:"choicelist" name:"xserver_choice" prio:"50" msg:"Please select an xserver for this machine:" default:"xserver_i915" }} | ||
| 43 | {{ input type:"choice" val:"xserver_vesa" msg:"VESA xserver support" }} | ||
| 44 | {{ input type:"choice" val:"xserver_i915" msg:"i915 xserver support" }} | ||
| 45 | {{ input type:"choice" val:"xserver_i965" msg:"i965 xserver support" }} | ||
| 46 | |||
| 47 | {{ if xserver == "y" and kernel_choice != "linux-yocto_3.14" and kernel_choice != "linux-yocto_3.10" and kernel_choice != "custom": xserver_choice = "xserver_i915" }} | ||
| 48 | |||
| 49 | {{ if xserver == "y": }} | ||
| 50 | XSERVER ?= "${XSERVER_X86_BASE} \ | ||
| 51 | ${XSERVER_X86_EXT} \ | ||
| 52 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
| 53 | ${XSERVER_X86_VESA} \ | ||
| 54 | {{ if xserver == "y" and xserver_choice == "xserver_i915": }} | ||
| 55 | ${XSERVER_X86_I915} \ | ||
| 56 | {{ if xserver == "y" and xserver_choice == "xserver_i965": }} | ||
| 57 | ${XSERVER_X86_I965} \ | ||
| 58 | {{ if xserver == "y": }} | ||
| 59 | " | ||
| 60 | |||
| 61 | MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d" | ||
| 62 | |||
| 63 | GLIBC_ADDONS = "nptl" | ||
| 64 | |||
| 65 | EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" | ||
| 66 | |||
| 67 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
| 68 | APPEND += "video=vesafb vga=0x318" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver == "y": }} xorg.conf b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver == "y": }} xorg.conf new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/{{ if xserver == "y": }} xorg.conf | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/{{ if xserver == "y": }} xserver-xf86-config_0.1.bbappend | |||
| @@ -0,0 +1 @@ | |||
| FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall new file mode 100644 index 0000000000..a04e6c7852 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | {{ if kernel_choice != "custom": }} | ||
| 2 | {{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (3.14) kernel? (y/n)" default:"y"}} | ||
| 3 | |||
| 4 | {{ if kernel_choice != "custom" and use_default_kernel == "n": }} | ||
| 5 | {{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_3.14"}} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc new file mode 100644 index 0000000000..bfefb0d0a0 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE preempt-rt | ||
| 3 | define KARCH i386 | ||
| 4 | |||
| 5 | include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
| 10 | |||
| 11 | # default policy for preempt-rt kernels | ||
| 12 | include cfg/usb-mass-storage.scc | ||
| 13 | include cfg/boot-live.scc | ||
| 14 | include features/latencytop/latencytop.scc | ||
| 15 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc new file mode 100644 index 0000000000..60b670dffc --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE standard | ||
| 3 | define KARCH i386 | ||
| 4 | |||
| 5 | include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
| 10 | |||
| 11 | # default policy for standard kernels | ||
| 12 | include cfg/usb-mass-storage.scc | ||
| 13 | include cfg/boot-live.scc | ||
| 14 | include features/latencytop/latencytop.scc | ||
| 15 | include features/profiling/profiling.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc new file mode 100644 index 0000000000..ec44ef9485 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | define KMACHINE {{=machine}} | ||
| 2 | define KTYPE tiny | ||
| 3 | define KARCH i386 | ||
| 4 | |||
| 5 | include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}} | ||
| 6 | {{ if need_new_kbranch == "y": }} | ||
| 7 | branch {{=machine}} | ||
| 8 | |||
| 9 | include {{=machine}}.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc | |||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg new file mode 100644 index 0000000000..e93c0b8a08 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | CONFIG_X86_32=y | ||
| 2 | CONFIG_MATOM=y | ||
| 3 | CONFIG_PRINTK=y | ||
| 4 | |||
| 5 | # Basic hardware support for the box - network, USB, PCI, sound | ||
| 6 | CONFIG_NETDEVICES=y | ||
| 7 | CONFIG_ATA=y | ||
| 8 | CONFIG_ATA_GENERIC=y | ||
| 9 | CONFIG_ATA_SFF=y | ||
| 10 | CONFIG_PCI=y | ||
| 11 | CONFIG_MMC=y | ||
| 12 | CONFIG_MMC_SDHCI=y | ||
| 13 | CONFIG_USB_SUPPORT=y | ||
| 14 | CONFIG_USB=y | ||
| 15 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
| 16 | CONFIG_R8169=y | ||
| 17 | CONFIG_PATA_SCH=y | ||
| 18 | CONFIG_MMC_SDHCI_PCI=y | ||
| 19 | CONFIG_USB_EHCI_HCD=y | ||
| 20 | CONFIG_PCIEPORTBUS=y | ||
| 21 | CONFIG_NET=y | ||
| 22 | CONFIG_USB_UHCI_HCD=y | ||
| 23 | CONFIG_USB_OHCI_HCD=y | ||
| 24 | CONFIG_BLK_DEV_SD=y | ||
| 25 | CONFIG_CHR_DEV_SG=y | ||
| 26 | CONFIG_SOUND=y | ||
| 27 | CONFIG_SND=y | ||
| 28 | CONFIG_SND_HDA_INTEL=y | ||
| 29 | CONFIG_SATA_AHCI=y | ||
| 30 | CONFIG_AGP=y | ||
| 31 | CONFIG_PM=y | ||
| 32 | CONFIG_ACPI=y | ||
| 33 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
| 34 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
| 35 | CONFIG_INPUT=y | ||
| 36 | |||
| 37 | # Make sure these are on, otherwise the bootup won't be fun | ||
| 38 | CONFIG_EXT3_FS=y | ||
| 39 | CONFIG_UNIX=y | ||
| 40 | CONFIG_INET=y | ||
| 41 | CONFIG_MODULES=y | ||
| 42 | CONFIG_SHMEM=y | ||
| 43 | CONFIG_TMPFS=y | ||
| 44 | CONFIG_PACKET=y | ||
| 45 | |||
| 46 | # Needed for booting (and using) USB memory sticks | ||
| 47 | CONFIG_BLK_DEV_LOOP=y | ||
| 48 | CONFIG_NLS_CODEPAGE_437=y | ||
| 49 | CONFIG_NLS_ISO8859_1=y | ||
| 50 | |||
| 51 | CONFIG_RD_GZIP=y | ||
| 52 | |||
| 53 | # Needed for booting (and using) CD images | ||
| 54 | CONFIG_BLK_DEV_SR=y | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc new file mode 100644 index 0000000000..eda1d62f11 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | kconf hardware {{=machine}}.cfg | ||
| 2 | |||
| 3 | include features/intel-e1xxxx/intel-e100.scc | ||
| 4 | include features/intel-e1xxxx/intel-e1xxxx.scc | ||
| 5 | |||
| 6 | {{ if xserver == "y" and xserver_choice == "xserver_i915" or xserver_choice == "xserver_i965": }} | ||
| 7 | include features/i915/i915.scc | ||
| 8 | |||
| 9 | include features/serial/8250.scc | ||
| 10 | include features/ericsson-3g/f5521gw.scc | ||
| 11 | |||
| 12 | {{ if xserver == "y" and xserver_choice == "xserver_vesa": }} | ||
| 13 | include cfg/vesafb.scc | ||
| 14 | |||
| 15 | include cfg/usb-mass-storage.scc | ||
| 16 | include cfg/boot-live.scc | ||
| 17 | include features/power/intel.scc | ||
| 18 | |||
| 19 | kconf hardware {{=machine}}-user-config.cfg | ||
| 20 | include {{=machine}}-user-patches.scc | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend new file mode 100644 index 0000000000..25c87a85ac --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-dev": }} linux-yocto-dev.bbappend | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 7 | |||
| 8 | {{ if need_new_kbranch == "y": }} | ||
| 9 | {{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 10 | |||
| 11 | {{ if need_new_kbranch == "n": }} | ||
| 12 | {{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 13 | |||
| 14 | {{ if need_new_kbranch == "n": }} | ||
| 15 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 16 | |||
| 17 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Would you like SMP support? (y/n)" default:"y"}} | ||
| 18 | {{ if smp == "y": }} | ||
| 19 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 20 | |||
| 21 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 22 | file://{{=machine}}-user-config.cfg \ | ||
| 23 | file://{{=machine}}-user-patches.scc \ | ||
| 24 | file://{{=machine}}-user-features.scc \ | ||
| 25 | " | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend new file mode 100644 index 0000000000..08b1f88d1b --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-rt_3.10": }} linux-yocto-rt_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | |||
| 7 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 8 | |||
| 9 | {{ if need_new_kbranch == "y": }} | ||
| 10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/preempt-rt" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/preempt-rt/base" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-preempt-rt.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-rt_{{=machine}} ?= "f35992f80c81dc5fa1a97165dfd5cbb84661f7cb" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-rt_{{=machine}} ?= "1b534b2f8bbe9b8a773268cfa30a4850346f6f5f" | ||
| 32 | #LINUX_VERSION = "3.10.9" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend new file mode 100644 index 0000000000..bc6968d832 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.10": }} linux-yocto-tiny_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | |||
| 7 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 8 | |||
| 9 | {{ if need_new_kbranch == "y": }} | ||
| 10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-tiny.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.10.9" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend new file mode 100644 index 0000000000..d221d5f2a4 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto-tiny_3.14": }} linux-yocto-tiny_3.14.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | |||
| 7 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 8 | |||
| 9 | {{ if need_new_kbranch == "y": }} | ||
| 10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard/tiny" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/tiny/base" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-tiny.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto-tiny_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto-tiny_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.14" | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend new file mode 100644 index 0000000000..c1f26540a7 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.10": }} linux-yocto_3.10.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | |||
| 7 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 8 | |||
| 9 | {{ if need_new_kbranch == "y": }} | ||
| 10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "19f7e43b54aef08d58135ed2a897d77b624b320a" | ||
| 31 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "459165c1dd61c4e843c36e6a1abeb30949a20ba7" | ||
| 32 | #LINUX_VERSION = "3.10.9" \ No newline at end of file | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend new file mode 100644 index 0000000000..948d568cd1 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/{{ if kernel_choice == "linux-yocto_3.14": }} linux-yocto_3.14.bbappend | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR := "${PR}.1" | ||
| 4 | |||
| 5 | COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}" | ||
| 6 | |||
| 7 | {{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }} | ||
| 8 | |||
| 9 | {{ if need_new_kbranch == "y": }} | ||
| 10 | {{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 11 | |||
| 12 | {{ if need_new_kbranch == "n": }} | ||
| 13 | {{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }} | ||
| 14 | |||
| 15 | {{ if need_new_kbranch == "n": }} | ||
| 16 | KBRANCH_{{=machine}} = "{{=existing_kbranch}}" | ||
| 17 | |||
| 18 | {{ input type:"boolean" name:"smp" prio:"30" msg:"Do you need SMP support? (y/n)" default:"y"}} | ||
| 19 | {{ if smp == "y": }} | ||
| 20 | KERNEL_FEATURES_append_{{=machine}} += " cfg/smp.scc" | ||
| 21 | |||
| 22 | SRC_URI += "file://{{=machine}}-standard.scc \ | ||
| 23 | file://{{=machine}}-user-config.cfg \ | ||
| 24 | file://{{=machine}}-user-patches.scc \ | ||
| 25 | file://{{=machine}}-user-features.scc \ | ||
| 26 | " | ||
| 27 | |||
| 28 | # uncomment and replace these SRCREVs with the real commit ids once you've had | ||
| 29 | # the appropriate changes committed to the upstream linux-yocto repo | ||
| 30 | #SRCREV_machine_pn-linux-yocto_{{=machine}} ?= "840bb8c059418c4753415df56c9aff1c0d5354c8" | ||
| 31 | #SRCREV_meta_pn-linux-yocto_{{=machine}} ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993" | ||
| 32 | #LINUX_VERSION = "3.14" \ No newline at end of file | ||
