1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-11-24 00:56:04 +01:00
cdf2018-principal/raspberrypi/package/robotech/chef/chef.mk

25 lines
784 B
Makefile
Raw Normal View History

2018-02-07 17:57:01 +01:00
################################################################################
#
# Programme chef - Coupe de France de Robotique
#
################################################################################
CHEF_VERSION = 1.0
CHEF_SITE = $(BR2_EXTERNAL_CDF_PATH)/package/robotech/chef/code
CHEF_SITE_METHOD = local
CHEF_DEPENDENCIES = wiringpi
define CHEF_BUILD_CMDS
$(MAKE) -C $(@D) clean
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define CHEF_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/opt/chef/bin
$(INSTALL) -d -m 0755 $(TARGET_DIR)/opt/chef/com
2018-04-04 16:17:13 +02:00
$(INSTALL) -d -m 0755 $(TARGET_DIR)/opt/chef/log
2018-02-07 17:57:01 +01:00
$(INSTALL) -D -m 0755 $(@D)/bin/* $(TARGET_DIR)/opt/chef/bin
2018-04-30 16:15:47 +02:00
$(INSTALL) -D -m 0755 $(@D)/*.sh $(TARGET_DIR)/opt/chef
2018-02-07 17:57:01 +01:00
endef
$(eval $(generic-package))