Skip to content
Snippets Groups Projects
Commit d9e54d1e authored by Felix Fietkau's avatar Felix Fietkau
Browse files

export switch-core.h to $(STAGING_DIR)

SVN-Revision: 10138
parent 178721f7
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