From d9f6088f7e91d246d9e8d92187ecd49e44a36d9d Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Tue, 28 Nov 2023 11:39:42 -0500 Subject: [PATCH] Add a COPYOPTS variable The copy-firmware.sh script continues to grow new options and adding bespoke make targets for them all isn't really sustainable. This introduces a COPYOPTS variable that can be set to pass arguments directly to the script via a make invocation. For now we just include it on the 'install' target to preserve the existing behavior of the rest. Signed-off-by: Josh Boyer --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c94edffe..ac43c97f 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ rpm: install: install -d $(DESTDIR)$(FIRMWAREDIR) - ./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR) + ./copy-firmware.sh $(COPYOPTS) $(DESTDIR)$(FIRMWAREDIR) install-nodedup: install -d $(DESTDIR)$(FIRMWAREDIR)