Update buildroot to 2020.02.7 (#923)
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
committed by
Stefan Agner
parent
f9c29ef209
commit
e43d4cd632
@@ -160,7 +160,8 @@ endif
|
||||
|
||||
# Get the real Linux version, which tells us where kernel modules are
|
||||
# going to be installed in the target filesystem.
|
||||
LINUX_VERSION_PROBED = `$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease 2>/dev/null`
|
||||
# Filter out 'w' from MAKEFLAGS, to workaround a bug in make 4.1 (#13141)
|
||||
LINUX_VERSION_PROBED = `MAKEFLAGS='$(filter-out w,$(MAKEFLAGS))' $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease 2>/dev/null`
|
||||
|
||||
LINUX_DTS_NAME += $(call qstrip,$(BR2_LINUX_KERNEL_INTREE_DTS_NAME))
|
||||
|
||||
@@ -535,7 +536,8 @@ endef
|
||||
# Run depmod in a target-finalize hook, to encompass modules installed by
|
||||
# packages.
|
||||
define LINUX_RUN_DEPMOD
|
||||
if grep -q "CONFIG_MODULES=y" $(LINUX_DIR)/.config; then \
|
||||
if test -d $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED) \
|
||||
&& grep -q "CONFIG_MODULES=y" $(LINUX_DIR)/.config; then \
|
||||
$(HOST_DIR)/sbin/depmod -a -b $(TARGET_DIR) $(LINUX_VERSION_PROBED); \
|
||||
fi
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user