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>
This commit is contained in:
Josh Boyer 2023-11-28 11:39:42 -05:00
parent 5aadb590f1
commit d9f6088f7e
No known key found for this signature in database
GPG Key ID: A31B6BD72486CFD6
1 changed files with 1 additions and 1 deletions

View File

@ -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)