From patchwork Wed Aug 26 06:15:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Heider X-Patchwork-Id: 1351637 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=L7Jh38fV; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=qKHOacy2; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 ozlabs.org (Postfix) with ESMTPS id 4Bbwcb1qHMz9sTQ for ; Wed, 26 Aug 2020 16:17:03 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=juGE3StRUJ2Td4mxtQpNwAs+cGUhh6J4lcSWXYfxfcI=; b=L7Jh38fVuzNhc3lpNuB6Id662 xMLu+RaQAn2J3+T5scOzlKrINADPgNjBMt2TIsZBF33PyBaYgiXP1ScO5pZYkCCJBM8FtfgQjQOwZ KSlAnXiad9LuLTcvPU74KgMW72dexIqRFo7yHZSyr2NSCpqp/049XcoUQ5iyDZyR5orE/B458jIhR 5BoSNZz3SoZ/MBkv+l5UV+d+1hJw9y1IgzIFeubtRxhLY52oNbnsvyvQZnqSblnI1LXDX3tvu+9JQ QpAztaIEo0j7/YIOB3wg41BJrjg+ORZ0UcVpw2PRVG79P6uJrBR47gREIUlHhzK7+tGa5XxqaGEYE e6eWY4VpA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAoiE-0008Oq-OC; Wed, 26 Aug 2020 06:15:10 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAoiB-0008Nw-0I for openwrt-devel@lists.openwrt.org; Wed, 26 Aug 2020 06:15:07 +0000 Received: by mail-wm1-x333.google.com with SMTP id a65so547696wme.5 for ; Tue, 25 Aug 2020 23:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IfVx36qGGJ98tg/Ed9RQJgzmSo+9LSMDZwxnNtSH28I=; b=qKHOacy2My//jY80MOOe7T1JTCo2n6/o1tcAzwTtblpfp0MiI9fSWeD36MoO5zLp8Q FzFz+4jVUik8/ItERcPTZ5dhOXCEmVTNcC1nRGsM1IuU/131WKDjPUgl80dWWLVwP2Bf k3ZnW7lIBBMfvHwLQniEuA9yCpyK91K0dAGShYlV7FriIM31vCFz9+h/b96VaWtCPHfM VcJeQFHwsEqeJSxqNbTuJ2ErpId/d3nuoBTbVzSB9WJaO4597Akj9dDi3AbNyWyO4WDd 3o9ujE5iWqX+Y064v9fdBPsP9HLFwitXl06rA1Rk3IMnrdW4NFlA7wQ+Hp1Mlgjxq3If hEHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IfVx36qGGJ98tg/Ed9RQJgzmSo+9LSMDZwxnNtSH28I=; b=CWo5867jgiI38d1jmnc0/SqeWGDKxkk/Ascsc0OIgkS827tc1giz34Q6DIg6e5/pS3 BES+7qIw9JC1vrsa7uvjvpgmid0CcOovWIQm85fXDx3kVo2PknkwX14K3I93msupTY6Q 2QVBxOADbW17xaHZKFQFesqF/5cTLV+br0Icra1tUkY1OTaskSY6t+BQBcogfkN48Mpm 4KTu454O6rguQkpNtVQp/cB0CPevLR2ZxcRPbZWEDcEYS2OYiPaK7uVQnXKvTUnMGHIS zh5TZomR7Gb2BlxZBmWm4zLFK8Ppa5GeoEMVdIHt34xLBUEpllvWWeuu70rcviQsYDyQ +10A== X-Gm-Message-State: AOAM532lcdxUXPJqJ/4p/AtiC8ATau/vzK6dW5VK9pN0wd7exOlc2/4z 5h25gXjFd1wrv8LYCkHup5JwepPNVWE= X-Google-Smtp-Source: ABdhPJyhRbX0EpEooEUJ95mPrNf2NJALSLiHrAoI/zVIT3TyhSQFnJpMmwTK4PAzLr5/2eJoK25PEQ== X-Received: by 2002:a05:600c:230f:: with SMTP id 15mr5298663wmo.186.1598422505467; Tue, 25 Aug 2020 23:15:05 -0700 (PDT) Received: from mamamia.internal (a89-183-45-26.net-htp.de. [89.183.45.26]) by smtp.gmail.com with ESMTPSA id v16sm2686099wmj.14.2020.08.25.23.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 23:15:05 -0700 (PDT) From: Andre Heider To: openwrt-devel@lists.openwrt.org Subject: [PATCH v2 2/2] tools: always create $STAGING_DIR/usr/{include,lib} Date: Wed, 26 Aug 2020 08:15:03 +0200 Message-Id: <20200826061503.454068-2-a.heider@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200826061503.454068-1-a.heider@gmail.com> References: <20200826061503.454068-1-a.heider@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200826_021507_074321_03C129EA X-CRM114-Status: GOOD ( 13.84 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:333 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [a.heider[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rosen Penev Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org These are always passed to the toolchain using the gcc specs file, so ensure they exist. Fixes rare errors like: cc1: error: staging_dir/target-aarch64_cortex-a53_musl/usr/include: No such file or directory [-Werror=missing-include-dirs] Signed-off-by: Andre Heider Acked-by: Paul Spooren Acked-by: Rosen Penev --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index f038c90ba9..325c0995ee 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -123,7 +123,7 @@ define PrepareStaging $(if $(QUIET),,set -x;) \ mkdir -p "$$dir"; \ cd "$$dir"; \ - mkdir -p bin lib stamp; \ + mkdir -p bin lib stamp usr/include usr/lib; \ ); done endef