Skip to content
Snippets Groups Projects
Commit b8da72a4 authored by Sören Tempel's avatar Sören Tempel
Browse files

main/dtc: add check

parent ec17c2e8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment