From patchwork Thu Jul 16 13:57:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gervais, Francois" X-Patchwork-Id: 1330334 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=distech-controls.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=distech-controls.com header.i=@distech-controls.com header.a=rsa-sha256 header.s=pps-02182019 header.b=wUvQQ0Bp; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=distech-controls.com header.i=@distech-controls.com header.a=rsa-sha256 header.s=selector1 header.b=g+6oi0gS; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B6xmS0lfTz9sRN for ; Fri, 17 Jul 2020 00:42:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7B8672001C; Thu, 16 Jul 2020 14:42:11 +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 RKRNXt9HvhKe; Thu, 16 Jul 2020 14:42:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 05526204CB; Thu, 16 Jul 2020 14:42:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6E28B1BF2F6 for ; Thu, 16 Jul 2020 14:42:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 69FD7890F2 for ; Thu, 16 Jul 2020 14:42:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hycJKHeXkow7 for ; Thu, 16 Jul 2020 14:42:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx0b-002ab301.pphosted.com (mx0b-002ab301.pphosted.com [148.163.154.99]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BF7A7890CA for ; Thu, 16 Jul 2020 14:42:06 +0000 (UTC) Received: from pps.filterd (m0118797.ppops.net [127.0.0.1]) by mx0b-002ab301.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06GDwOZU025620; Thu, 16 Jul 2020 09:59:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distech-controls.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : mime-version; s=pps-02182019; bh=Xz98xKZ2kug3YBi+dmm3m08HzEFk1MDid9aLeSlzfi8=; b=wUvQQ0Bp+xxC9dmfNUeKmE5t4c47CV+XOHJM2XveLSLqYl8h5cySx8JAfAFYBBtbzgtl NxhOMzlO9Q32oAl30EjIU5OIvJvVnVE1FAJ+Pk3Lcjc+lgUQHY+2usLC/Yq9dSakvZYt mlBUlQDDMRtHS67cZHGzFc+C5AllW1xt6EApdwpSWvDxpmajqbw7Ii2qbkxrcbN8fgAG T0dyupU+0q1eco07t4EiX2SuLA6zzx1GydH7dWInrmqllJ7IHcYx6/pTVZjF63GbA+hM o5I+3gANCcIag8+OUo27MEocbVYJe5wGHTv3HUp9NgGXAn/B0BiJi/8zWxvxPqteOrLC Vg== Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174]) by mx0b-002ab301.pphosted.com with ESMTP id 3279wgcga2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Jul 2020 09:59:19 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jjDWwRmIDOrvN5YSG/p2Bkl6FKQ07ZpwTsZDqqBDHN8nbIs/JuuGXeee6PMfNWa6u17pqtcsQoKm2e1hbMGFfC0ndeymJOyw1vRxOwyeveioHNMW1YGjpzSHD0C6lOe0qlqbmqcClnnteAdiQVn8le21QRsylK5Yysk0kxxwCssRrBcT+FvTGxd5KcAxdXLbFABHh6Rvx1UWc9hchxrTlizqJB0nTWn13XwilT9f8FB1GtaoaqQd7jm83WzJVmILZzcBc3Hf3SLK8raI/ECeOD6fe0ArHJ0dKVESsA/kMWKDPDaunmM5LBMy+RxkfFDSRCUK0lpdIZWPIhwM3ju6LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xz98xKZ2kug3YBi+dmm3m08HzEFk1MDid9aLeSlzfi8=; b=VX3bLtQaI7ddiAdP9qJhsITtHKwgNIzQwdbRTereMq6DPK1QDrZkWFASO1Fjdn6bwqLBsqj+6ZM5/I3V2M3W5HXXssQjiz6mbDiCaYN3TDdMKkpcePVWeniDW6JlHrmbuDPGBH+bugHDukfYmisDpvnBaN7/RuXMR7LDVUnyHUe+/rfEkehfh9rY1f5SX45Cm75FjMk10T5WJvWvVe9hnWBZt9LIc51dqf5NClByT8oBkrR18iv6zxPrIg2DsbEiIzvA82lonJ5Px7YpyyndaX/EIsJ7X2wF+QKgBk2TX3E3eyRwMlM36zKlOWwaZ4rwhkbqwpsWt55V3ZcNBxeE8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=distech-controls.com; dmarc=pass action=none header.from=distech-controls.com; dkim=pass header.d=distech-controls.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distech-controls.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xz98xKZ2kug3YBi+dmm3m08HzEFk1MDid9aLeSlzfi8=; b=g+6oi0gS001vGuMcLgS7MrrT9tH64SCt5tyLUHzo5Y3sPWSTaf+1rkz8//f4BHURyGzGkgiuD5/O12oGmNNTwFmh1Nh5359KWmEyDUB7xWVzkaSNF9DHUZRVX621kcAwKA7A6YV/XZ0Vv6Bfg9rqIsbRCIuQGFtfcPyHG52L/vY= Authentication-Results: buildroot.org; dkim=none (message not signed) header.d=none;buildroot.org; dmarc=none action=none header.from=distech-controls.com; Received: from DM6PR01MB3755.prod.exchangelabs.com (2603:10b6:5:89::11) by DM5PR01MB3308.prod.exchangelabs.com (2603:10b6:3:ff::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Thu, 16 Jul 2020 13:59:18 +0000 Received: from DM6PR01MB3755.prod.exchangelabs.com ([fe80::cd41:ff9d:53ed:fde5]) by DM6PR01MB3755.prod.exchangelabs.com ([fe80::cd41:ff9d:53ed:fde5%5]) with mapi id 15.20.3174.026; Thu, 16 Jul 2020 13:59:18 +0000 From: Francois Gervais To: buildroot@buildroot.org Date: Thu, 16 Jul 2020 09:57:37 -0400 Message-Id: <20200716135738.19050-2-fgervais@distech-controls.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200716135738.19050-1-fgervais@distech-controls.com> References: <20200716135738.19050-1-fgervais@distech-controls.com> X-ClientProxiedBy: MN2PR20CA0054.namprd20.prod.outlook.com (2603:10b6:208:235::23) To DM6PR01MB3755.prod.exchangelabs.com (2603:10b6:5:89::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (70.49.121.158) by MN2PR20CA0054.namprd20.prod.outlook.com (2603:10b6:208:235::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.19 via Frontend Transport; Thu, 16 Jul 2020 13:59:17 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [70.49.121.158] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d08ebec0-e78f-4ee1-3f77-08d829906e70 X-MS-TrafficTypeDiagnostic: DM5PR01MB3308: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r5eF1gsuuqoexUBBwV4vR3dwtxbJyFDz1kcFn2p1UZsbSWHgxOVu/69cylM0SqPQVxtavhel9kz4gZSGub34jiMmuLfXPNpquXrJ9zjQ/G2hibVARsT21MkwVEXkFFFZqetpxNWnLsyOz+hZppSwadVKZ1PbAUJdi/fsMEdXnDvpDe1FKuvlcdHP3pnBDE6JfxatHCJC22Zvn3o+hpVxizCrFvV7IX4S8fXxdz0D471Q+3Ma8Z0gdulUSYkWzB66bk/FT0t290gyWDnEOruJ6CeQ2wzQpHz2l7ZhrMZykx59JdjOnSeMKXS0QZRbjo0PdQzxG6w8Z4KGqUFt9QQ7KNw74pZjSJmHGVmEsC9jKKu4hL47OZhDSie9a4JSAoTl X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR01MB3755.prod.exchangelabs.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(39860400002)(136003)(396003)(16526019)(83380400001)(66946007)(54906003)(86362001)(66476007)(6512007)(66556008)(8676002)(8936002)(5660300002)(186003)(26005)(69590400007)(107886003)(478600001)(6666004)(52116002)(2906002)(956004)(2616005)(6506007)(316002)(36756003)(6486002)(1076003)(6916009)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 2TNjqFFxM+4FZw+CYM3KIfQbQD2gMstJysAS3MbaVSA9qC25+suT9Qt5WJVw6Q2F3UD3Mz71iY8s5XoG4tOfSqY75vbbrOA2zKDIfiBldMQkPcXqd0B06BuJzRMxmv26DLgS4KlvrtzMNjqTNWWMiYJlKVSprfF/pFTfP77fg6qDQWTPYXxHepKltySM3Vg9zXU9yh7gR8uS1hAlSRL1ao4W+FlPHlIyktJcLNnoQ7nQ7DcR4BzN/UBUNouh6x+UG1EyoSCR2fBKSJak9BVe8nIt67wTCKMIOwoPIEVt/NL4V81mm5JgaRFx9Oqy1XxMu8dBg8sjEM/RKKNxf86rXypeF9yEnotYLmKIjCaMG8yGQlaWbFQn/g5LirzIK4vWYsChoQ0g9+YyP8Y3WeFK/0CFJX9DinUZMPYVDoDywB8QN8dk+TEMC0iwSp0UbJKrTpsvBup2tE5tTb5Mr+Cr7SEC0qIYxB4O3z6PrQLDPco= X-OriginatorOrg: distech-controls.com X-MS-Exchange-CrossTenant-Network-Message-Id: d08ebec0-e78f-4ee1-3f77-08d829906e70 X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB3755.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2020 13:59:18.0852 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: caadbe96-024e-4f67-82ec-fb28ff53d16d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +PCOkN2mdw2WxNnHEsObg5wIN6L3ZzTKPjUNl0BwkME1B6meIy5hsIoCkhcus9GOL/SHJ1AB7HK+FAt0Wm7M4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR01MB3308 X-Proofpoint-Processed: True X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 malwarescore=0 spamscore=0 priorityscore=1501 bulkscore=0 phishscore=0 suspectscore=15 mlxlogscore=847 mlxscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007160108 Subject: [Buildroot] [PATCH 1/2] package/nxp: new package directory 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: Matt Weber , Changming Huang , Francois Gervais Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Changming Huang The "nxp" directory is intended to contain all NXP QorIQ (including PowerPC and LayerScape serial) related packages, together with their download site and version info. Signed-off-by: Changming Huang Signed-off-by: Francois Gervais --- package/Config.in | 1 + package/nxp/Config.in | 4 ++++ package/nxp/helper.mk | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 package/nxp/Config.in create mode 100644 package/nxp/helper.mk diff --git a/package/Config.in b/package/Config.in index aafaa312a1..c93c7452ec 100644 --- a/package/Config.in +++ b/package/Config.in @@ -502,6 +502,7 @@ endmenu source "package/nvidia-driver/Config.in" source "package/nvidia-tegra23/Config.in" source "package/nvme/Config.in" + source "package/nxp/Config.in" source "package/ofono/Config.in" source "package/on2-8170-modules/Config.in" source "package/open2300/Config.in" diff --git a/package/nxp/Config.in b/package/nxp/Config.in new file mode 100644 index 0000000000..575542c7ab --- /dev/null +++ b/package/nxp/Config.in @@ -0,0 +1,4 @@ +menu "NXP QorIQ libraries" + depends on BR2_aarch64 || BR2_arm || BR2_powerpc64 || BR2_powerpc + +endmenu diff --git a/package/nxp/helper.mk b/package/nxp/helper.mk new file mode 100644 index 0000000000..79e4236249 --- /dev/null +++ b/package/nxp/helper.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# helper +# +################################################################################ + +# Helper for self-extracting binaries distributed by NXP. +# +# The --force option makes sure it doesn't fail if the source +# directory already exists. The --auto-accept skips the license check, +# as it is not needed in Buildroot because we have legal-info. Since +# there's a EULA in the binary file, we extract it in this macro, and +# it should therefore be added to the LICENSE_FILES variable of +# packages using this macro. Also, remember to set REDISTRIBUTE to +# "NO". Indeed, this is a legal minefield: the EULA specifies that the +# Board Support Package includes software and hardware (sic!) for +# which a separate license is needed... +# +# $(1): full path to the archive file +# +define NXP_EXTRACT_HELPER + awk 'BEGIN { start = 0; } \ + /^EOEULA/ { start = 0; } \ + { if (start) print; } \ + /< $(@D)/EULA + cd $(@D) && sh $(1) --force --auto-accept + find $(@D)/$(basename $(notdir $(1))) -mindepth 1 -maxdepth 1 -exec mv {} $(@D) \; + rmdir $(@D)/$(basename $(notdir $(1))) +endef + +include $(sort $(wildcard package/nxp/*/*.mk)) From patchwork Thu Jul 16 13:57:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gervais, Francois" X-Patchwork-Id: 1330327 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=distech-controls.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=distech-controls.com header.i=@distech-controls.com header.a=rsa-sha256 header.s=pps-02182019 header.b=X7p+IDB4; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=distech-controls.com header.i=@distech-controls.com header.a=rsa-sha256 header.s=selector1 header.b=ZFDQ4iXB; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B6xY41vX3z9sTF for ; Fri, 17 Jul 2020 00:32:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B022F8A0E6; Thu, 16 Jul 2020 14:32:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lyWi4ec+cbNx; Thu, 16 Jul 2020 14:32:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6DA298A063; Thu, 16 Jul 2020 14:32:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2CAD11BF2F6 for ; Thu, 16 Jul 2020 14:32:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 28D2387C28 for ; Thu, 16 Jul 2020 14:32:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s9q6gmh8HLjI for ; Thu, 16 Jul 2020 14:32:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx0b-002ab301.pphosted.com (mx0b-002ab301.pphosted.com [148.163.154.99]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2F718873F6 for ; Thu, 16 Jul 2020 14:32:17 +0000 (UTC) Received: from pps.filterd (m0118794.ppops.net [127.0.0.1]) by mx0b-002ab301.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06GDodfC003486; Thu, 16 Jul 2020 09:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distech-controls.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-type : mime-version; s=pps-02182019; bh=S/NBzAvdAZ8Ukqaxl1PaEfisBOYCYNOz7rXPtOkjOds=; b=X7p+IDB40JdXBbNeMVVSy9v64l7TZNaURNp8/AJfeonF/tlj4iIyfUdhR9dxdNfiKaEw TPt07SQbYCtDhd35GmNrNb5B2VdTnqVZ88UoEeWr8seK51mhfEv7/ysJxUic/2Im8J0J 1WiR1bsR+MguzKbNkMQCa6dUjpidaVuKC42aPZWchqZw+7PBpbigxHg4NorYkHwEXvC4 ERu3F4j9yTiUIOUUYgeuKf+vw7aPMdCQaP9nR2OrdbP6/WurGrOOou6uIzy9H7Ra9OFX N4e5V5Vp4nxOlct7Vw8BkiSCrcts5H3OYvHc1kEbGEbqng25HmCaiUs/rfK43PHL/wUE 8Q== Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by mx0b-002ab301.pphosted.com with ESMTP id 3279tpcga6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Jul 2020 09:59:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bVc6fq5YrMyKds27uVnYtYcSaOtJmm8X0O5AhVpUxS48drwjAJnVKjhiUgq6sHKdiBUkDofCVv3lNwwUr/wcyHe91opZ8i4HHkvNuQ0SEs9JDbz2BlU8hDy+HW4by9qXMzlCakUyKUYskaaZwxSyvRnwfnEa09kQUU0+7K8Nh3IeET/O97yRmVxmm9AYPN2JtAYPgW8z3wVVWoHNwXSE28KGhdCQgA7Ory5FgDLblpSF+Noi4LJzmJsW56Mi2fcZ5raqtKpjhrIxeUe+69sF0xKjAenyADAm/MqwB76qm04LMyGUxXHQs3shht1BMtGVeYJQrXE1V915O1RAjK4UnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S/NBzAvdAZ8Ukqaxl1PaEfisBOYCYNOz7rXPtOkjOds=; b=HTh3mDv4ucW1qAeQg7/w1d+Xhfck6SkpDnrgnTp/5vVIRimOc+I0wyqDRFtTH22x0L69eA69SaDVNdra6JoW54wI8isouIqgDvseK+SuMzCt/wzaDHX/6gFaU/qFluXHuTSj3lnPjgB9J1v5Dd0KaHWeb539uP9rK3o2AF7YOC0iAkO5flbYInJiq9m6DYaZb0NhGEg+C4qzCTK+t6bk8CMpTUUnt1KtlyloqK6bL1RCAGrlAhRdvzf25f3eRwNbLV32LG75ekJHPCOq53JpFf3pULNACOX9KFuJUhhEJXZRKSMvght61JexE1CBknbP/c1qTL1nd9rncZ9SHxS58Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=distech-controls.com; dmarc=pass action=none header.from=distech-controls.com; dkim=pass header.d=distech-controls.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=distech-controls.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S/NBzAvdAZ8Ukqaxl1PaEfisBOYCYNOz7rXPtOkjOds=; b=ZFDQ4iXBx0/BKHk58tPVCtcfCjWISctmLHPV80zuuGKwE0iv16WTUy1KqQ14OHLSTDBs8ybJ1zVHabfaezMxYc45fdXERylumKw6TJilsew9/Sa2I7lqBSPW79T4UOlF6o8NtotdsTa1mo+kVyqieD9+xBMuPlfE7aWpY9fJWNg= Authentication-Results: buildroot.org; dkim=none (message not signed) header.d=none;buildroot.org; dmarc=none action=none header.from=distech-controls.com; Received: from DM6PR01MB3755.prod.exchangelabs.com (2603:10b6:5:89::11) by DM5PR01MB3308.prod.exchangelabs.com (2603:10b6:3:ff::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Thu, 16 Jul 2020 13:59:29 +0000 Received: from DM6PR01MB3755.prod.exchangelabs.com ([fe80::cd41:ff9d:53ed:fde5]) by DM6PR01MB3755.prod.exchangelabs.com ([fe80::cd41:ff9d:53ed:fde5%5]) with mapi id 15.20.3174.026; Thu, 16 Jul 2020 13:59:29 +0000 From: Francois Gervais To: buildroot@buildroot.org Date: Thu, 16 Jul 2020 09:57:38 -0400 Message-Id: <20200716135738.19050-3-fgervais@distech-controls.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200716135738.19050-1-fgervais@distech-controls.com> References: <20200716135738.19050-1-fgervais@distech-controls.com> X-ClientProxiedBy: MN2PR20CA0054.namprd20.prod.outlook.com (2603:10b6:208:235::23) To DM6PR01MB3755.prod.exchangelabs.com (2603:10b6:5:89::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (70.49.121.158) by MN2PR20CA0054.namprd20.prod.outlook.com (2603:10b6:208:235::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.19 via Frontend Transport; Thu, 16 Jul 2020 13:59:28 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [70.49.121.158] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5f7d259f-2ca4-437d-10c5-08d829907520 X-MS-TrafficTypeDiagnostic: DM5PR01MB3308: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ht5SmtUOpTzBIVkqT0U33OkS5IB31Mzp04QJdJaoUwUtxWU9Eg6qG6OsY1vlmTMJlknvI/wm/jh1W+ovxn4XPT6WUM9U51G4q2WcW14O/iHIJj4j4DhcA9Os7L+hQ4G3ieOoKWARSRQJ0yp7kanB6EIyGSHHnNLNEtfmJG3LXNprKxaIfCLGnKjoqyeInpDRkzSJ+otUHa3ZV2wF18XJNtAAriker36YorxVygPHcb4T3I5eJWMvvrhYIZbKcohstSPO7JSAlvNsRq2F/RI5+uF2UDeznDa1rHZ3gpWISSh1ZW7CWBHTN1o+TSiJBGbvKSInWTTiqczXlH9GLZKzu7p7E2Rgj3HiSnRhgtyFvBU0MoUZWGWuSKZYazmqJ9FMRPK3ZTPyXSVRM1rrk54Sf6ZShW/kukBJ8ALQmqau28ic6lnPLQEtLyoUd8b4JJN6dckWUarbDqxW3OXBYY0HlQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR01MB3755.prod.exchangelabs.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(16526019)(83380400001)(66946007)(54906003)(86362001)(66476007)(6512007)(66556008)(8676002)(8936002)(5660300002)(186003)(26005)(498600001)(69590400007)(107886003)(6666004)(52116002)(2906002)(956004)(2616005)(6506007)(36756003)(966005)(6486002)(1076003)(6916009)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: XbTFDthQOlioOClSYQ40/zCjEmzPI/+gAu3pu7HbwGErdYxP+lMrAAYtX8Sw3+eytHTcUT3vfVUSRgkXgbiPNxvbNNyCMwqGOcAJ+UeeKfFxcuEanV4vf2WkcMQefbHz0r8Q4eWlf5gmVK9S8+pITM2toGanBaHNoj02Sw96a65BkUT6gwuF2L33lfYbVbN++2gKkJ2BM9WiJfgZci+NADMPwmFX8FtLJ5tBylJSs/tnk+I3FNQrNtQ8fg31B/aqYhzic0g3Z2FUYKv4/Dt2dQQStC1Y4LmzA0SQrHWhthhlhTZX5zOCPdMoKzCk6dM6x0dTy+diEpJLEwPpx36Lmb6iStGfqi5uyFjA7WQDKI3uBgBIzpkh6ELNpyp9xJu9Q/xi00hIl0pw/snjBZGqnjYKvq4piPv+YyQqX99Dm7rVs89qqbjv5+IKppeytRQWb8sSr4TLja4DlOyZGOE6w4xWNvaqoQcW0dUve3RMHaY= X-OriginatorOrg: distech-controls.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f7d259f-2ca4-437d-10c5-08d829907520 X-MS-Exchange-CrossTenant-AuthSource: DM6PR01MB3755.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2020 13:59:29.3708 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: caadbe96-024e-4f67-82ec-fb28ff53d16d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Kk9sG0u8DOtAeMHR54HLpcYcKbBuoRmIErNyjdTDXH2AHzO9opvq8DOSCZfXbdMinfljmAAT0hsG3Q7Olcr7CQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR01MB3308 X-Proofpoint-Processed: True X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 suspectscore=0 clxscore=1015 impostorscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 spamscore=0 adultscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007160107 Subject: [Buildroot] [PATCH 2/2] package/qoriq-rcw: move rcw into nxp and rename it 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: Matt Weber , Changming Huang , Francois Gervais Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Changming Huang Move package/rcw into package/nxp, and rename it to qoriq-rcw. Signed-off-by: Changming Huang Signed-off-by: Francois Gervais --- Config.in.legacy | 16 +++++++ DEVELOPERS | 2 +- package/Config.in.host | 2 +- package/{rcw => nxp/qoriq-rcw}/Config.in.host | 6 +-- .../rcw.hash => nxp/qoriq-rcw/qoriq-rcw.hash} | 2 +- .../rcw.mk => nxp/qoriq-rcw/qoriq-rcw.mk} | 46 +++++++++---------- 6 files changed, 45 insertions(+), 29 deletions(-) rename package/{rcw => nxp/qoriq-rcw}/Config.in.host (88%) rename package/{rcw/rcw.hash => nxp/qoriq-rcw/qoriq-rcw.hash} (50%) rename package/{rcw/rcw.mk => nxp/qoriq-rcw/qoriq-rcw.mk} (51%) diff --git a/Config.in.legacy b/Config.in.legacy index 7a5435188b..24b16a7985 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -160,6 +160,22 @@ config BR2_PACKAGE_KODI_PERIPHERAL_STEAMCONTROLLER help This package is broken. +config BR2_PACKAGE_HOST_RCW + bool "rcw package was removed" + select BR2_LEGACY + help + Because rcw package has been renamed to qoriq-rcw and moved + to "nxp", option BR2_PACKAGE_HOST_RCW is removed, the option + BR2_PACKAGE_HOST_QORIQ_RCW can be used for QorIQ platforms. + +config BR2_PACKAGE_HOST_RCW + bool "rcw package was removed" + select BR2_LEGACY + help + Because rcw package has been renamed to qoriq-rcw and moved + to "nxp", option BR2_PACKAGE_HOST_RCW is removed, the option + BR2_PACKAGE_HOST_QORIQ_RCW can be used for QorIQ platforms. + comment "Legacy options removed in 2020.05" config BR2_PACKAGE_WIRINGPI diff --git a/DEVELOPERS b/DEVELOPERS index e9cab3c6a0..ba17e675db 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1704,6 +1704,7 @@ F: package/mrouted/ F: package/mtd/ F: package/mtools/ F: package/nginx-upload/ +F: package/nxp/qoriq-rcw/ F: package/omniorb/ F: package/openresolv/ F: package/paxtest/ @@ -1726,7 +1727,6 @@ F: package/python-pysftp/ F: package/python-tinyrpc/ F: package/python-txdbus/ F: package/raptor/ -F: package/rcw/ F: package/rng-tools/ F: package/rsyslog/ F: package/setools/ diff --git a/package/Config.in.host b/package/Config.in.host index 647fc24841..da73a11ed4 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -48,6 +48,7 @@ menu "Host utilities" source "package/mtd/Config.in.host" source "package/mtools/Config.in.host" source "package/mxsldr/Config.in.host" + source "package/nxp/qoriq-rcw/Config.in.host" source "package/odb/Config.in.host" source "package/omap-u-boot-utils/Config.in.host" source "package/openocd/Config.in.host" @@ -67,7 +68,6 @@ menu "Host utilities" source "package/qemu/Config.in.host" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" - source "package/rcw/Config.in.host" source "package/rustc/Config.in.host" source "package/s6-rc/Config.in.host" source "package/sam-ba/Config.in.host" diff --git a/package/rcw/Config.in.host b/package/nxp/qoriq-rcw/Config.in.host similarity index 88% rename from package/rcw/Config.in.host rename to package/nxp/qoriq-rcw/Config.in.host index a9253958d9..8f78a40908 100644 --- a/package/rcw/Config.in.host +++ b/package/nxp/qoriq-rcw/Config.in.host @@ -1,4 +1,4 @@ -config BR2_PACKAGE_HOST_RCW +config BR2_PACKAGE_HOST_QORIQ_RCW bool "host rcw" help This package provides an reset configuration word(RCW) @@ -11,9 +11,9 @@ config BR2_PACKAGE_HOST_RCW https://source.codeaurora.org/external/qoriq/qoriq-components/rcw/ -if BR2_PACKAGE_HOST_RCW +if BR2_PACKAGE_HOST_QORIQ_RCW -config BR2_PACKAGE_HOST_RCW_CUSTOM_PATH +config BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH string "RCW Source file paths" help Space-separated list of .rcw and .rcwi files, that will be diff --git a/package/rcw/rcw.hash b/package/nxp/qoriq-rcw/qoriq-rcw.hash similarity index 50% rename from package/rcw/rcw.hash rename to package/nxp/qoriq-rcw/qoriq-rcw.hash index 76b6373942..88460716f9 100644 --- a/package/rcw/rcw.hash +++ b/package/nxp/qoriq-rcw/qoriq-rcw.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 b69a6a8b187ba794e0af716a509ced2bbac83da0f6e94b5c7331a34619db21b1 rcw-LSDK-19.09.tar.gz +sha256 4a9ce5bb1733239bf1b740b705df20f90802b16114e24f3fd56c08a7ba4b56c2 qoriq-rcw-LSDK-19.09.tar.gz sha256 a531b3146425e592db17a51ff39c4801cb01fb4055ffdaada0572decc0655bcd LICENSE diff --git a/package/rcw/rcw.mk b/package/nxp/qoriq-rcw/qoriq-rcw.mk similarity index 51% rename from package/rcw/rcw.mk rename to package/nxp/qoriq-rcw/qoriq-rcw.mk index 22e3be4f13..440f388747 100644 --- a/package/rcw/rcw.mk +++ b/package/nxp/qoriq-rcw/qoriq-rcw.mk @@ -1,67 +1,67 @@ ################################################################################ # -# rcw +# qoriq-rcw # ################################################################################ -RCW_VERSION = LSDK-19.09 -RCW_SITE = https://source.codeaurora.org/external/qoriq/qoriq-components/rcw -RCW_SITE_METHOD = git -RCW_LICENSE = BSD-3-Clause -RCW_LICENSE_FILES = LICENSE +QORIQ_RCW_VERSION = LSDK-19.09 +QORIQ_RCW_SITE = https://source.codeaurora.org/external/qoriq/qoriq-components/rcw +QORIQ_RCW_SITE_METHOD = git +QORIQ_RCW_LICENSE = BSD-3-Clause +QORIQ_RCW_LICENSE_FILES = LICENSE HOST_RCW_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY) -RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_RCW_CUSTOM_PATH)) +QORIQ_RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH)) -ifneq ($(RCW_FILES),) -RCW_INCLUDES = $(filter-out %.rcw,$(RCW_FILES)) +ifneq ($(QORIQ_RCW_FILES),) +QORIQ_RCW_INCLUDES = $(filter-out %.rcw,$(QORIQ_RCW_FILES)) # Get the name of the custom rcw file from the custom list -RCW_PROJECT = $(notdir $(filter %.rcw,$(RCW_FILES))) +QORIQ_RCW_PROJECT = $(notdir $(filter %.rcw,$(QORIQ_RCW_FILES))) # Error if there are no or more than one .rcw file ifeq ($(BR_BUILDING),y) -ifneq ($(words $(RCW_PROJECT)),1) -$(error BR2_PACKAGE_HOST_RCW_CUSTOM_PATH must have exactly one .rcw file) +ifneq ($(words $(QORIQ_RCW_PROJECT)),1) +$(error BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH must have exactly one .rcw file) endif endif -ifneq ($(RCW_INCLUDES),) -define HOST_RCW_ADD_CUSTOM_RCW_INCLUDES +ifneq ($(QORIQ_RCW_INCLUDES),) +define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_INCLUDES mkdir -p $(@D)/custom_board - cp -f $(RCW_INCLUDES) $(@D)/custom_board + cp -f $(QORIQ_RCW_INCLUDES) $(@D)/custom_board endef HOST_RCW_POST_PATCH_HOOKS += HOST_RCW_ADD_CUSTOM_RCW_INCLUDES endif -define HOST_RCW_ADD_CUSTOM_RCW_FILES +define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES mkdir -p $(@D)/custom_board/rcw - cp -f $(filter %.rcw,$(RCW_FILES)) $(@D)/custom_board/rcw + cp -f $(filter %.rcw,$(QORIQ_RCW_FILES)) $(@D)/custom_board/rcw endef -HOST_RCW_POST_PATCH_HOOKS += HOST_RCW_ADD_CUSTOM_RCW_FILES +HOST_QORIQ_RCW_POST_PATCH_HOOKS += HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES # rcw.py is a python3-only script, and we can be using either the # system-provided python3, or our own built with host-python3. # Fortunately, rcw.py uses #!/usr/bin/env python3, so it will # easily find it from PATH. -define HOST_RCW_BUILD_CMDS +define HOST_QORIQ_RCW_BUILD_CMDS PATH=$(BR_PATH) \ $(@D)/rcw.py \ - -i $(@D)/custom_board/rcw/$(RCW_PROJECT) \ + -i $(@D)/custom_board/rcw/$(QORIQ_RCW_PROJECT) \ -I $(@D)/custom_board -o $(@D)/PBL.bin endef -define HOST_RCW_INSTALL_DELIVERY_FILE +define HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE $(INSTALL) -D -m 0644 $(@D)/PBL.bin $(BINARIES_DIR)/PBL.bin endef endif # Copy source files and script into $(HOST_DIR)/share/rcw/ so a developer # could use a post image or SDK to build/install PBL files. -define HOST_RCW_INSTALL_CMDS +define HOST_QORIQ_RCW_INSTALL_CMDS mkdir -p $(HOST_DIR)/share/rcw cp -a $(@D)/* $(HOST_DIR)/share/rcw - $(HOST_RCW_INSTALL_DELIVERY_FILE) + $(HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE) endef $(eval $(host-generic-package))