From patchwork Sun Jun 23 21:23:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1120926 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="P7C3pQXi"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45X55T71Bnz9s6w for ; Mon, 24 Jun 2019 07:23:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DAF6F8139A; Sun, 23 Jun 2019 21:23:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GW+Ky-jSsIek; Sun, 23 Jun 2019 21:23:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B15C28140D; Sun, 23 Jun 2019 21:23:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 737531BF3ED for ; Sun, 23 Jun 2019 21:23:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6F42B2042B for ; Sun, 23 Jun 2019 21:23:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50+GE+SbTKg0 for ; Sun, 23 Jun 2019 21:23:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by silver.osuosl.org (Postfix) with ESMTPS id A0595203B6 for ; Sun, 23 Jun 2019 21:23:47 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id i10so750527iol.13 for ; Sun, 23 Jun 2019 14:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7+8Q8smfsZJkTLnFyhlfvYB8vpqwG2O7X8GuW82C5fE=; b=P7C3pQXiAiiiebT4zQXEmhcXhkWvJz4frqfgESvEwr/gzWNPDSWKLzlWbyfnFQHWcJ HLZePza6FNgqXJUatTS2xUnQEJw05TsioTVKiU6KGFwX06hwC5IJh5G5qOjyWUx4nnA9 BVT7Idh95D1DKjHXEWwDPIBigANuyXh1POmbwgwLQv1tyKs3T2oRHlsD2HDxz9f+r8rY RRUN/rRUrGxo9Dujk5jGtMN2Zq+tHgVMnyKSXEPHYsywaSFxCZbUWgw/eYLdvcsK393O jC0aiH6qkkjaJNvCRmVFRB9Qd8a0b7e5arCm+8Q31l1ifwlYyYoGU53tjhtrLaM2xvvm xnPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7+8Q8smfsZJkTLnFyhlfvYB8vpqwG2O7X8GuW82C5fE=; b=QoUF3GMzFEZ+qC4/g+tohsgQTQxxvvub6UURu2UDrvNTbnsNBfQn9S+gim2nm9vXBE +YeqVUwE2TX3sK5jhE3izFEIvJaYqXoyCvrWILWct2//KvMVTh3rIljSXsXLObBtqZZ4 W21P+9T0kMEOYA9ci2os0UuVLUothjdcEEIhwtxzWxIQFJcDI2VdCMF3t0a47l2Wip77 sHSJWoeFDvdCsyzkXn6gJmIn/94pxmaCgd5UmQXLSTOEAQmG9YAN8o7tL7zl3vZx0HsH g0g0AinlJnIyB3Qq8lQkWXjMcs0Q3NMfxgzM35N2WqezIsx0C9eNs2ROWoulL9V90TCi FOFA== X-Gm-Message-State: APjAAAWS10d9Ljb3ZWFbBalLnaLdzQugR4zkN/HU4nd71gKmexmyFdgP FVMdZcLF58ra2ohYdCPDMiIUhtIi X-Google-Smtp-Source: APXvYqxda3OO3x1jfWKTq7TjORsHTtkEXQo2JE17lK45wf6O7hEd5sqWn/pl6a24xVg5lalaWAz6Nw== X-Received: by 2002:a02:9f84:: with SMTP id a4mr25941884jam.20.1561325026791; Sun, 23 Jun 2019 14:23:46 -0700 (PDT) Received: from localhost.localdomain (68-188-149-81.dhcp.aldl.mi.charter.com. [68.188.149.81]) by smtp.gmail.com with ESMTPSA id p25sm11148250iol.48.2019.06.23.14.23.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 23 Jun 2019 14:23:46 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Sun, 23 Jun 2019 17:23:38 -0400 Message-Id: <20190623212342.41809-3-aduskett@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190623212342.41809-1-aduskett@gmail.com> References: <20190623212342.41809-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v12 2/6] package/prelink-cross: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: yann.morin.1998@free.fr, Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett Prelink-cross emulates a runtime linker for a given sysroot. This is necessary to allow gobject-introspection to build its typelib files during cross-compiling. We're using a sha1 on the cross_prelink branch, as we need the RTLD-enabled variant of prelink-cross. Signed-off-by: Adam Duskett --- Changes v10 -> v11: - adopted by Yann - switch to a https git server - drop the Config.in.host entry - fix typo in commit log Changes v9 -> v10: - None Changes v8 -> v9: - Add the package to the DEVELOPERS file under my name. - Bump version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2 - Add host-elfutils as a dependency. Changes v7 -> v8: - None Changes v1 -> v7: - Add patch to series. DEVELOPERS | 1 + package/prelink-cross/prelink-cross.hash | 3 +++ package/prelink-cross/prelink-cross.mk | 15 +++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 package/prelink-cross/prelink-cross.hash create mode 100644 package/prelink-cross/prelink-cross.mk diff --git a/DEVELOPERS b/DEVELOPERS index 0da0fa9437..ab968a86d9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -56,6 +56,7 @@ F: package/openjdk/ F: package/openjdk-bin/ F: package/php/ F: package/policycoreutils/ +F: package/prelink-cross/ F: package/python3/ F: package/python-flask-sqlalchemy/ F: package/python-mutagen/ diff --git a/package/prelink-cross/prelink-cross.hash b/package/prelink-cross/prelink-cross.hash new file mode 100644 index 0000000000..8ef4409cbf --- /dev/null +++ b/package/prelink-cross/prelink-cross.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 3b07d864b366273fcf714f7176dac34846c9b93a75909d501ee17c416327059c prelink-cross-b10e14218646d8b74773b82b0f8b395bce698fa2.tar.gz +sha256 b8a2f73f743dc1a51aff23f1aacbca4b868564db52496fa3c0caba755bfd1eaf COPYING diff --git a/package/prelink-cross/prelink-cross.mk b/package/prelink-cross/prelink-cross.mk new file mode 100644 index 0000000000..e1fdaba2a9 --- /dev/null +++ b/package/prelink-cross/prelink-cross.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# host-prelink-cross +# +################################################################################ + +HOST_PRELINK_CROSS_VERSION = b10e14218646d8b74773b82b0f8b395bce698fa2 +HOST_PRELINK_CROSS_SITE = https://git.yoctoproject.org/git/prelink-cross +HOST_PRELINK_CROSS_SITE_METHOD = git +HOST_PRELINK_CROSS_LICENSE = GPL-2.0 +HOST_PRELINK_CROSS_LICENSE_FILES = COPYING +HOST_PRELINK_CROSS_AUTORECONF = YES +HOST_PRELINK_CROSS_DEPENDENCIES = host-elfutils host-libiberty + +$(eval $(host-autotools-package))