2012-05-21 22:37:20 +00:00
|
|
|
# This file implements the GNOME Build API:
|
|
|
|
# http://people.gnome.org/~walters/docs/build-api.txt
|
|
|
|
|
|
|
|
FIRMWAREDIR = /lib/firmware
|
|
|
|
|
|
|
|
all:
|
|
|
|
|
2016-09-18 00:44:04 +00:00
|
|
|
check:
|
2023-08-15 17:52:13 +00:00
|
|
|
@if ! which pre-commit >/dev/null; then \
|
|
|
|
echo "Install pre-commit to check files"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
@pre-commit run --all-files
|
2016-09-18 00:44:04 +00:00
|
|
|
|
2012-05-21 22:37:20 +00:00
|
|
|
install:
|
2022-05-09 10:25:02 +00:00
|
|
|
install -d $(DESTDIR)$(FIRMWAREDIR)
|
2019-07-31 16:17:44 +00:00
|
|
|
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
|
2023-06-05 13:58:12 +00:00
|
|
|
|
|
|
|
install-xz:
|
|
|
|
install -d $(DESTDIR)$(FIRMWAREDIR)
|
|
|
|
./copy-firmware.sh --xz $(DESTDIR)$(FIRMWAREDIR)
|
|
|
|
|
|
|
|
install-zst:
|
|
|
|
install -d $(DESTDIR)$(FIRMWAREDIR)
|
|
|
|
./copy-firmware.sh --zstd $(DESTDIR)$(FIRMWAREDIR)
|