feat: add flag to enable/disable udev rule installation.

This commit is contained in:
redxef 2025-01-07 20:54:49 +01:00
parent 1c70a5c442
commit e66e262873
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,9 +1,13 @@
ARCH=arm
VERSION=1.29.0
CCPREFIX=arm-linux-gnueabihf-
ARCH = arm
VERSION = 1.29.0
ENABLE_UDEV ?= t
CCPREFIX = arm-linux-gnueabihf-
SRC := $(shell find src -type f | tail -n+2)
SRC_REL := $(shell cd src && find ./ -type f)
SRC := src/usr/local/syncthing/start.sh src/usr/local/syncthing/stop.sh
ifeq ($(ENABLE_UDEV),t)
SRC += src/etc/udev/rules.d/99-syncthing.rules
endif
SRC_REL := $(subst src/,./,$(SRC))
TARCONTENT :=
all: KoboRoot.tgz