mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:34:43 +02:00
export switch-core.h to $(STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
90fba37c49
commit
9cd1d90624
@ -51,7 +51,16 @@ define Build/Compile
|
|||||||
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
||||||
modules
|
modules
|
||||||
endef
|
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
|
define KernelPackage/switch/install
|
||||||
$(INSTALL_DIR) $(1)/lib/network/
|
$(INSTALL_DIR) $(1)/lib/network/
|
||||||
$(INSTALL_BIN) ./files/switch.sh $(1)/lib/network/
|
$(INSTALL_BIN) ./files/switch.sh $(1)/lib/network/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user