1 # Include this file for kernel recipes that need to handle different defconfigs
2 # and apply patches based on "tipspkernel" DISTRO_FEATURES
4 # We don't want "tipspkernel" to be another OVERRIDE, but rather a new level of
5 # FILESPATH with all the OVERRIDES applied to it
6 CONFIGS_PSP = "${@base_set_filespath(["${FILE_DIRNAME}/${PF}/tipspkernel", "${FILE_DIRNAME}/${P}/tipspkernel", \
7 "${FILE_DIRNAME}/${PN}/tipspkernel", "${FILE_DIRNAME}/${BP}/tipspkernel", "${FILE_DIRNAME}/${BPN}/tipspkernel", \
8 "${FILE_DIRNAME}/files/tipspkernel", "${FILE_DIRNAME}/tipspkernel"], d)}:"
10 # When "tipspkernel" is ENABLED, prepend additional set of directories to FILESPATH
11 FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
13 # When "tipspkernel" is NOT ENABLED, append additional list of PATCHES_OVER_PSP to SRC_URI
14 SRC_URI_append = "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"
16 # List additional patches to apply on top of PSP kernel, start with a space
17 PATCHES_OVER_PSP = ""