initial commit

This commit is contained in:
ScottW514
2020-04-15 17:13:51 -04:00
parent 29ce635570
commit 9d520e04d9
8 changed files with 101 additions and 0 deletions
@@ -0,0 +1,19 @@
DESCRIPTION = "System Control Daemon for ForgeFIRM powered Glowforge"
HOMEPAGE = "https://github.com/ScottW514/forgectrl"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "\
file://CMakeLists.txt \
file://hello.c \
"
S = "${WORKDIR}"
inherit cmake
DEPENDS += "libconfig ulfius"
RDEPENDS_${PN} = "libconfig ulfius"
EXTRA_OECMAKE = ""
@@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.10)
project(forgectrl C)
set(CMAKE_C_STANDARD 11)
file(GLOB sources "${PROJECT_SOURCE_DIR}/*.c")
add_executable(forgectrl ${sources})
install(TARGETS forgectrl RUNTIME DESTINATION bin)
@@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
@@ -0,0 +1,15 @@
require recipes-glowforge/images/glowforge-image.bb
DESCRIPTION = "OpenGlow/ForgeFIRM development image for Glowforge"
IMAGE_INSTALL += " \
forgectrl \
"
IMAGE_INSTALL_remove = " \
gfui-client \
"
IMAGE_FEATURES += " \
tools-debug \
"
@@ -0,0 +1,3 @@
require recipes-glowforge/images/glowforge-image.bb
DESCRIPTION = "OpenGlow/ForgeFIRM image for Glowforge"