diff mbox series

[isar-cip-core] kernel/rt-common: Remove prepare_build_prepend

Message ID 20221219132910.326418-1-Quirin.Gylstorff@siemens.com (mailing list archive)
State Accepted
Headers show
Series [isar-cip-core] kernel/rt-common: Remove prepare_build_prepend | expand

Commit Message

Gylstorff Quirin Dec. 19, 2022, 1:29 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

*.cfg files are automatically added to the kernel config.

https://github.com/ilbers/isar/blob/d26660b724b034b602f3889f55a23cd9be2e87bd/meta/recipes-kernel/linux/linux-custom.inc#L119

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 recipes-kernel/linux/linux-cip-rt-common.inc | 3 ---
 1 file changed, 3 deletions(-)

Comments

Jan Kiszka Jan. 2, 2023, 10:37 a.m. UTC | #1
On 19.12.22 14:29, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> *.cfg files are automatically added to the kernel config.
> 
> https://github.com/ilbers/isar/blob/d26660b724b034b602f3889f55a23cd9be2e87bd/meta/recipes-kernel/linux/linux-custom.inc#L119
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>  recipes-kernel/linux/linux-cip-rt-common.inc | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/recipes-kernel/linux/linux-cip-rt-common.inc b/recipes-kernel/linux/linux-cip-rt-common.inc
> index dffb77b..8e2c293 100644
> --- a/recipes-kernel/linux/linux-cip-rt-common.inc
> +++ b/recipes-kernel/linux/linux-cip-rt-common.inc
> @@ -13,6 +13,3 @@ require linux-cip-common.inc
>  
>  SRC_URI += "file://preempt-rt.cfg"
>  
> -do_prepare_build_prepend() {
> -    cat ${WORKDIR}/preempt-rt.cfg >> ${WORKDIR}/${KERNEL_DEFCONFIG}
> -}

Thanks, applied.

Jan
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-cip-rt-common.inc b/recipes-kernel/linux/linux-cip-rt-common.inc
index dffb77b..8e2c293 100644
--- a/recipes-kernel/linux/linux-cip-rt-common.inc
+++ b/recipes-kernel/linux/linux-cip-rt-common.inc
@@ -13,6 +13,3 @@  require linux-cip-common.inc
 
 SRC_URI += "file://preempt-rt.cfg"
 
-do_prepare_build_prepend() {
-    cat ${WORKDIR}/preempt-rt.cfg >> ${WORKDIR}/${KERNEL_DEFCONFIG}
-}