diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-01-06 19:28:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-01-06 19:28:26 +0000 |
commit | d9e54d1e0bdee4c7ccad8d9811b566237a59406f (patch) | |
tree | f8a2188c213d063c99a4f8d294a2ea07f57560c8 /package/switch | |
parent | 178721f76bf6e298b36f6cbfc725ea3ce689a57c (diff) | |
download | upstream-d9e54d1e0bdee4c7ccad8d9811b566237a59406f.tar.gz upstream-d9e54d1e0bdee4c7ccad8d9811b566237a59406f.tar.bz2 upstream-d9e54d1e0bdee4c7ccad8d9811b566237a59406f.zip |
export switch-core.h to $(STAGING_DIR)
SVN-Revision: 10138
Diffstat (limited to 'package/switch')
-rw-r--r-- | package/switch/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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/ |