From patchwork Tue Feb 22 08:57:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 1595886 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=fapMDTH9; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::103e; helo=mail-pj1-x103e.google.com; envelope-from=swupdate+bncbd3ohqwtqyirbagl2kiamgqeg77eyoq@googlegroups.com; receiver=) Received: from mail-pj1-x103e.google.com (mail-pj1-x103e.google.com [IPv6:2607:f8b0:4864:20::103e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K2tNP5Bpgz9sGC for ; Tue, 22 Feb 2022 19:57:39 +1100 (AEDT) Received: by mail-pj1-x103e.google.com with SMTP id g12-20020a17090a714c00b001bc25476de3sf3989614pjs.6 for ; Tue, 22 Feb 2022 00:57:39 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1645520257; cv=pass; d=google.com; s=arc-20160816; b=pBrzTKgoZxSP0bcrtOMdU4R82IL5EpSFxAJmG/9aZxDnd+wTAkrnMcVTQyG/mJAL3z 75Jv4lJ3uncMntqeWSylD6d66oioeLhi1b3ucXzFcdOhDW1bpjf2kxNpf+H1/TWtX736 pSVKTq/mlqXN/tkY+FFh+t9FaxLpnE6yrck+XYhT/N7CPSCUlOb7rvPQuc7qnKPbW/Mf d5BUsEiutokh5ynGNi82XEIJEdz7DizO5om3GkcVj8xk8VTMnef6ge2Uz3iYDmxU3MI2 zLjiaRwQftX5kFDvWWo5nNxcg3ugZ8hXytMDQ9X5JrsBxZa82Zzn229tFVcLi6uomlvE 65Ug== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=IExoKPKEnotVSXDwewKe3TJ1xc/mMS0QsRUk4feCgUE=; b=Cp6gCEH97VyhRUfNbZsD158sj2x156fp3K9+wL8LuVQpjTr2vFMv5+kn+AaDZUIQEn 6CB6l1cvt/h2gSgtthcy7Ey4txgjwPEe/eC4YPwp/sg0oij5VIJ5Y9wSGLa6y7tlp1mF 3HhiAgZoSb+EdNiFBlvFvbaEzQEHkZRP8Vaw9SeIKOx1Ps3MwY/KOhRjOY0/msM/M5QM lM+AxIsAMcA2RwQmzHnUpO0jLwQJ17P5iO4t5UAHhnMQNh6jYWJj3VhWq6hsglogijEv W57KyQADfZbvbjLSdpPl1hWBOsPiRD3ntwG9PNPiYw1THbAHe3sJUuPO5vSwRHRXZ2sK H0Og== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b="Qh/ZF5vk"; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f400:7d00::71d as permitted sender) smtp.mailfrom=CEggers@arri.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=IExoKPKEnotVSXDwewKe3TJ1xc/mMS0QsRUk4feCgUE=; b=fapMDTH95XB8pf+Jn6HctfguG4fBqsv1s5FjVK/mRsdTNF2rPcmmEVtwbgz8pJemwA TGhWAzyg+o2ufZP6AibUx79DP3dRtPNUaG6KMQDzY4e1a8SqD4DLQVehECdcDyBrgkU5 0ThMIiPxKjXfHuKJoeEnshLD9WLqZNdB9pvvehFd0vzuM/esWUVIFWvvsp/7Kjs+v/ay EJYLGuB225bqTn0c+DDnI/xBMk/f9hdHUy03QAy7hoI8OdaUEE2Jbb5DLcyLifY607rx 4FZ/xiW6JA/zAusIto2b2bckCQMKUvxCJcrog+n1aRokdHFAOANebH1yZKGT8VFw4F1k /Ddw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=IExoKPKEnotVSXDwewKe3TJ1xc/mMS0QsRUk4feCgUE=; b=5/DIHw98/Sj5zBjnH0bCrtMPporkJdt+T3JhG71gFzbPoSq97uIzwOxVj6Vr1Z9IZ8 a+RDoTagaDbR7oU8zk1AeKiD2y0SC3cGhg9tOh6E7ZdmtdS2qc7JJXcfGQgr9YUideBu EP4McqDbBU8RmMcxMV8GRqVSJT5C8Wc0mkwZcbTnL2h1bm1aqoxNozI3W68jAx8LXyvZ tioteXIlI0JioH9ZpCx8wukF5zGLsfgSccBWz16J0Ki38T7ka3CfPtOJ90wmUNyBNG8L vhoQSiYyTNl4ICSOpcG/ymGBGwX+hmk8XHt601xdwsCAS7DiY4RvJcAcVaa12WCVj2oc iQ5A== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533twOhYC08M5ETbEisyzJy8JRAgQQdJXrzzmOJVJPp/Zy5wpW0f pK05yoDPO31UMoXp3+3jHUw= X-Google-Smtp-Source: ABdhPJxqwsdzVwptqNvl0r6/nj1iM4eCZoGA4EJxMn6NiKYyGghwL6ZWOdWH+84QnpQaZV+fGGuFcA== X-Received: by 2002:a17:90b:3509:b0:1b8:aaea:a82e with SMTP id ls9-20020a17090b350900b001b8aaeaa82emr3014748pjb.109.1645520256931; Tue, 22 Feb 2022 00:57:36 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:90b:3907:b0:1bc:232a:9377 with SMTP id ob7-20020a17090b390700b001bc232a9377ls1417027pjb.3.canary-gmail; Tue, 22 Feb 2022 00:57:36 -0800 (PST) X-Received: by 2002:a17:902:c105:b0:14f:c977:f718 with SMTP id 5-20020a170902c10500b0014fc977f718mr5560854pli.48.1645520256332; Tue, 22 Feb 2022 00:57:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645520256; cv=pass; d=google.com; s=arc-20160816; b=cq9SPOL78gzVpPk/HWPLG0Zg2QXTnEfCmcFfB8jvLh680SMOOoq0xnEResYAVnS/WQ 4/tvMmDn2qMmbnfla+FudL727yU9Jx7e96K9/SkH2qQ8aAw90sfokH6FDgHnoTuIWTZV 5N2BlCQ3tT9kG4qSo/HxG6TxRDsg53F/liioS4NV9i1CGU4kAwwM2wUHnAZg5l2EyiPb NBoJPVJMAXZ6DV7P3YC1aO6vMedc+HEPflPh1HttxRy8z1ThsQNGxb9oLUY33VEw7UoJ hKfIjo616mAv+ZlFfAJYyEV8Ue3DiJLg77kpLyN5zffWgRLx+mJ4K1J0Ra7PybZqyGCE Etwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ExTpGUER/ty+vkIf/Qkp9M3GmaZMlEVy5Q6nZqW5FRo=; b=dAygJPs+VRWJ7c/nPw1mcyXz88X+BfyAGar0reab+cFQjkc74YIED/RdKuZ7O4uN5q q+MAjLpCyzVEgGTbjgUHdP+Hm+/BNdP88GepgkiX4LRINxiuBb5vI0CA+eX2at+heJVH 7INu4jqTMuvnMTKr9/T0Y2BIRDU99JhFxHCpxROdGq5N2RpfrMi2mMl71VbXmSRPU/4I B4iD18aFXXWwhcI4Zw9re3Sq7v9TUckjNYoVwkpBrrt4Euk1AAJM2JA+zcgL+WFeqnux fy4sSaTNuSN6jyYtL0iyw2eZHqlF9K2cDhRlX8AXT+Pq/8UdmeV8M37k2seKOCWMZS1X 7+bQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b="Qh/ZF5vk"; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f400:7d00::71d as permitted sender) smtp.mailfrom=CEggers@arri.de Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2071d.outbound.protection.outlook.com. [2a01:111:f400:7d00::71d]) by gmr-mx.google.com with ESMTPS id bj5si281492plb.4.2022.02.22.00.57.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Feb 2022 00:57:35 -0800 (PST) Received-SPF: pass (google.com: domain of ceggers@arri.de designates 2a01:111:f400:7d00::71d as permitted sender) client-ip=2a01:111:f400:7d00::71d; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iJpBRrEnLINgQIoWji710PbLeajgrPB0Bm4CG3ah+mRlMwYxqYdwxr4v9OfKEcZVCWaIgcAOnKDfjDNMl1sp70tAou2LRQ0HfmF1m4wRrjPpEmnZyUgwxpoA4aX0/dmS113IdRUdPk8HcG2W+kBaMzXqvCO1G1TvtupzXUyDT5xmedF33LzSVlrBFNdpGFS2FtkL9nUQIF+GWuoKBNEGkrFUIJ5pjWC2FgPnXHl7PxE9Sjbz6iP50YM0JZ2mwHzVxGtLFzI9jWlSG7OvJSkS0m+4mFGNZYXGrdxDg5/flz5GV9Bnc3WPJA1gF54I6+0wwh3OhfXFJVfjmt7SeQx+nQ== 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=ExTpGUER/ty+vkIf/Qkp9M3GmaZMlEVy5Q6nZqW5FRo=; b=h+NfDUy8AVWWHLGGCAeb+7btSSmN1zCmpvplMOBR2Fy1zPrfW5JcT/ALtEwF0K02X2XgSPP4VSjBDCnZr4x8rRvf+5+qzflAXs9SsdG8PuE6q7p1TGAd0J7K2LChgwLDGqAJTppmyR2+hDuf8k3a5/nA0aWbIeYFD8Ukf9wlL/gl8H5ZtdKSZl1KgN6d4E+eNpiLMVeqpdp5UDtYlD668xWIhQMX6Ve7XLJ19RhRGFpG8SD4r8UfgzBQGdu79m0hAB1N3npc3rIRNIzDjUg8E0ypropDZ5CeywZH6UaFtxMCxEd8mRArFE9krlLbbp+moE1EmBOS7dgm12iSkED/rQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=arri.de; dmarc=none action=none header.from=arri.de; dkim=none (message not signed); arc=none Received: from OL1P279CA0016.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:12::21) by PR3PR07MB6892.eurprd07.prod.outlook.com (2603:10a6:102:7b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.13; Tue, 22 Feb 2022 08:57:32 +0000 Received: from HE1EUR02FT032.eop-EUR02.prod.protection.outlook.com (2603:10a6:e10:12:cafe::14) by OL1P279CA0016.outlook.office365.com (2603:10a6:e10:12::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.15 via Frontend Transport; Tue, 22 Feb 2022 08:57:32 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by HE1EUR02FT032.mail.protection.outlook.com (10.152.10.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4995.20 via Frontend Transport; Tue, 22 Feb 2022 08:57:31 +0000 Received: from localhost.de (192.168.54.94) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 22 Feb 2022 09:57:30 +0100 From: Christian Eggers To: CC: Christian Eggers Subject: [swupdate] [meta-swupdate][PATCH] swupdate: fix DESTDIR Date: Tue, 22 Feb 2022 09:57:16 +0100 Message-ID: <20220222085716.11602-1-ceggers@arri.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [192.168.54.94] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7dcf2373-8f19-4fb8-0bb0-08d9f5e15c72 X-MS-TrafficTypeDiagnostic: PR3PR07MB6892:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 07gLNxjMmkUkT5T0F9ySHCniOyMzhXDede/5/AfKjc9eHNjkekuPuiPCcjuhYO6JTrFmD5ONcInlwNuPRiLCIKUmMq3J7TgJeVdECHLbJUFwIWAD4xbyQltYmWZ5T9VPHdAVXxZobgUsvY2u2xgfsn8bCW8tFb8rfoJiZCmjww0+Nu8mw8pwBVrV95h1xOvZFugWcPjhoJ20Tb1ognOxOvBibRyffwCOBcB6Ws6euOESm6bnuD2IBcSZeSsYJk1I10yQiVlpwQz4Pm8TDBikYDRaIXd0NbeD3fAoZ8sc6pP9Lr7vkvcnbOs1fDus0/3dCh0ahNGWYqlKhx26p7l8m6mSNjTYxMX4Y1U+9qGribhNb92sJQ8bnDO3qOHL/IdKhCVHHIEuLpyHt+Dp9v1ZaXhje9zwmN+TN83VXZ+3YnRj05LSllLAi0AvCasEqsFhlwqsOEH//Zgjs/pbB71jrnmzIbVakFhKnJ68JyxJ1xlB76fKNxuStMTGsypCFit+ohVHHHxSIP8q1rfZu/UkEh4TJFwivQVBF3uvlROJeT+tHwB3wwS6RvZ3U68Iq06RfKRCF35/cQTEN9BIEB8puCzoyNg5cs10dL4MmylJv/ZsjTt62hID59zXpoRDE2bsCKHPhQo5LtfXjPJNWxZSgaCiaZ6NeLwBt7l7xXIk65N+cZ+CuYG2cNyGnBKOBFhvaMM0R0HWNqsVIC3GJ9pGKw== X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(83380400001)(26005)(6666004)(36756003)(186003)(316002)(40460700003)(6916009)(47076005)(86362001)(70586007)(1076003)(8676002)(4326008)(8936002)(356005)(81166007)(2906002)(36860700001)(508600001)(16526019)(2616005)(107886003)(426003)(336012)(5660300002)(82310400004)(70206006)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2022 08:57:31.6241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7dcf2373-8f19-4fb8-0bb0-08d9f5e15c72 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR02FT032.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6892 X-Original-Sender: ceggers@arri.de X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b="Qh/ZF5vk"; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f400:7d00::71d as permitted sender) smtp.mailfrom=CEggers@arri.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , DESTDIR must include ${base_prefix} which is set differently for nativesdk. LIBDIR must not be set as ${libdir} includes ${base_prefix}, so this will be applied twice. Signed-off-by: Christian Eggers --- recipes-support/swupdate/swupdate.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index fa548d639f40..7578449ca9f5 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -91,7 +91,7 @@ RDEPENDS:${PN}-tools += "${PN}-client ${PN}-progress ${PN}-tools-hawkbit \ S = "${WORKDIR}/git" B = "${WORKDIR}/build" -EXTRA_OEMAKE += " O=${B} HOSTCC="${BUILD_CC}" HOSTCXX="${BUILD_CXX}" LD="${CC}" DESTDIR="${D}" LIBDIR="${libdir}" V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" +EXTRA_OEMAKE += " O=${B} HOSTCC="${BUILD_CC}" HOSTCXX="${BUILD_CXX}" LD="${CC}" DESTDIR="${D}${base_prefix}" V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" DEPENDS += "kern-tools-native"