Merge branch 'make-error-on-copyopts' into 'main'
Makefile: error out of 'install' if COPYOPTS is set See merge request kernel-firmware/linux-firmware!340
This commit is contained in:
commit
08bb5322f4
5
Makefile
5
Makefile
|
@ -30,6 +30,11 @@ dedup:
|
|||
./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
||||
|
||||
install:
|
||||
@if [ -n "${COPYOPTS}" ]; then \
|
||||
echo "COPYOPTS is not used since linux-firmware-20241017!"; \
|
||||
echo "You may want to use install{-xz,-zst} and dedup targets instead"; \
|
||||
false; \
|
||||
fi
|
||||
install -d $(DESTDIR)$(FIRMWAREDIR)
|
||||
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
||||
@echo "Now run \"make dedup\" to de-duplicate any firmware files"
|
||||
|
|
Loading…
Reference in New Issue