From: Jan Kiszka <[email protected]> crosstool-ng.org is down for a couple of days. Better us the more reliable github source. This just requires some minor adjustments to paths and the rules file because github packages a git snapshot, not a real release package. The snapshot also already contains a debian folder, but we better rely on our version that is tuned for the microblaze use case - and known to work.
Signed-off-by: Jan Kiszka <[email protected]> --- .../crosstool-ng-microblaze/crosstool-ng-microblaze_1.24.0.bb | 9 +++++---- recipes-devtools/crosstool-ng-microblaze/files/debian/rules | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/recipes-devtools/crosstool-ng-microblaze/crosstool-ng-microblaze_1.24.0.bb b/recipes-devtools/crosstool-ng-microblaze/crosstool-ng-microblaze_1.24.0.bb index 021c83c..35bf71f 100644 --- a/recipes-devtools/crosstool-ng-microblaze/crosstool-ng-microblaze_1.24.0.bb +++ b/recipes-devtools/crosstool-ng-microblaze/crosstool-ng-microblaze_1.24.0.bb @@ -1,7 +1,7 @@ # # Jailhouse, a Linux-based partitioning hypervisor # -# Copyright (c) Siemens AG, 2019 +# Copyright (c) Siemens AG, 2019-2020 # # Authors: # Jan Kiszka <[email protected]> @@ -14,17 +14,18 @@ inherit dpkg DESCRIPTION = "Microblaze toolchain built by crosstool-ng" SRC_URI = " \ - http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-${PV}.tar.xz \ + https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${PV}.tar.gz \ file://debian/ \ file://defconfig" -SRC_URI[sha256sum] = "804ced838ea7fe3fac1e82f0061269de940c82b05d0de672e7d424af98f22d2d" +SRC_URI[sha256sum] = "36c0067a2da265aa88f8d91c1647d152c98a100b8e2ce416cf47dedf08c069e9" TEMPLATE_FILES = "debian/control.tmpl" -S = "${WORKDIR}/crosstool-ng-${PV}" +S = "${WORKDIR}/crosstool-ng-crosstool-ng-${PV}" do_prepare_build[dirs] = "${DL_DIR}/crosstool-ng" do_prepare_build() { + rm -rf ${S}/debian cp -r ${WORKDIR}/debian ${S} deb_add_changelog diff --git a/recipes-devtools/crosstool-ng-microblaze/files/debian/rules b/recipes-devtools/crosstool-ng-microblaze/files/debian/rules index b5234da..5eb6f2d 100755 --- a/recipes-devtools/crosstool-ng-microblaze/files/debian/rules +++ b/recipes-devtools/crosstool-ng-microblaze/files/debian/rules @@ -14,6 +14,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk override_dh_auto_configure: + test -e configure || ./bootstrap ./configure --enable-local override_dh_auto_build: -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/dcd072fbd8e8908480e0697452d010e6e43ed116.1580893011.git.jan.kiszka%40siemens.com.
