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>
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
$(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