From 9cd1d90624f3064a8c8da973baf31363a244ad4b Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 6 Jan 2008 19:28:26 +0000 Subject: export switch-core.h to $(STAGING_DIR) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/switch/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package/switch') diff --git a/package/switch/Makefile b/package/switch/Makefile index 74e5778e2..43a4ee24b 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/ -- cgit v1.2.3