PKG_LICENSE:=LGPL-2.1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/kernel.mk
define Package/libnl/default
SECTION:=libs
endef
TARGET_CFLAGS += -ffunction-sections $(FPIC)
+TARGET_CPPFLAGS += -I$(LINUX_DIR)/user_headers/include
define Build/Compile
$(call Build/Compile/Default)
TITLE += (with DNSSEC, DHCPv6, Auth DNS, IPset, Conntrack, NO_ID enabled by default)
DEPENDS:=+PACKAGE_dnsmasq_full_dnssec:libnettle \
+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset \
- +PACKAGE_dnsmasq_full_conntrack:libnetfilter-conntrack
+ +PACKAGE_dnsmasq_full_conntrack:libnetfilter-conntrack \
+ +libmnl
VARIANT:=full
endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections
+ifeq ($(CONFIG_PACKAGE_dnsmasq_full_conntrack),y)
+TARGET_LDFLAGS += -lmnl
+endif
+
COPTS = $(if $(CONFIG_IPV6),,-DNO_IPV6)
ifeq ($(BUILD_VARIANT),nodhcpv6)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
+include $(INCLUDE_DIR)/kernel.mk
define Package/umbim
SECTION:=net
endef
TARGET_CFLAGS += \
- -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections
+ -I$(STAGING_DIR)/usr/include -ffunction-sections -fdata-sections \
+ -I$(LINUX_DIR)/user_headers/include
TARGET_LDFLAGS += -Wl,--gc-sections
DEPENDS:= +libnl
endef
+TARGET_CPPFLAGS+=-I$(LINUX_DIR)/user_headers/
+
define Build/Configure
$(call Build/Configure/Default)
endef
SPI testing utility.
endef
+TARGET_CFLAGS+=-I$(LINUX_DIR)/user_headers/include
+
define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/spidev_test \
$(PKG_BUILD_DIR)/spidev_test.c