You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
Also with these changes: 1/ Bump version to 1.9.0 2/ Remove -dev package 3/ Use ld.so.conf 4/ Add more packages Run ./update_debian.sh to re-generate files when libraries changed. Change-Id: I47d65f63df9b26dd3bd9ea5fd50738b909bf8fe5 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
37 lines
988 B
Makefile
Executable File
37 lines
988 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
export DH_VERBOSE = 1
|
|
|
|
TARGETS = $(shell cat debian/targets | grep $(DEB_BUILD_GNU_TYPE))
|
|
|
|
override_dh_clean:
|
|
dh_clean
|
|
rm -rf libmali-*
|
|
|
|
override_dh_auto_configure:
|
|
for target in $(TARGETS); do \
|
|
export arch=$${target%%-*}; \
|
|
export $$(./parse_name.sh $$target); \
|
|
export package=$$name-$$arch; \
|
|
dh_auto_configure --builddirectory=$$package -- \
|
|
-Darch=$$arch -Dgpu=$$gpu -Dversion=$$version \
|
|
-Dsubversion=$$subversion -Dplatform=$$platform; \
|
|
done
|
|
|
|
override_dh_auto_build:
|
|
override_dh_auto_test:
|
|
|
|
override_dh_auto_install:
|
|
for target in $(TARGETS); do \
|
|
export arch=$${target%%-*}; \
|
|
export $$(./parse_name.sh $$target); \
|
|
export package=$$name-$$arch; \
|
|
dh_auto_install --builddirectory=$$package \
|
|
--destdir=debian/tmp/$$package; \
|
|
ln -sf mali/libmali.so.1 debian/tmp/$$package/usr/lib/; \
|
|
done
|
|
|
|
%:
|
|
dh $@ --buildsystem=meson
|