make the openwrt package dir install the shared includes into the staging dir
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 May 2005 20:50:17 +0000 (20:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 May 2005 20:50:17 +0000 (20:50 +0000)
SVN-Revision: 1117

openwrt/package/openwrt/Makefile

index 850c8729af1d158093ec9acb2c06082cff8e4a62..71edbee3af58d890ad4668bfe812da942fe4bf1b 100644 (file)
@@ -67,6 +67,8 @@ $(IPKG_STATE_DIR)/info/$(PKG_NAME).list: $(PKG_IPK)
 source: $(DL_DIR)/$(LINKSYS_WLCONF_TGZ)
 prepare: $(LINKSYS_WLCONF_DIR)/.unpacked
 compile: prepare libnvram-compile libshared-compile $(PKG_IPK) $(PKG_WLCOMPAT)
+       mkdir -p $(STAGING_DIR)/usr/include
+       cp -a ./include/* $(STAGING_DIR)/usr/include/
 install: libnvram-install libshared-install \
         $(TARGET_DIR)/usr/sbin/wlconf \
         $(IPKG_STATE_DIR)/info/$(PKG_NAME).list \