feat: add flag to enable/disable udev rule installation.
This commit is contained in:
parent
1c70a5c442
commit
e66e262873
1 changed files with 9 additions and 5 deletions
14
Makefile
14
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue