Package list bluez-firmware / 5e20b56e-8b59-49e1-ae19-c2ab7a3598c3/main debian / rules
5e20b56e-8b59-49e1-ae19-c2ab7a3598c3/main

Tree @5e20b56e-8b59-49e1-ae19-c2ab7a3598c3/main (Download .tar.gz)

rules @5e20b56e-8b59-49e1-ae19-c2ab7a3598c3/mainraw · history · blame

#!/usr/bin/make -f

DEB_DESTDIR := debian/bluez-firmware

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --libdir=/lib

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(DEB_DESTDIR)/usr/share/doc/bluez-firmware
	mv $(DEB_DESTDIR)/lib/firmware/BCM-LEGAL.txt  \
		$(DEB_DESTDIR)/usr/share/doc/bluez-firmware/
	# Copy firmware of Raspberry Pi
	mkdir -p $(DEB_DESTDIR)/lib/firmware/brcm
	cp $(CURDIR)/debian/firmware/broadcom/*.hcd \
		$(DEB_DESTDIR)/lib/firmware/brcm/.