]>
Commit | Line | Data |
---|---|---|
7bbca2e6 FG |
1 | FW_VER=2.0 |
2 | FW_REL=1 | |
3 | FW_DEB=pve-firmware_${FW_VER}-${FW_REL}_all.deb | |
4 | ||
5 | GITVERSION:=$(shell cat .git/refs/heads/master) | |
6 | ||
7 | DEBS=${FW_DEB} | |
8 | ||
56deccb0 | 9 | ${FW_DEB} fw: control.firmware linux-firmware.git/WHENCE dvb-firmware.git/README changelog.firmware fwlist-2.6.18-2-pve fwlist-2.6.24-12-pve fwlist-2.6.32-3-pve fwlist-2.6.32-4-pve fwlist-2.6.32-6-pve fwlist-2.6.32-13-pve fwlist-2.6.32-14-pve fwlist-2.6.32-20-pve fwlist-2.6.32-21-pve fwlist-3.10.0-3-pve fwlist-3.10.0-7-pve fwlist-3.10.0-8-pve fwlist-3.19.8-1-pve fwlist-4.2.8-1-pve fwlist-4.4.13-2-pve fwlist-4.4.16-1-pve fwlist-4.4.21-1-pve fwlist-4.4.44-1-pve fwlist-4.10.5-1-pve |
7bbca2e6 FG |
10 | rm -rf fwdata |
11 | mkdir -p fwdata/lib/firmware | |
56deccb0 | 12 | ./assemble-firmware.pl fwlist-4.10.5-1-pve fwdata/lib/firmware |
7bbca2e6 FG |
13 | # include any files from older/newer kernels here |
14 | ./assemble-firmware.pl fwlist-2.6.18-2-pve fwdata/lib/firmware | |
15 | ./assemble-firmware.pl fwlist-2.6.24-12-pve fwdata/lib/firmware | |
16 | ./assemble-firmware.pl fwlist-2.6.32-3-pve fwdata/lib/firmware | |
17 | ./assemble-firmware.pl fwlist-2.6.32-4-pve fwdata/lib/firmware | |
18 | ./assemble-firmware.pl fwlist-2.6.32-6-pve fwdata/lib/firmware | |
19 | ./assemble-firmware.pl fwlist-2.6.32-13-pve fwdata/lib/firmware | |
20 | ./assemble-firmware.pl fwlist-2.6.32-14-pve fwdata/lib/firmware | |
21 | ./assemble-firmware.pl fwlist-2.6.32-20-pve fwdata/lib/firmware | |
22 | ./assemble-firmware.pl fwlist-2.6.32-21-pve fwdata/lib/firmware | |
23 | ./assemble-firmware.pl fwlist-3.10.0-3-pve fwdata/lib/firmware | |
24 | ./assemble-firmware.pl fwlist-3.10.0-7-pve fwdata/lib/firmware | |
25 | ./assemble-firmware.pl fwlist-3.10.0-8-pve fwdata/lib/firmware | |
26 | ./assemble-firmware.pl fwlist-3.19.8-1-pve fwdata/lib/firmware | |
27 | ./assemble-firmware.pl fwlist-4.2.8-1-pve fwdata/lib/firmware | |
28 | ./assemble-firmware.pl fwlist-4.4.13-2-pve fwdata/lib/firmware | |
29 | ./assemble-firmware.pl fwlist-4.4.16-1-pve fwdata/lib/firmware | |
30 | ./assemble-firmware.pl fwlist-4.4.21-1-pve fwdata/lib/firmware | |
31 | ./assemble-firmware.pl fwlist-4.4.44-1-pve fwdata/lib/firmware | |
32 | install -d fwdata/usr/share/doc/pve-firmware | |
33 | cp linux-firmware.git/WHENCE fwdata/usr/share/doc/pve-firmware/README | |
34 | install -d fwdata/usr/share/doc/pve-firmware/licenses | |
35 | cp linux-firmware.git/LICEN[CS]E* fwdata/usr/share/doc/pve-firmware/licenses | |
36 | install -D -m 0644 changelog.firmware fwdata/usr/share/doc/pve-firmware/changelog.Debian | |
37 | gzip -n -9 fwdata/usr/share/doc/pve-firmware/changelog.Debian | |
38 | echo "git clone git://git.proxmox.com/git/pve-firmware.git\\ngit checkout ${GITVERSION}" >fwdata/usr/share/doc/pve-firmware/SOURCE | |
39 | install -d fwdata/DEBIAN | |
40 | sed -e 's/@VERSION@/${FW_VER}-${FW_REL}/' <control.firmware >fwdata/DEBIAN/control | |
41 | dpkg-deb --build fwdata ${FW_DEB} | |
349bb95e FG |
42 | |
43 | # upgrade to current master | |
44 | .PHONY: update_modules | |
45 | update_modules: submodules | |
46 | git submodule foreach 'git pull --ff-only origin master' | |
47 | ||
48 | # make sure submodules were initialized | |
49 | .PHONY: submodules | |
50 | submodules dvb-firmware.git/README linux-firmware.git/WHENCE: | |
51 | test -f "linux-firmware.git/WHENCE" || git submodule update --init |