aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@kernel.org>2023-11-28 11:39:42 -0500
committerJosh Boyer <jwboyer@kernel.org>2023-11-28 11:42:30 -0500
commitd9f6088f7e91d246d9e8d92187ecd49e44a36d9d (patch)
tree0efcb6391187707ae3e918d16399299c3f656af4
parent5aadb590f1f033cfc00bf7bda33f250b5505fb70 (diff)
downloadlinux-firmware-d9f6088f7e91d246d9e8d92187ecd49e44a36d9d.tar.gz
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 <jwboyer@kernel.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)