Skip to content

Commit

Permalink
Merge pull request #60 from jkloetzke/linux-custom-cfg
Browse files Browse the repository at this point in the history
kernel/linux: fix custom config package
  • Loading branch information
jkloetzke authored Feb 21, 2025
2 parents c8315bd + 8a6dd70 commit 1eb19ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/kernel/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ checkoutSCM:
stripComponents: 1

buildTools: [bison, flex, host-toolchain]
buildVars: [ARCH, LINUX_CONFIG, LINUX_CUSTOM_CONFIG]
buildVars: [ARCH, LINUX_CONFIG, LINUX_CUSTOM_CONFIG, LINUX_CUSTOM_CONFIG_PKG]
buildScript: |
# prevent timestamps in configuration
export KCONFIG_NOTIMESTAMP=1
Expand Down Expand Up @@ -49,7 +49,8 @@ buildScript: |
# Use plain "defconfig" if we have no specific target. Otherwise check if
# defconfig has changed.
if [[ ${LINUX_CUSTOM_CONFIG:+true} ]] ; then
cp -u "${BOB_DEP_PATHS[kernel::linux-custom-config]}/$LINUX_CUSTOM_CONFIG" .config
PKG="${LINUX_CUSTOM_CONFIG_PKG:-kernel::linux-custom-config}"
cp -u "${BOB_DEP_PATHS[$PKG]}/$LINUX_CUSTOM_CONFIG" .config
make -C "$1" O=$PWD olddefconfig
elif [[ ${LINUX_CONFIG:+true} ]] ; then
if [[ ( ! -e ".config" ) ||
Expand Down

0 comments on commit 1eb19ab

Please sign in to comment.