X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2cd08ba990c1b357e89b9ccd86a0c8e42e46ae95..fcb2538f2b451558abc10a18fa0c509f3f31cb2c:/package/libnl/Makefile diff --git a/package/libnl/Makefile b/package/libnl/Makefile index f55d494a6..88776a07e 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -29,6 +29,8 @@ define Package/libnl/description This package contains a library for applications dealing with netlink sockets endef +TARGET_CFLAGS += -ffunction-sections + define Build/Compile $(call Build/Compile/Default) make -C $(PKG_BUILD_DIR) \ @@ -36,7 +38,7 @@ define Build/Compile install endef -ifneq ($(CONFIG_LINUX_2_6_23)$(CONFIG_LINUX_2_6_24),) +ifneq ($(CONFIG_LINUX_2_6),) define Build/InstallDev $(INSTALL_DIR) $(1) $(CP) $(PKG_INSTALL_DIR)/* $(1)/