mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
linux: fix oldconfig handling
make oldconfig is very noisy when config options are missing and produces a lot of errors as it's trying to read from stdin which is not available during build. Fix this by piping yes "" to it's stdin to select default kernel options. Also run "make listnewconfig" before that to get a summary of the additional options set like it's done eg in Debian. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
0008ab5fd3
commit
1e13c1940b
@ -170,7 +170,8 @@ pre_make_target() {
|
||||
${PKG_BUILD}/scripts/config --set-str CONFIG_EXTRA_FIRMWARE_DIR "external-firmware"
|
||||
fi
|
||||
|
||||
kernel_make oldconfig
|
||||
kernel_make listnewconfig
|
||||
yes "" | kernel_make oldconfig > /dev/null
|
||||
|
||||
if [ -f "${DISTRO_DIR}/${DISTRO}/kernel_options" ]; then
|
||||
while read OPTION; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user