Received: from IND01-MA1-obe.outbound.protection.outlook.com (IND01-MA1-obe.outbound.protection.outlook.com [40.107.138.112]) by mx.groups.io with SMTP id smtpd.web09.28277.1604307125264946511 for ; Mon, 02 Nov 2020 00:52:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@jasmin-infotech.com header.s=selector2 header.b=Qsr8Uwze; spf=permerror, err=parse error for token &{10 18 mail.jasmin-infotech.com}: permanent DNS error (domain: jasmin-infotech.com, ip: 40.107.138.112, mailfrom: daniel.selvan@jasmin-infotech.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eV6FxNNUivFxWSKPqHEDZcpQOeoCeavkwuD1NRsuRvHuqmgPHUxhq9KMsBP/jgkSXpUh5uAFOextuqogOaDOYqLiaMpmsEEtN/dsaGHUx0S+BPaRTLuMLQWv5tYJ2bVRwcZWTMxWxNnCP7fmD05i48Ra90wNOVMkxH3CRpSPwPT7bf1a40CDjd2X77WA88qPFoYplc9LeepBBBfPBXEay5pnM+hMoZbUV3BIew8wA70nRAAgS6EkJmSlW53n7zLzBpe++mCLqrwo9j867w1OYOiR/5HT3K4iwc0x1EXXea1tV7+hJMZis8OHr+tUXVhvugj2DMqJMmM5sKh3AbymKA== 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=3FloiNvc0mAOfy88ZyWrMszPmUEjr5xkr59oUr2Rp1w=; b=Uleso99Txl/7w3G/VKSwThPCthPgXCGU0k/OzaoUGoACSd/bOXoMNcn7SORrLsPyiOJdYs9cwcGYMsRWUWC2ONVc5X09GekUTgVMiYkddFaRUm28wo3k3lVAM78Dt2zH5ZXx/uhmMfK0gj2YVGndKcPnQd1DLUzTIuiyCxU3TlKp8q0yYPLYNGzxPIuwewb1PC5YnWRp0P05MgDoZ7EkoTgdwodQB0frKVDB/uA3wvYA+r7qFSrnKtl4uM8ZqtxbRCKtk/+/koJCTJLDk3WlCtlTsu+TbEbAKeWu9eylsPxRJeqfSa0VpPY8JBzagC+3LUmHFsgdcm/S3s3HnfvkvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 61.16.140.213) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=jasmin-infotech.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=jasmin-infotech.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jasmin-infotech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3FloiNvc0mAOfy88ZyWrMszPmUEjr5xkr59oUr2Rp1w=; b=Qsr8UwzeX11VoH1qsNHzfFmFcJf1rRxvdoRtRc6Ks5ACzI+EPWytCtfyycuZhgk6g32c5Ay5Jb6gG38W9nStW19YwaPqODc6v+WD9gZX4Nt2E5rmwb55s1dQk3+FwP2jRSdUITMek/t1GPVVvkCAIVU/CysdssXuhxZI1iROOBo= Received: from PN1PR0101CA0011.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::21) by MAXPR0101MB1210.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.28; Mon, 2 Nov 2020 08:52:01 +0000 Received: from BO1IND01FT004.eop-IND01.prod.protection.outlook.com (2603:1096:c00:e:cafe::3c) by PN1PR0101CA0011.outlook.office365.com (2603:1096:c00:e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Mon, 2 Nov 2020 08:52:01 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 61.16.140.213) smtp.mailfrom=jasmin-infotech.com; lists.openembedded.org; dkim=none (message not signed) header.d=none;lists.openembedded.org; dmarc=fail action=none header.from=jasmin-infotech.com; Received-SPF: PermError (protection.outlook.com: domain of jasmin-infotech.com used an invalid SPF mechanism) Received: from mail.jasmin-infotech.com (61.16.140.213) by BO1IND01FT004.mail.protection.outlook.com (10.152.202.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Mon, 2 Nov 2020 08:51:59 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.jasmin-infotech.com (Postfix) with ESMTP id 7499514019BD; Mon, 2 Nov 2020 14:21:26 +0530 (IST) Received: from mail.jasmin-infotech.com ([127.0.0.1]) by localhost (mail.jasmin-infotech.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OCZ6iuRddlow; Mon, 2 Nov 2020 14:21:25 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.jasmin-infotech.com (Postfix) with ESMTP id 410BC14019BC; Mon, 2 Nov 2020 14:21:25 +0530 (IST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.jasmin-infotech.com X-Virus-Scanned: amavisd-new at jasmin-infotech.com Received: from mail.jasmin-infotech.com ([127.0.0.1]) by localhost (mail.jasmin-infotech.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fIilHfCmojgE; Mon, 2 Nov 2020 14:21:25 +0530 (IST) Received: from mail.jasmin-infotech.com (mail.jasmin-infotech.com [172.16.4.153]) by mail.jasmin-infotech.com (Postfix) with ESMTP id 1D1FE14019B5; Mon, 2 Nov 2020 14:21:25 +0530 (IST) Date: Mon, 2 Nov 2020 14:21:25 +0530 (IST) From: "Daniel Selvan" To: yocto , bitbake-devel@lists.openembedded.org Message-ID: <204888768.121393313.1604307085037.JavaMail.zimbra@jasmin-infotech.com> Subject: How can I perform arithmetic operations in bitbake file? MIME-Version: 1.0 X-Originating-IP: [49.207.131.149] X-Mailer: Zimbra 8.6.0_GA_1242 (ZimbraWebClient - GC86 (Linux)/8.6.0_GA_1242) Thread-Topic: How can I perform arithmetic operations in bitbake file? Thread-Index: OcHjHn8sxn9amDW02BeXiPBNpmraYw== Return-Path: daniel.selvan@jasmin-infotech.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b1ad1b7-b144-4ec2-d0ac-08d87f0c8f86 X-MS-TrafficTypeDiagnostic: MAXPR0101MB1210: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h6mGP60xO5VBKfwLt8G000u+ABeiDgrBKq84rOV8W2rRnZE5lzr5pZcmkExZqRG5gZLxC98YpIUAwJpZ0Rhk+PIciuer6iz5SLEJlESUh69HI/U4QgmMsl8qmHERsdonZQdpOPj4j0fU4UGx0yi1PIqpS0PWEivT2u0Y7xIXhUBc0Qx1VrWD10JaFJzDBPzYFJMOjCGhUj4yQTreKnSJRwUD1BtpCQPQfipqldjSGdVdyJrlsN8E4VH6c90+INCBWV7lRvX7eGbxvmEvyWoWAT2lbHqvxVT5mE2L0e7+UMeViamPmwWi8QXJHMRaaUbWuJJ4vKeuIJaLcfEbP5R/qFIyznN8+BldBB48XsT6SUtOtTMmzwnv4OoXL0T8VeIUjFjtiuwFN9W7NSaUL94Tcu1/QiBJtEM1YbCrzVCbGO/UNqmNhcd31jCnlnIVFNfaUNszeDQiT0aEl4c5Syi7cJxqFbx3Y/PDPIv67Y5c4hVO364FdHbVzXZq25DnLhm/ X-Forefront-Antispam-Report: CIP:61.16.140.213;CTRY:IN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.jasmin-infotech.com;PTR:mail.jasmin-infotech.com;CAT:NONE;SFS:(396003)(39840400004)(376002)(136003)(346002)(46966005)(82310400003)(5660300002)(83380400001)(186003)(2906002)(316002)(26005)(33310700002)(2616005)(426003)(36906005)(8676002)(478600001)(36756003)(70586007)(966005)(55236004)(336012)(8936002)(70206006)(86362001)(6266002)(47076004)(7696005)(33964004)(166002)(7636003)(7066003)(356005)(7596003);DIR:OUT;SFP:1102; X-OriginatorOrg: jasmin-infotech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2020 08:51:59.6277 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b1ad1b7-b144-4ec2-d0ac-08d87f0c8f86 X-MS-Exchange-CrossTenant-Id: 5379b76d-5476-4c9f-a04c-fefa48abc331 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5379b76d-5476-4c9f-a04c-fefa48abc331;Ip=[61.16.140.213];Helo=[mail.jasmin-infotech.com] X-MS-Exchange-CrossTenant-AuthSource: BO1IND01FT004.eop-IND01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAXPR0101MB1210 Content-Type: multipart/alternative; boundary="----=_Part_121393312_1169650705.1604307085037" ------=_Part_121393312_1169650705.1604307085037 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, Greetings of the day! I would like to get the size of binary generated and pad it to the next number divisible by 0x10 in a .bbappend file. 1. Can someone help me achieving this? 2. How can I perform arithmetic operations in bitbake file? I've raised this query in stackoverflow as well, have a look at it here: https://stackoverflow.com/q/64641596/10773894 Thanks in advance, Daniel Selvan D. Systems Engineer | Jasmin Infotech -- P Please consider the environment before printing this email. ------=_Part_121393312_1169650705.1604307085037 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,
Greetings of the day!
.bbappend file.
<= /div>
  1. How = can I perform arithmetic operations in bitbake file?
I've raised = this query in stackoverflow as well, have a look at it here: https://stackoverflow.com/q/64641= 596/10773894

Thank= s in advance,
<= p style=3D"caret-color: #000000; color: #000000; font-family: arial, helvet= ica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: no= rmal; font-weight: normal; letter-spacing: normal; text-align: justify; tex= t-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px= ; text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: = none; margin: 0px;" data-mce-style=3D"caret-color: #000000; color: #000000;= font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: no= rmal; font-variant-caps: normal; font-weight: normal; letter-spacing: norma= l; text-align: justify; text-indent: 0px; text-transform: none; white-space= : normal; word-spacing: 0px; text-size-adjust: auto; -webkit-text-stroke-wi= dth: 0px; text-decoration: none; margin: 0px;">Daniel Selvan D.

Systems Engineer | Jasmin Infotech

=EF=BB=BF--

P Please cons= ider the environment before printing this email.


<= /div>

= Information in this email is proprietary and Confidential to Jasmin Infotech Pvt. Ltd. Any use, copying or dissemination of the information in any manner without prior approval, is strictly prohibited. If you are not the intended recipient, please destroy the message and please inform to us..=0A
= ------=_Part_121393312_1169650705.1604307085037--