linux-mainline_%.bbappend: Add kernel config for configfs

Customer requested i2c and UART enabled on the orange pi
zero. The directory /sys/kernel/config/device-tree
which is used to add overlays at runtime is not present
in the file system.
This patch enables configfs and generation of the needed
directory.

Changelog-entry: Add configs in the kernel to enable configfs
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
This commit is contained in:
Vicentiu Galanopulo 2019-10-29 16:20:30 +01:00
parent fa64aba334
commit 7954383391

View file

@ -67,6 +67,16 @@ RESIN_CONFIGS[8189fs] ?= " \
CONFIG_RTL8189FS=m \
"
RESIN_CONFIGS_append = " \
configfs \
"
RESIN_CONFIGS[configfs] = " \
CONFIG_OF_CONFIGFS=y \
CONFIG_OF_OVERLAY=y \
CONFIG_CONFIGFS_FS=m \
"
FILES_${PN}-fixup-scr = " \
/boot/sun8i-h3-fixup.scr \
"