1) To change the defconfig:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://defconfig"
2) For incremental changes to the Linux kernel .config file:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://fragment1.cfg \
file://fragment2.cfg \
"
3) If you have a final Linux kernel .config file you want to use:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://defconfig"
Note: The SRC_URI tells the build system how to search for the file.
The FILESEXTRAPATHS extends the FILESPATH variable (search directories) to include the files directory created for the configuration changes.
AR# 68446 | |
---|---|
日期 | 05/18/2018 |
状态 | Active |
Type | 综合文章 |
器件 | |
Tools | |
Boards & Kits |