mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 08:41:13 -07:00
The recipe URLs, the release and install URLs, the vendor check and the CI checkouts name openglow-org, and the grblHAL core fork is openglow-org/grblHAL-core. No catalog change is owed: the recipe edits move the meta-forgefirm content hash, which every test fingerprint folds in through the platform block, so the whole catalog re-runs on its own.
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "grblHAL motion controller for the Glowforge factory board"
|
|
HOMEPAGE = "https://github.com/openglow-org/grblHAL-glowforge"
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3237e48bcef3455c7bea5c0ce16206f6"
|
|
|
|
# gitsm: the grblHAL core rides as a submodule (openglow-org/grblHAL-core, branch
|
|
# forgefirm = upstream master + the step_us_min buffer fix pending
|
|
# upstream).
|
|
SRC_URI = "gitsm://github.com/openglow-org/grblHAL-glowforge.git;protocol=https;branch=main"
|
|
# SRCREV and PV live in the pin file (forgefirm-image-manifest.bbclass).
|
|
require grblhal-glowforge-pin.inc
|
|
|
|
SRC_URI += "file://grblhal.init"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake update-rc.d forgefirm-manifest
|
|
|
|
INITSCRIPT_NAME = "grblhal"
|
|
# stop 80 < forgectrl's 90: at runlevel 0/6 the controller goes down
|
|
# BEFORE the daemon that carries the cooling engine, fire gates, and
|
|
# broker - never the other way around.
|
|
INITSCRIPT_PARAMS = "start 92 2 3 4 5 . stop 80 0 1 6 ."
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/grblhal.init ${D}${sysconfdir}/init.d/grblhal
|
|
}
|
|
|
|
# The controller streams into /dev/glowforge (glowforge.ko) at runtime.
|
|
RRECOMMENDS:${PN} = "kernel-module-glowforge"
|