From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 04 Feb 2022 14:15:32 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nFyR2-005YhJ-39 for lore@lore.pengutronix.de; Fri, 04 Feb 2022 14:15:32 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nFyR1-0001Of-4h; Fri, 04 Feb 2022 14:15:31 +0100 Received: from mail-eopbgr130052.outbound.protection.outlook.com ([40.107.13.52] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFyQq-0001O7-O3; Fri, 04 Feb 2022 14:15:21 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W7kTWjvthDyQMvwQ1Z27SpsmH5xyw/xa00RVdW73nPmGTWuSqLNnaimLWLI7PoyAf5mUG7EcL/anTq2z/m2Yq+wyXRK2+Gg0MB5FXHbzJg9E4wm478a8LHaCPtcTeSjmmaxVrwA204tHX1FKpm8oYDhMu8YxTqLkOK7zbisy3DYoX5R5TcZaeChxwOcE6YB6amqsExt9ESbgWTVrOybV/PpoItLOt60rxcDmUo4AxbgnDKhWuiXAB8QxpXG17RpGG8scV7muowxrcgxPbdae/gmZ6KWOYHyA2Seuv+FHpR8OLJNwsrpvS36gJn6kZSOZatkfkhBTUPk3a0jTPFZ/Jw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GnAxpu248Rl+j40a40+JGagq5LT9Z00NVN6Fe2hires=; b=SSQUeMBm35I52FgE28xXxr71okOFE9bL51b0FUG1nmQPRiuMFO1hpkgxuzqnFoKkAt1+XwKNRaL9q3J/XJcX0O5tS1HL5SyBRydYU0rYhg/wkzKNRqLtjl/7GXz4IGP7JeCJNzfWf71Tf7YJoK3Ucve8aLLnct5g3ymW0UI4sEy1Qrco8b/iT62NERi1bhwtWZi+LDdEFRZRbGDsmgKZLOnX97Od+VfYKMkiBcAGbc3qvI8zUWWHZZYXT8FL5MFY/oZIovt8e1KVzsq/89QCyT52umiSbU9luzLdyw3yC/XzvJq41m733cCHvrPju14/QvV4j1yJlTxCzuIXSh9qqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GnAxpu248Rl+j40a40+JGagq5LT9Z00NVN6Fe2hires=; b=UuY/NRgvUrn2At7ARdT3i+7ddd42JLszq7hDxfFA+aUdjsbkFj6L+Oy66zyguRR3m63lop6wqPSAJeuOlS6A8U8h4w2iBWGXpoLF3c5vsCRzoGGcB2E5XplSEkAiNiC84RF0X1pOzekMJxOKf7IPNrhQ2YGsHsAWF/ileBVVpg8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by PAXP251MB0009.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:1d8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.14; Fri, 4 Feb 2022 13:15:17 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::10ab:30da:9dfb:56fe]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::10ab:30da:9dfb:56fe%4]) with mapi id 15.20.4951.014; Fri, 4 Feb 2022 13:15:17 +0000 Message-ID: Date: Fri, 4 Feb 2022 14:13:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: m.olbrich@pengutronix.de References: <20220114115647.2049883-1-christian.melki@t2data.com> From: Christian Melki In-Reply-To: X-ClientProxiedBy: GV3P280CA0107.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::9) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 402f74b5-c06c-46d8-6907-08d9e7e0634c X-MS-TrafficTypeDiagnostic: PAXP251MB0009:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dz2mhpR/GkckEn8PyMR0/yMOpmg+Uo40H3NJ1U9yP6HSuLBgjzMDgfmX306gvttvHCT8wlXEmvuz7IZutN7pbFf+PtQb+Nli7N4xeAJ9tJJ19eKrYYXJKpzjsOO2Ho5DmLDilp09d5D7XBhqXHZrWexbKUtu5ITL2hk4B6dFidSQvL3ge2Tr1uK2FPd0KEApcRXgghk1/LW6rCyPKIJApUU2LESciRePApPRTInUC+YZix1X7PlNilOWjgIjHKXOBXfIVePvRa/lulF/JtSyA8oig4fcyDTg+BC4JcBaDj/5VXDcFYRSATVHyAUNp1DN7bkmwmoCtcjqFZ6FYKrGjRTyZ/fvLHqFXQTzZiwvyP/T2wDg33QZa3c3j689CHW49C8amZgIi5qKsVs6nRo/lqyyeBZBVv2C/vQH8rzSzTNbikjV81pxt6+CFoumH9+Ui0SBMRkCf1+H80dKeCJYRhHoFbmZkPDebr5afvnDAqL8Nqt9rNYR8AZY1WBnfdgykmYQI+C9fSITwOLhj4XuKJID2+36uRSsWyOKj6fIK227oWOck+ZpnMbCnJty9uWmAR84DuzeN97/MireeumdN0adCIIdu/62WPknl+CIAJgj8Dj842ufgw6EqS+KoyQ9zCNI75cBNPOPZmo2+zA52lGCML7iYZZsQL+QILyVoufg4rmECfDM9cp7A7g+l9qvYwlSCdh75R1JTbBAchyTqHEPbrY/Z3bN0i+rjZnFKLCb0Quma3FI96TauFKAUDfuLr6Y6xseobd3T66uw3h8pw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(346002)(366004)(376002)(136003)(396003)(39830400003)(8936002)(66476007)(2616005)(316002)(86362001)(66556008)(66946007)(36756003)(31696002)(6916009)(186003)(26005)(44832011)(6486002)(508600001)(5660300002)(31686004)(8676002)(450100002)(38100700002)(38350700002)(4326008)(2906002)(53546011)(6512007)(6506007)(52116002)(6666004)(83380400001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OVVyNHdiODdRQmRKMXhSekJyT3QzeDlPR2I0djVxUi9NSU5mQXdBQlR3OS84?= =?utf-8?B?Q2J6V1N4UTlCY1dTVkhWVXRwVUo2MzJjNWt6NnZGdGJIRkthOFF1TVJva1BH?= =?utf-8?B?S2lYVzM1TDZJc2NiOUtUTjcvZ2FmVHAxVXJhV3BlU2NVTjJITHpONVVhMlFp?= =?utf-8?B?UVkxSkVIUXBpZm1Ob0g0bHFyUmNYaHRuQW5qUjV5ZTI2NDBrbURYeXRzYUZR?= =?utf-8?B?U1NhNkc3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U1UG9B?= =?utf-8?B?cFNhWEJQSHpHNGxxU1ZzS25iOVQ3aXNleWhLT0ExSkF4VGxsVG1UUmVlSWp2?= =?utf-8?B?VGg4SDFIdVdMcTJRVC9FcFd2clVDWmtlVzNVQVV6ZUdCQk1MazhVSVRPVjA5?= =?utf-8?B?ZjVYaG16b2ttN2ZqVnZaZVl0ajFIOGp6OEtOb3RsMjBjLzI3VVFXMmtHOEpB?= =?utf-8?Q?x9hBsX69IfHQn7ni6459d13M/En7lRUVkbU1znN+p0=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 402f74b5-c06c-46d8-6907-08d9e7e0634c X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2022 13:15:17.5996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s1mo7QuZYiWTZDNRawivXHtCmi8zcpYEyJc1shEj/02YokiFzBuc2WCgRyxYohk/vFVuE/qruOFEGUHLHsprSJmTMWdKflkW7/4TRZQuEL4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP251MB0009 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] image-hdimg.make: Add PROJECT and PROJECT_VERSION variables. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 1/21/22 9:19 AM, Michael Olbrich wrote: > On Fri, Jan 14, 2022 at 12:56:47PM +0100, Christian Melki wrote: >> Ideally, I'd like this to be in the generic genimage env. >> I need this to be able to name images according to the project. > > I don't really like adding random stuff here. And it's easy to expand this > locally: > > IMAGE_HDIMG_ENV += \ > PROJECT=$(PTXCONF_PROJECT) \ > PROJECT_VERSION=$(PTXCONF_PROJECT_VERSION) > > In rules/image-hdimg..make in your BSP since ptxdist-2021.12.0 or in > rules/post/.make before that. > So you don't need to overwrite the upstream rule entirely and it's easy to > maintain. > > Michael > Is there some form of documentation on this somewhere? An example? Say I want to add a file to the weston targetinstall? Can that be used for such things? Is the weston.something.make a copy of the original? What needs to be in this file? Does it override the entire target? For example targetinstall? So many questions. :) >> Signed-off-by: Christian Melki >> --- >> rules/image-hdimg.make | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make >> index b470c0fb6..6f0012a85 100644 >> --- a/rules/image-hdimg.make >> +++ b/rules/image-hdimg.make >> @@ -57,6 +57,8 @@ IMAGE_HDIMG_ENV = \ >> PARTITION_TABLE_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,gpt,mbr) \ >> PARTITION_TYPE_SUFFIX=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,-uuid) \ >> ROOT_PARTITION_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_HDIMG_GPT,L,0x83) \ >> + PROJECT=$(PTXCONF_PROJECT) \ >> + PROJECT_VERSION=$(PTXCONF_PROJECT_VERSION) \ >> $(IMAGE_HDIMG_BOOTLOADER_ENV) >> >> $(IMAGE_HDIMG_IMAGE): >> -- >> 2.30.2 >> >> >> _______________________________________________ >> ptxdist mailing list >> ptxdist@pengutronix.de >> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de >> > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de