From d9e54d1e0bdee4c7ccad8d9811b566237a59406f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Jan 2008 19:28:26 +0000 Subject: [PATCH] export switch-core.h to $(STAGING_DIR) SVN-Revision: 10138 --- package/switch/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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/ -- 2.30.2