Browse Source

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>
main
Josh Boyer 1 year ago
parent
commit
d9f6088f7e
No known key found for this signature in database
GPG Key ID: A31B6BD72486CFD6
  1. 2
      Makefile

2
Makefile

@ -28,7 +28,7 @@ rpm:


install: install:
install -d $(DESTDIR)$(FIRMWAREDIR) install -d $(DESTDIR)$(FIRMWAREDIR)
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR) ./copy-firmware.sh $(COPYOPTS) $(DESTDIR)$(FIRMWAREDIR)


install-nodedup: install-nodedup:
install -d $(DESTDIR)$(FIRMWAREDIR) install -d $(DESTDIR)$(FIRMWAREDIR)

Loading…
Cancel
Save