mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 08:41:13 -07:00
initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require conf/distro/include/fslc-base.inc
|
||||
|
||||
DISTRO = "forgefirm"
|
||||
DISTRO_NAME = "OpenGlow/ForgeFIRM"
|
||||
DISTRO_VERSION = "0.0.0"
|
||||
|
||||
DISTRO_FEATURES_remove = " \
|
||||
3g alsa avahi bluetooth bluez5 ext2 ipv6 irda nfc nfs opengl pci pcmcia \
|
||||
pulseaudio vulkan wayland x11 zeroconf "
|
||||
@@ -0,0 +1,16 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "forgefirm-layer"
|
||||
BBFILE_PATTERN_forgefirm-layer = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_forgefirm-layer = "10"
|
||||
|
||||
# This should only be incremented on significant changes that will
|
||||
# cause compatibility issues with other layers
|
||||
LAYERVERSION_forgefirm-layer = "1"
|
||||
|
||||
LAYERSERIES_COMPAT_forgefirm-layer = "zeus"
|
||||
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "C library for web frameworks"
|
||||
HOMEPAGE = "https://github.com/babelouest/ulfius"
|
||||
|
||||
LICENSE = "LGPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
|
||||
|
||||
SRC_URI = "git://github.com/babelouest/ulfius"
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake pkgconfig
|
||||
|
||||
# For some reason, this package wants to install headers from other packages
|
||||
# do_install_append() {
|
||||
# rm -f ${D}${includedir}/orcania.h
|
||||
# rm -f ${D}${includedir}/orcania-cfg.h
|
||||
# rm -f ${D}${includedir}/yder.h
|
||||
# rm -f ${D}${includedir}/yder-cfg.h
|
||||
# }
|
||||
|
||||
DEPENDS = "gnutls jansson libmicrohttpd"
|
||||
RDEPENDS_${PN} = "gnutls jansson libmicrohttpd"
|
||||
|
||||
EXTRA_OECMAKE += "-DWITH_JOURNALD=off"
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user