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:
parent
5aadb590f1
commit
d9f6088f7e
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…
Reference in New Issue