dtc: bump to 1.4.6, add debuginfo, switch to tar.xz. (#2782)

FWIW, this release passes all tests on all available arches:

********** TEST SUMMARY
*     Total testcases:	1676
*                PASS:	1676
*                FAIL:	0
*   Bad configuration:	0
* Strange test result:	0
**********
This commit is contained in:
fbrosson
2018-07-08 16:02:16 +00:00
parent 71d3f81d01
commit 9619f817c7
2 changed files with 12 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git"
COPYRIGHT="2005 David Gibson, IBM Corporation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://www.kernel.org/pub/software/utils/dtc/dtc-$portVersion.tar.gz"
CHECKSUM_SHA256="a5dee36ac9ddd000e18ffecdbd5e6d83c5d552af21a644fe4e820480daa9f36b"
SOURCE_URI="https://www.kernel.org/pub/software/utils/dtc/dtc-$portVersion.tar.xz"
CHECKSUM_SHA256="382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e"
PATCHES="dtc-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
@@ -51,6 +51,15 @@ BUILD_PREREQUIRES="
cmd:make
"
defineDebugInfoPackage dtc$secondaryArchSuffix \
"$commandBinDir"/convert-dtsv0 \
"$commandBinDir"/dtc \
"$commandBinDir"/fdtdump \
"$commandBinDir"/fdtget \
"$commandBinDir"/fdtoverlay \
"$commandBinDir"/fdtput \
"$libDir"/libfdt-$portVersion.so
BUILD()
{
make PREFIX=$prefix $jobArgs NO_PYTHON=TRUE

View File

@@ -5,7 +5,7 @@ Subject: Apply patch from 1.3.0.
diff --git a/Makefile b/Makefile
index e1e138a..aafda0a 100644
index 9ba8121..7364de3 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,15 @@ SHAREDLIB_CFLAGS = -fPIC