dtc:initial release, version 1.7.0

This commit is contained in:
Juergen Daubert 2023-08-28 13:12:15 +02:00
parent 54899bbf96
commit 0ebadf0fd4
3 changed files with 48 additions and 0 deletions

20
dtc/.footprint Normal file
View File

@ -0,0 +1,20 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/convert-dtsv0
-rwxr-xr-x root/root usr/bin/dtc
-rwxr-xr-x root/root usr/bin/dtdiff
-rwxr-xr-x root/root usr/bin/fdtdump
-rwxr-xr-x root/root usr/bin/fdtget
-rwxr-xr-x root/root usr/bin/fdtoverlay
-rwxr-xr-x root/root usr/bin/fdtput
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/fdt.h
-rw-r--r-- root/root usr/include/libfdt.h
-rw-r--r-- root/root usr/include/libfdt_env.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libfdt.a
lrwxrwxrwx root/root usr/lib/libfdt.so -> libfdt.so.1
lrwxrwxrwx root/root usr/lib/libfdt.so.1 -> libfdt.so.1.7.0
-rwxr-xr-x root/root usr/lib/libfdt.so.1.7.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libfdt.pc

5
dtc/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Uz1ZPelufLUm160jtOkiVA2KIfb1Yq6ZCm9G1cmF4p8wxgG39bYsq15jZ8lAq8QANAEItPBKhaNBSLg5qqAzQE=
SHA256 (Pkgfile) = e12186d72e675899a01aa658b4c94db8aa426221f3851850619fa7f5f7ba42d9
SHA256 (.footprint) = d11e3a31345e5fb0aad1b36197a5b9aec939421d67c4957b506198126a56f15a
SHA256 (dtc-1.7.0.tar.xz) = 29edce3d302a15563d8663198bbc398c5a0554765c83830d0d4c0409d21a16c4

23
dtc/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: Device Tree Compiler and libfdt
# URL: https://github.com/dgibson/dtc
# Maintainer: Juergen Daubert, jue at crux dot nu
name=dtc
version=1.7.0
release=1
source=(https://www.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
build() {
sed '/version:/s/6/7/' -i $name-$version/{,libfdt}/meson.build
CFLAGS+=" -ffat-lto-objects"
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}