Merge pull request #5203 from lrusak/v4l-compliance

v4l-utils: install v4l-compliance utility
This commit is contained in:
Christian Hewitt 2021-03-08 16:21:30 +04:00 committed by GitHub
commit 65b8aca420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,10 @@ make_target() {
make -C lib CFLAGS="${TARGET_CFLAGS}"
make -C utils/dvb CFLAGS="${TARGET_CFLAGS}"
make -C utils/v4l2-ctl CFLAGS="${TARGET_CFLAGS}"
if [ "${LIBREELEC_VERSION}" == "devel" ]; then
make -C utils/v4l2-compliance CFLAGS="${TARGET_CFLAGS}"
fi
}
makeinstall_target() {
@ -46,6 +50,11 @@ makeinstall_target() {
fi
make install DESTDIR=${INSTALL} PREFIX=/usr -C utils/dvb
make install DESTDIR=${INSTALL} PREFIX=/usr -C utils/v4l2-ctl
if [ "${LIBREELEC_VERSION}" == "devel" ]; then
make install DESTDIR=${INSTALL} PREFIX=/usr -C utils/v4l2-compliance
fi
cp ${PKG_BUILD}/contrib/lircd2toml.py ${INSTALL}/usr/bin/
}