summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files')
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc15
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc9
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg0
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc0
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc0
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg47
-rw-r--r--scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc13
8 files changed, 99 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc
new file mode 100644
index 0000000000..c9882590a8
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-preempt-rt.scc
@@ -0,0 +1,15 @@
1define KMACHINE {{=machine}}
2define KTYPE preempt-rt
3define KARCH x86_64
4
5include {{=map_preempt_rt_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
6{{ if need_new_kbranch == "y": }}
7branch {{=machine}}
8
9include {{=machine}}.scc
10
11# default policy for preempt-rt kernels
12include cfg/usb-mass-storage.scc
13include cfg/boot-live.scc
14include features/latencytop/latencytop.scc
15include features/profiling/profiling.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc
new file mode 100644
index 0000000000..e500bad4b2
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-standard.scc
@@ -0,0 +1,15 @@
1define KMACHINE {{=machine}}
2define KTYPE standard
3define KARCH x86_64
4
5include {{=map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
6{{ if need_new_kbranch == "y": }}
7branch {{=machine}}
8
9include {{=machine}}.scc
10
11# default policy for standard kernels
12include cfg/usb-mass-storage.scc
13include cfg/boot-live.scc
14include features/latencytop/latencytop.scc
15include features/profiling/profiling.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc
new file mode 100644
index 0000000000..e8e3c1c04d
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-tiny.scc
@@ -0,0 +1,9 @@
1define KMACHINE {{=machine}}
2define KTYPE tiny
3define KARCH x86_64
4
5include {{=map_tiny_kbranch(need_new_kbranch, new_kbranch, existing_kbranch)}}
6{{ if need_new_kbranch == "y": }}
7branch {{=machine}}
8
9include {{=machine}}.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-config.cfg
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-features.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/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/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}-user-patches.scc
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg
new file mode 100644
index 0000000000..b4b82d7ca0
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.cfg
@@ -0,0 +1,47 @@
1CONFIG_PRINTK=y
2
3# Basic hardware support for the box - network, USB, PCI, sound
4CONFIG_NETDEVICES=y
5CONFIG_ATA=y
6CONFIG_ATA_GENERIC=y
7CONFIG_ATA_SFF=y
8CONFIG_PCI=y
9CONFIG_MMC=y
10CONFIG_MMC_SDHCI=y
11CONFIG_USB_SUPPORT=y
12CONFIG_USB=y
13CONFIG_USB_ARCH_HAS_EHCI=y
14CONFIG_R8169=y
15CONFIG_PATA_SCH=y
16CONFIG_MMC_SDHCI_PCI=y
17CONFIG_USB_EHCI_HCD=y
18CONFIG_PCIEPORTBUS=y
19CONFIG_NET=y
20CONFIG_USB_UHCI_HCD=y
21CONFIG_BLK_DEV_SD=y
22CONFIG_CHR_DEV_SG=y
23CONFIG_SOUND=y
24CONFIG_SND=y
25CONFIG_SND_HDA_INTEL=y
26
27# Make sure these are on, otherwise the bootup won't be fun
28CONFIG_EXT3_FS=y
29CONFIG_UNIX=y
30CONFIG_INET=y
31CONFIG_MODULES=y
32CONFIG_SHMEM=y
33CONFIG_TMPFS=y
34CONFIG_PACKET=y
35
36CONFIG_I2C=y
37CONFIG_AGP=y
38CONFIG_PM=y
39CONFIG_ACPI=y
40CONFIG_INPUT=y
41
42# Needed for booting (and using) USB memory sticks
43CONFIG_BLK_DEV_LOOP=y
44CONFIG_NLS_CODEPAGE_437=y
45CONFIG_NLS_ISO8859_1=y
46
47CONFIG_RD_GZIP=y
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc
new file mode 100644
index 0000000000..db45140381
--- /dev/null
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/{{ if kernel_choice != "custom": }} files/{{=machine}}.scc
@@ -0,0 +1,13 @@
1kconf hardware {{=machine}}.cfg
2
3include features/serial/8250.scc
4{{ if xserver == "y" and xserver_choice == "xserver_vesa": }}
5include cfg/vesafb.scc
6{{ if xserver == "y" and xserver_choice == "xserver_i915" or xserver_choice == "xserver_i965": }}
7include features/i915/i915.scc
8
9include cfg/usb-mass-storage.scc
10include features/power/intel.scc
11
12kconf hardware {{=machine}}-user-config.cfg
13include {{=machine}}-user-patches.scc