mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2025-09-05 17:40:23 +02:00
Commit initial
This commit is contained in:
commit
e0cb79d1cc
57 changed files with 2128 additions and 0 deletions
6
raspberrypi/package/robotech/chef/Config.in
Normal file
6
raspberrypi/package/robotech/chef/Config.in
Normal file
|
@ -0,0 +1,6 @@
|
|||
config BR2_PACKAGE_CHEF
|
||||
bool "chef"
|
||||
select BR2_PACKAGE_WIRINGPI
|
||||
help
|
||||
Cerveau du robot principal pour la Coupe de France
|
||||
de Robotique, équipe Robotech Lille (Polytech Lille).
|
23
raspberrypi/package/robotech/chef/chef.mk
Normal file
23
raspberrypi/package/robotech/chef/chef.mk
Normal file
|
@ -0,0 +1,23 @@
|
|||
################################################################################
|
||||
#
|
||||
# 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
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/* $(TARGET_DIR)/opt/chef/bin
|
||||
$(INSTALL) -D -m 0755 $(@D)/run.sh $(TARGET_DIR)/opt/chef
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
1
raspberrypi/package/robotech/chef/code
Symbolic link
1
raspberrypi/package/robotech/chef/code
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../chef
|
Loading…
Add table
Add a link
Reference in a new issue