diff options
| author | Martin Schiller <ms@dev.tdt.de> | 2023-07-31 08:10:23 +0200 |
|---|---|---|
| committer | Martin Schiller <ms@dev.tdt.de> | 2023-10-05 10:31:39 +0200 |
| commit | e53ed6af8744b588ca9da5f395b427a0b0d659ba (patch) | |
| tree | e57bd244e6ca26f09f1f0c81dac70c72fa343f30 /package/network/utils | |
| parent | 3aef61060e3f51aa43fe494d5ff173e81dd43003 (diff) | |
| download | upstream-e53ed6af8744b588ca9da5f395b427a0b0d659ba.tar.gz upstream-e53ed6af8744b588ca9da5f395b427a0b0d659ba.tar.bz2 upstream-e53ed6af8744b588ca9da5f395b427a0b0d659ba.zip | |
linux-atm: use target specific kernel headers
There are a few targets that mess with the atm kernel headers. To avoid
incompatibility between kernel and user space during compilation, the
correct headers should be used.
Consequently, the package must also be marked as nonshared.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'package/network/utils')
| -rw-r--r-- | package/network/utils/linux-atm/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/utils/linux-atm/Makefile b/package/network/utils/linux-atm/Makefile index c74febcbbc3..43f4b6556b5 100644 --- a/package/network/utils/linux-atm/Makefile +++ b/package/network/utils/linux-atm/Makefile @@ -21,6 +21,7 @@ PKG_BUILD_PARALLEL:=1 PKG_LICENSE:=GPL-2.0+ PKG_CPE_ID:=cpe:/a:linux-atm:linux-atm PKG_FIXUP:=autoreconf +PKG_FLAGS:=nonshared include $(INCLUDE_DIR)/package.mk @@ -98,6 +99,8 @@ endef $(foreach t,$(ATM_DEBUG_TOOLS),$(eval $(call GenAtmPlugin,atm-$(t),$(t)))) +TARGET_CFLAGS += -I$(LINUX_DIR)/user_headers/include + define Build/Configure $(call Build/Configure/Default) # prevent autoheader invocation |
