diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-16 23:38:52 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-26 22:30:56 +0200 |
commit | f543588812d4cb16c80e2b67b7afb46d418df0c1 (patch) | |
tree | 5d0b09de6db7729e2cff294dc08e93121ccac61d /package/network/utils | |
parent | 8de88a2aa9e83bff35c11571a9f48e243c1d5bb9 (diff) | |
download | upstream-f543588812d4cb16c80e2b67b7afb46d418df0c1.tar.gz upstream-f543588812d4cb16c80e2b67b7afb46d418df0c1.tar.bz2 upstream-f543588812d4cb16c80e2b67b7afb46d418df0c1.zip |
iproute2: Fix KERNEL_INCLUDE in SDK
In the SDK the folder $(LINUX_DIR)/user_headers/include does not exist,
but it more or less contains the same content as
$(LINUX_DIR)/include/uapi which also exists in the SDK.
Since iproute2 commit 1d819dcc741e ("configure: fix parsing issue on
include_dir option") it checks if this folder exists and aborts the
build if it does not exists.
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1d819dcc741e25958190e31f8186c940713fa0a8
With this commit the KERNEL_INCLUDE variable points to a valid folder
with the kernel include headers. I am not sure if they are actually
needed because the build worked before even with an invalid path.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 60738fedede1746922a8b227f24ad5c733661585)
Diffstat (limited to 'package/network/utils')
-rw-r--r-- | package/network/utils/iproute2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 55c00a0d6d..afad0e79d6 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -176,7 +176,7 @@ TARGET_LDFLAGS += -Wl,--gc-sections -Wl,--as-needed TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny MAKE_FLAGS += \ - KERNEL_INCLUDE="$(LINUX_DIR)/user_headers/include" \ + KERNEL_INCLUDE="$(LINUX_DIR)/include/uapi" \ SHARED_LIBS=$(SHARED_LIBS) \ IP_CONFIG_TINY=$(IP_CONFIG_TINY) \ BUILD_VARIANT=$(BUILD_VARIANT) \ |