Skip to content
Snippets Groups Projects
Commit 9cd1d906 authored by nbd's avatar nbd
Browse files

export switch-core.h to $(STAGING_DIR)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 90fba37c
No related branches found
No related tags found
No related merge requests found
......@@ -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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment