Name firmware-sof-signed
Description Intel SOF firmware - signed
Version 2023.12.1-1ubuntu1.10
Package Base firmware-sof
Homepage https://github.com/thesofproject/sof-bin
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/firmware-sof/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/firmware-sof-signed/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/firmware-sof/plain/debian/patches/../?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'zstd']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash e6f55a9c2f9e1198ed2c9e11ae79dd616b2b27337fd5f24897d88d7ee2cbcbed
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export SOF_INSTALL_DIR=debian/firmware-sof-signed/lib/firmware/intel
%:
	dh $@

override_dh_auto_install:
	mkdir -p $(SOF_INSTALL_DIR)
	cp -a sof $(SOF_INSTALL_DIR)
	cp -a sof-ipc4 $(SOF_INSTALL_DIR)
	cp -a sof-tplg $(SOF_INSTALL_DIR)
	cp -a sof-ace-tplg $(SOF_INSTALL_DIR)

	find $(SOF_INSTALL_DIR) -type f -exec zstd -q --rm -19 {} \;
	for link in `find $(SOF_INSTALL_DIR) -type l`; do \
		ln -s `readlink $$link`.zst $$link.zst; \
		rm $$link; \
	done