summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/switch/Makefile11
1 files changed, 10 insertions, 1 deletions
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/