From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 21 May 2021 12:53:02 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lk2m6-0002gj-6u for lore@lore.pengutronix.de; Fri, 21 May 2021 12:53:02 +0200 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 1lk2m5-0000as-R4; Fri, 21 May 2021 12:53:01 +0200 Received: from mail-am6eur05on2050.outbound.protection.outlook.com ([40.107.22.50] helo=EUR05-AM6-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 1lk2lq-0000aU-Bi for ptxdist@pengutronix.de; Fri, 21 May 2021 12:52:49 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AqPb//fSRDOf/N7CJjSLr8hwYQ3JD3V/w9xHk2faC0f0k13bl2nAUsILD9F6AtI4+8qipwOUl7aPNQkNEQddNEwwsJ7/chkb6PtVmaIONaXuKn2cF1slvzJn4KDG+QgtO5EM2M1jNrm3lXQ6/yR2V3zueK0EkqPIYydD1TMVeMBmu/SQirABRvYE7ZlwpomYF8yEBTuEQsqd2yJIqCeNc6bqcQE7COu9cDOkheH/Darac5slfYxpciVWECc7LOZaMyJddjvGLhyJn1Sxd/bzAgUvw67Ygi0j+tyF7e8ubBvQ99YM7RHAi7p4RXsHr442m64QlkSiRsQ6HBmudJotaQ== 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=JY5RmLSeL0lI3A850jKzfj7KCTWPzV2z/w+XkcdmJks=; b=RkW0tR9AjGBs7Qag5kH4b3JFYM9Db0ZPX5q4c6gCywHvJT3Z6GsdNp1iFFd86lBYJ22CXYkX8Jm9SRwS3cFM4pZDTqfOmOvrhmRy8Hj+3Ngs748GG7lLxoeQGpi+Hxq2DL5WA5H8+89AO/NfvrKIQQ/mCLkXO1tWwWvk12RTVmfR4PL9hDZKEO+ZOOtq0NZl2Gdu/zcYK1pToKyHTepYyPKqCxiiafwj9hqwoetW1n5st0Lu56ivnMFRzWEBlCM0vLTisfTtbXWxK0gamMZgb0nmn3ektjUxW5mMSbVUTRTTjDFnA90j9J8C2cW7INhAluLO5rKJvS+SuRc+MpaeaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; 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=JY5RmLSeL0lI3A850jKzfj7KCTWPzV2z/w+XkcdmJks=; b=OXDYJC5ANXuZL4mcOnjgx5tUhphMsjRsKbfF9wmL2SAY8UH9a30GBOxKhoxhACeATcHQXYoOKe7CQgO87eDkU7oGbQPYBEIpAk0YUK5A1mMd4++pcVXREXj/5VcbpdpO4rFMKhMfmpqYwFO0lBpcKa9WiXZ0kd2Gr2UQRt9PhiE= Authentication-Results: t2data.com; dkim=none (message not signed) header.d=none;t2data.com; dmarc=none action=none header.from=t2data.com; Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) by HE1PR0601MB2283.eurprd06.prod.outlook.com (2603:10a6:3:93::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Fri, 21 May 2021 10:52:43 +0000 Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::409f:a235:de54:364e]) by HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::409f:a235:de54:364e%8]) with mapi id 15.20.4129.033; Fri, 21 May 2021 10:52:43 +0000 To: ptxdist@pengutronix.de References: <20210518133401.22478-1-christian.melki@t2data.com> <20210521104057.GC3634306@pengutronix.de> From: Christian Melki Message-ID: <6cd03636-eb26-c8b0-5a16-4a67c7f99654@t2data.com> Date: Fri, 21 May 2021 12:52:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 In-Reply-To: <20210521104057.GC3634306@pengutronix.de> Content-Language: en-US X-Originating-IP: [212.247.174.226] X-ClientProxiedBy: HE1PR05CA0232.eurprd05.prod.outlook.com (2603:10a6:3:fa::32) To HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [172.16.234.94] (212.247.174.226) by HE1PR05CA0232.eurprd05.prod.outlook.com (2603:10a6:3:fa::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Fri, 21 May 2021 10:52:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8193ff45-e142-4629-b92e-08d91c468f85 X-MS-TrafficTypeDiagnostic: HE1PR0601MB2283: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1148; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8yA1bnq9VnK9pY982WWZRJQdpezY/C/m5QS2waSMyQCFBiFvMjum/4H2LysKhGxFEFqrzIl96rPzdgNIs1mfHtYDONKiCfV7W7oM9ohAMO/FhBYQUvuZG1wU1ktDnOypkzfq/GTFQWuuumtsrpKWK79kvCY3g2K1wZRNKFQSHxgH1nx+2XqH/fggwZLX15Dk5kwt5A23wtXIir9QjqNsktRDvccEAf+Na0vv/mTftkoIm/D+S4QALoPz13e0ws50J3o/vQ1p8dq/Fb9TttEBgsS29i4dqUMCEQnYQJz1L47HjTabY1RKAX1c3Z+GCVkSQUjoZ03s9o3hYZVxIVaboovok/7gOVZIcEmFULTAzcRTtC5ttwdrV+r85NyQ5oMNrCbDj2TlO23yqF3DOL5myPpZpcc6pLclZyJTYB8mwyiekDsIOBziHV99wRse0ZYGIdsbc7FkFr7oTL+SKuWZ2nrpH2f1LkTQ7IN9dq2tk/ECMt0r72YnONE06BMfOvK/o24PkGkIUClSiXjbTsF9cOYDD8m0DPMuPSvm5l7xjBaudQX+wLnESo7Pj0tL23GRtWY8W862sM+qMWStbsRxSLj+BM+obeEywRPcZXdfdjIQLP8TmmxcJaZIxRjfunXPZYsilyMTFHAcn4X9NyD9X7RJihGW8nyZ10hfKio/qeIsNzRCbw1haJCvxWk97DeO66jBXUYWoJlczt8mlQwDuMmqnYcuo3hhp1QkGwcGrzxXtuLzgBime9g1KTMgjorg6T61GAuHNPJINr1dUCN9+CjAEGrDNXuUlYj1pwCng4nQq43nh5EtjqrYjej6GLV7aCsQXzQPbpj5uPTVoGY9cw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0602MB2858.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39830400003)(42606007)(376002)(396003)(366004)(346002)(2616005)(956004)(8676002)(36756003)(53546011)(966005)(83380400001)(66476007)(66946007)(38100700002)(66556008)(6486002)(8936002)(16576012)(44832011)(16526019)(186003)(316002)(2906002)(31696002)(86362001)(478600001)(5660300002)(52116002)(6666004)(6916009)(38350700002)(31686004)(26005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?RlFKdU9yWmlBbGl5YllFNWVwNFErN3duVjM3RTc4VmRjVWhka2Q1MlFv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193ff45-e142-4629-b92e-08d91c468f85 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0602MB2858.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2021 10:52:43.3248 (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: XKV+nPxComx6WOSf7DscEsnsvNNXCr9xDEACFp37NsKVtBGUeaVMuqQuVEMNZsi2F5qJC+4xGAxnh51Jz7gE5ta9dlV/N/e5Owy49aE4XEQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0601MB2283 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments. 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 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 5/21/21 12:40 PM, Michael Olbrich wrote: > On Tue, May 18, 2021 at 03:34:01PM +0200, Christian Melki wrote: >> Was installing libraries into wrong directories. >> >> Signed-off-by: Christian Melki >> --- >> rules/pre/Rules.make | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make >> index 99e459ce2..93645a42a 100644 >> --- a/rules/pre/Rules.make >> +++ b/rules/pre/Rules.make >> @@ -233,6 +233,7 @@ CROSS_AUTOCONF_ROOT := $(CROSS_AUTOCONF_SYSROOT_ROOT) $(CROSS_AUTOCONF_ARCH) >> >> CROSS_CMAKE_USR := \ >> -DCMAKE_INSTALL_PREFIX=/usr \ >> + -DCMAKE_INSTALL_LIBDIR=$(CROSS_LIB_DIR) \ > > Hmmm, I need -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR) here. > > Otherwise the dir is taken as relative to the package build dir, at least > for libjpeg. > > Michael > Hm. Jury's out on that one. I looked it over before I added it and I think it should be relative? https://bugzilla.redhat.com/show_bug.cgi?id=795542 https://gitlab.kitware.com/cmake/cmake/-/commit/126c993d031f6f7be4970a67621da92f580d4e5a Seems spec confusion has caused both variants to exist in the wild? But it was changed a long time ago to relative... Christian >> -DCMAKE_INSTALL_SYSCONFDIR=/etc \ >> -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ >> -DCMAKE_TOOLCHAIN_FILE='${PTXDIST_CMAKE_TOOLCHAIN_TARGET}' >> -- >> 2.31.1 >> >> >> _______________________________________________ >> 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