1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00
octonet/buildroot.octonet/package/octoserve/octoserve.mk

19 lines
505 B
Makefile
Raw Normal View History

2015-08-05 18:52:25 +02:00
OCTOSERVE_VERSION = 0.1
OCTOSERVE_SOURCE =
OCTOSERVE_SITE = ../octoserve
OCTOSERVE_SITE_METHOD = local
OCTOSERVE_INSTALL_TARGET = YES
define OCTOSERVE_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define OCTOSERVE_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/octoserve $(TARGET_DIR)/usr/bin/octoserve
cp -rd $(@D)/var $(TARGET_DIR)/
$(INSTALL) -m 0755 -d $(TARGET_DIR)/boot
$(INSTALL) -m 0755 $(@D)/boot/* $(TARGET_DIR)/boot/
endef
$(eval $(generic-package))