mirror of
https://gitlab.com/kernel-firmware/linux-firmware.git
synced 2025-12-10 07:44:48 +01:00
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
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -30,6 +30,11 @@ dedup:
|
||||||
./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
./dedup-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
||||||
|
|
||||||
install:
|
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)
|
install -d $(DESTDIR)$(FIRMWAREDIR)
|
||||||
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
||||||
@echo "Now run \"make dedup\" to de-duplicate any firmware files"
|
@echo "Now run \"make dedup\" to de-duplicate any firmware files"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue