From: Felix Fietkau Date: Sun, 6 Jan 2008 19:28:26 +0000 (+0000) Subject: export switch-core.h to $(STAGING_DIR) X-Git-Tag: v19.07.0-rc1~37917 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d9e54d1e0bdee4c7ccad8d9811b566237a59406f;p=openwrt%2Fstaging%2Fhauke.git export switch-core.h to $(STAGING_DIR) SVN-Revision: 10138 --- diff --git a/package/switch/Makefile b/package/switch/Makefile index 74e5778e23..43a4ee24b6 100644 --- a/package/switch/Makefile +++ b/package/switch/Makefile @@ -51,7 +51,16 @@ define Build/Compile EXTRA_CFLAGS="$(BUILDFLAGS)" \ modules endef - + +define Build/InstallDev + mkdir -p $(1)/usr/include + $(CP) ./src/switch-core.h $(1)/usr/include/ +endef + +define Build/UninstallDev + rm -f $(1)/usr/include/switch-core.h +endef + define KernelPackage/switch/install $(INSTALL_DIR) $(1)/lib/network/ $(INSTALL_BIN) ./files/switch.sh $(1)/lib/network/