mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
synced 2024-12-23 23:43:53 +00:00
ee91452dac
The kernel has supported compressed firmware for quite some time. So let's add a couple of targets to produce that. In practical terms this means it we'll use ~5x times less space on disk. Reportedly the amd ucode, needs to be uncompressed _within_ the initrd in order to work. Using compressed ucode in late load just works. Ideally this will be addressed by the initrd generators, but considering the files are tiny in size let's skip the compression. v2 - commit message, skip compression for files annotated as Raw v3 - rebase [Drop extra verbose statement in zstd case, Josh Boyer <jwboyer@kernel.org>] Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org>
22 lines
456 B
Makefile
22 lines
456 B
Makefile
# This file implements the GNOME Build API:
|
|
# http://people.gnome.org/~walters/docs/build-api.txt
|
|
|
|
FIRMWAREDIR = /lib/firmware
|
|
|
|
all:
|
|
|
|
check:
|
|
@./check_whence.py
|
|
|
|
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)
|