You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
scripts: Support building specified packages for debian
Tested with: ./scripts/update_debian.sh lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-x11-gbm.so dpkg-buildpackage -us -uc -b --host-arch arm64 Change-Id: Ib6ae2ce8afe3715ce1fdaa7ca0c4707b7c4098a5 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Generate targets and packages
|
||||
find lib -type f | sed 's,^lib/,,' | sort > debian/targets
|
||||
TARGETS=$(cat debian/targets)
|
||||
PACKAGES=$(cat debian/targets | sed "s/.*\(libmali.*\).so/\1/" | sort | uniq)
|
||||
|
||||
# Generate targets
|
||||
TARGETS=$(echo ${@:-$(find lib -type f)} | xargs -n 1 | sed 's,^lib/,,' | sort)
|
||||
echo $TARGETS | xargs -n 1 > debian/targets
|
||||
|
||||
rm -f control.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user