fix remaining netif_rx calls in napi polling patch
[openwrt.git] / package / libnl / Makefile
index 9f33410..d232c77 100644 (file)
@@ -36,16 +36,20 @@ define Build/Compile
                install
 endef
 
-define Build/InstallDev
+ifneq ($(CONFIG_LINUX_2_6_23),)
+  define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
-endef
+       mkdir -p $(1)/usr/include/libnl
+       $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/
+  endef
 
-define Build/UninstallDev
-endef
+  define Build/UninstallDev
+  endef
 
-define Package/libnl/install
+  define Package/libnl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libnl.so.1 $(1)/usr/lib/
-endef
+  endef
+endif
 
 $(eval $(call BuildPackage,libnl))
This page took 0.026274 seconds and 4 git commands to generate.