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 | a133f02be23f88dedefe765053a1e59c60a5cdd8 (patch) | |
tree | a98aa3293632311779b02d59c294fc2b2649de5f /package/switch | |
parent | 19887d557e01aad2145fa3ad086bc12a8d04695a (diff) | |
download | master-187ad058-a133f02be23f88dedefe765053a1e59c60a5cdd8.tar.gz master-187ad058-a133f02be23f88dedefe765053a1e59c60a5cdd8.tar.bz2 master-187ad058-a133f02be23f88dedefe765053a1e59c60a5cdd8.zip |
export switch-core.h to $(STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73
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/ |