Commit b8da72a4 authored by Sören Tempel's avatar Sören Tempel

main/dtc: add check

parent ec17c2e8
......@@ -9,6 +9,7 @@ license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev bison flex"
checkdepends="coreutils"
install=""
subpackages="$pkgname-dev libfdt"
source="https://kernel.org/pub/software/utils/dtc/dtc-$pkgver.tar.xz
......@@ -25,6 +26,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" PREFIX=/usr install
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment