diff options
Diffstat (limited to 'scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom')
5 files changed, 41 insertions, 0 deletions
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig new file mode 100644 index 0000000000..ceb0ffa30c --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/defconfig | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Placeholder for custom default kernel configuration. yocto-bsp will | ||
3 | # replace this file with a user-specified defconfig. | ||
4 | # | ||
5 | {{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }} | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-config.cfg b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-config.cfg new file mode 100644 index 0000000000..17c8b503da --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-config.cfg | |||
@@ -0,0 +1,8 @@ | |||
1 | # | ||
2 | # Used by yocto-kernel to manage config options. | ||
3 | # | ||
4 | # yocto-kernel may change the contents of this file in any | ||
5 | # way it sees fit, including removing comments like this, | ||
6 | # so don't manually make any modifications you don't want | ||
7 | # to lose. | ||
8 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-patches.scc b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-patches.scc new file mode 100644 index 0000000000..7a598d9118 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}-user-patches.scc | |||
@@ -0,0 +1,8 @@ | |||
1 | # | ||
2 | # Used by yocto-kernel to manage patches. | ||
3 | # | ||
4 | # yocto-kernel may change the contents of this file in any | ||
5 | # way it sees fit, including removing comments like this, | ||
6 | # so don't manually make any modifications you don't want | ||
7 | # to lose. | ||
8 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.cfg b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.cfg new file mode 100644 index 0000000000..95170b12eb --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.cfg | |||
@@ -0,0 +1,3 @@ | |||
1 | # | ||
2 | # A convenient place to add config options, nothing more. | ||
3 | # | ||
diff --git a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.scc b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.scc new file mode 100644 index 0000000000..2e3ca90793 --- /dev/null +++ b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == "custom": }} linux-yocto-custom/{{=machine}}.scc | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # The top-level 'feature' for the {{=machine}} custom kernel. | ||
3 | # | ||
4 | # Essentially this is a convenient top-level container or starting | ||
5 | # point for adding lower-level config fragements and features. | ||
6 | # | ||
7 | |||
8 | # {{=machine}}.cfg in the linux-yocto-custom subdir is just a | ||
9 | # convenient place for adding random config fragments. | ||
10 | |||
11 | kconf hardware {{=machine}}.cfg | ||
12 | |||
13 | # These are used by yocto-kernel to add config fragments and features. | ||
14 | # Don't remove if you plan on using yocto-kernel with this BSP. | ||
15 | |||
16 | kconf hardware {{=machine}}-user-config.cfg | ||
17 | include {{=machine}}-user-patches.scc | ||