Permalink
Browse files

Hacks for 4.13 support

  • Loading branch information...
fourkbomb committed Nov 1, 2017
1 parent 5906866 commit 0d2af05c4b700f028856d9ef752e77b697430af8
Showing with 5 additions and 1 deletion.
  1. +4 −0 package/linux-headers/Config.in.host
  2. +1 −1 package/linux-headers/linux-headers.mk
@@ -92,6 +92,10 @@ choice
This is used to hide/show some packages that have strict
requirements on the version of kernel headers.

config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13
bool "4.13.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12

config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12
bool "4.12.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
@@ -126,7 +126,7 @@ ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_AS_KERNEL),y)
define LINUX_HEADERS_CHECK_VERSION
$(call check_kernel_headers_version,\
$(STAGING_DIR),\
$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)))
4.13.0)
endef
LINUX_HEADERS_POST_INSTALL_STAGING_HOOKS += LINUX_HEADERS_CHECK_VERSION
endif

0 comments on commit 0d2af05

Please sign in to comment.