You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
570 B
25 lines
570 B
# This file implements the GNOME Build API: |
|
# http://people.gnome.org/~walters/docs/build-api.txt |
|
|
|
FIRMWAREDIR = /lib/firmware |
|
|
|
all: |
|
|
|
check: |
|
@if ! which pre-commit >/dev/null; then \ |
|
echo "Install pre-commit to check files"; \ |
|
exit 1; \ |
|
fi |
|
@pre-commit run --all-files |
|
|
|
install: |
|
install -d $(DESTDIR)$(FIRMWAREDIR) |
|
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR) |
|
|
|
install-xz: |
|
install -d $(DESTDIR)$(FIRMWAREDIR) |
|
./copy-firmware.sh --xz $(DESTDIR)$(FIRMWAREDIR) |
|
|
|
install-zst: |
|
install -d $(DESTDIR)$(FIRMWAREDIR) |
|
./copy-firmware.sh --zstd $(DESTDIR)$(FIRMWAREDIR)
|
|
|