buildsys: improve fwcheck output
This commit is contained in:
parent
e01a4cb448
commit
5ecce9d074
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -162,10 +162,12 @@ fwlist-${KVNAME}: data
|
||||||
|
|
||||||
.PHONY: fwcheck
|
.PHONY: fwcheck
|
||||||
fwcheck: fwlist-${KVNAME} fwlist-previous
|
fwcheck: fwlist-${KVNAME} fwlist-previous
|
||||||
echo "checking fwlist for changes since last built firmware package.."
|
@echo "checking fwlist for changes since last built firmware package.."
|
||||||
echo "if this check fails, add fwlist-${KVNAME} to the pve-firmware repository and upload a new firmware package together with the ${KVNAME} kernel"
|
@echo "if this check fails, add fwlist-${KVNAME} to the pve-firmware repository and upload a new firmware package together with the ${KVNAME} kernel"
|
||||||
bash -c "diff -up -N <(sort fwlist-previous | uniq) <(sort fwlist-${KVNAME} | uniq) > fwlist.diff"
|
bash -c "diff -up -N <(sort fwlist-previous | uniq) <(sort fwlist-${KVNAME} | uniq) > fwlist.diff"
|
||||||
rm fwlist.diff
|
rm fwlist.diff
|
||||||
|
@echo "done, no need to rebuild pve-firmware"
|
||||||
|
|
||||||
|
|
||||||
abi-${KVNAME}: .compile_mark
|
abi-${KVNAME}: .compile_mark
|
||||||
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' ${KERNEL_SRC}/Module.symvers | sort > abi-${KVNAME}
|
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' ${KERNEL_SRC}/Module.symvers | sort > abi-${KVNAME}
|
||||||
|
|
Loading…
Reference in a new issue