Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp435005lqz; Sat, 30 Mar 2024 03:09:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxyZfrphdGPh+lvd43bu20DPna6SATMa75A15Vn7bOkhB2GWwUHUhJpshzTegh6lX4fsIaTMgj67oc/B9p2PSp4hiQwAIzJWe/Vp4wNw== X-Google-Smtp-Source: AGHT+IHIWHYbZX8m+xIBgVOTWBJhzIglTi9dPQ5rrrpS7r2NjGbXbfoSnLFxrfu9/6VdLjom0i42 X-Received: by 2002:a05:6870:b50d:b0:22b:c197:a2af with SMTP id v13-20020a056870b50d00b0022bc197a2afmr4800498oap.42.1711793365056; Sat, 30 Mar 2024 03:09:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711793365; cv=pass; d=google.com; s=arc-20160816; b=IXRMrZ+pKVkC8mxln1jwoNl1lI7hUM9SHQI7vPuhYa72aebf7SeArWXmSgFOlYU2ca 5wujZP9KLixtLy5m5Y03aFVk2Ke5ctU/nFba7L+uznaTX1mxFgjO0dqMcT+JEu7ljJuL 6DXooFNKtUEBl30eU//H7JRCA1CHTxWm8goBCuVOzSD7K/hmK9MJ/mIAUkBXfuatGI8W CNODEwxAYNecyCDWMnzTkwJCdfE+wSAUY4QCuOzqrzpYsBwdS1/L12+kdMd/yMWABP6I WEfO3AgHZq225ul6hgsrkIa7VL/sz1eYGZGcNogEQnQb8SJpK9X0iDyH1VxQ6eg7DE1C VSVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nydMj+0oeyj2dnFlhKXY6sUXLr5NZgtI9P7NYg171T0=; fh=Q3zYIZrrmzy+7ggJgd8IA6/sDSk/BJcmT8NegrfRsDc=; b=0ER0U64VQ+03C5UCIJ5JddVMRh4vd+goqD8OhyxHonJbPcbJ6/hbn3img3axvbZCD5 IarNxtLyhNgqNhYzszwSqYc/incGXJEk9nL1ujYUHrc2nAJ5L66YdpfJbD97m5TIL1iz tR41WfbBaW89vAWJtHmH6N97gEHuMrO3upYjWpuxOdpuLHE22lNbLaTdpoPqpeudPR+O eJJ1kGZGBUus2qUoc0OIdkLc1dpwQC1Prbnt8HjFdjQ2P4FEyjFRfj26KFjLf02MXV5f mU8MeK0MOAfThO3NSvfbtDG/OGIjyGFuBVthPzwBZMiyXD+FG1NgzTNIk/RbbpDJFrs+ MJMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cn4M+4Db; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s11-20020aa7828b000000b006e6af89f219si5306550pfm.99.2024.03.30.03.09.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 03:09:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cn4M+4Db; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AFCB7283589 for ; Sat, 30 Mar 2024 10:09:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 338F2210FE; Sat, 30 Mar 2024 10:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cn4M+4Db" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B67F728DDE; Sat, 30 Mar 2024 10:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711793352; cv=none; b=j5dd72LR5+pkmQ4FO66qYBd1RyvgfK5K/dBrXTgW3yuPSm21i6Hksi2Zmf9jvNUKhTlcP2827ej2hEf5P+HpYBu6zvdrRZS3a0Km+kqF19cfHyUGbo4hycerhHSq2H0A7b8thajdWlz8R5T/ojRq2lKTCT35dSwKx4rNy5SI5Ik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711793352; c=relaxed/simple; bh=oI4lkJis+9trNrJGcocfK9zISlvWwc/IPr4JzhrxI80=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h3D28MyDGR+IEUXgGQGu1Ud284bFFDCt4SkT2RrstVwpGA9i9fPwx/hoaBYrTfiYu4aBglDATzphP4OO0MUFthnpramvqXNnUz8+bCRmpGuQO/CwpX7Z8KXbnkMYRoakpjfphq/FZeESwEFmHTpjJJShPcLmBZCHY+N6Jd055zs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Cn4M+4Db; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16991C43390; Sat, 30 Mar 2024 10:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711793352; bh=oI4lkJis+9trNrJGcocfK9zISlvWwc/IPr4JzhrxI80=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cn4M+4Db5NN2tMpD8FyWFy+bBrfungkJ7XPrgvPj3NViF7MzqPaXZ/weCIEa0BNGq UC76mkLKJZC7pgJ9eQrt2/zEtZ5/mznQWBum0RgUXg/WLJpUK2iCVOTW3qejtPqmv1 SAnP3Qo25sXCAP3QueETDs1WJcsmK0dQBna5gnjNsDgaRLW27ufWPuvCbH9zx97mmY TqLH0396qV31HG+KeyNYx9ZLrIoICyZqrFddjrxc5ap+7hPUCjvpDoed2UvXwo+fkV uuB+Us2HsC/gOzVmDGydx2U/C2Uf2r6SHnVFO8rRJRZkihr5E8lh1v3ml6ADwZv8hO 1MAnoAqUe0cYQ== From: Masahiro Yamada To: "James E . J . Bottomley" , Helge Deller , linux-parisc@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] parisc: fix vdso Makefiles slightly Date: Sat, 30 Mar 2024 19:08:49 +0900 Message-Id: <20240330100849.426874-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240330100849.426874-1-masahiroy@kernel.org> References: <20240330100849.426874-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit vdso32.lds and vdso64.lds are generated files. Prefix them with $(obj)/ instead of $(src)/. They are generated as prerequisites of others. Add them to 'targets' instead of 'extra-y'. Signed-off-by: Masahiro Yamada --- arch/parisc/kernel/vdso32/Makefile | 4 ++-- arch/parisc/kernel/vdso64/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/parisc/kernel/vdso32/Makefile b/arch/parisc/kernel/vdso32/Makefile index e45d46bf46a2..f15367f77d49 100644 --- a/arch/parisc/kernel/vdso32/Makefile +++ b/arch/parisc/kernel/vdso32/Makefile @@ -19,14 +19,14 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING VDSO_LIBGCC := $(shell $(CROSS32CC) -print-libgcc-file-name) obj-y += vdso32_wrapper.o -extra-y += vdso32.lds +targets += vdso32.lds CPPFLAGS_vdso32.lds += -P -C # -U$(ARCH) $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so FORCE # Force dependency (incbin is bad) # link rule for the .so file, .lds has to be first -$(obj)/vdso32.so: $(src)/vdso32.lds $(obj-vdso32) $(VDSO_LIBGCC) FORCE +$(obj)/vdso32.so: $(obj)/vdso32.lds $(obj-vdso32) $(VDSO_LIBGCC) FORCE $(call if_changed,vdso32ld) # assembly rules for the .S files diff --git a/arch/parisc/kernel/vdso64/Makefile b/arch/parisc/kernel/vdso64/Makefile index f3d6045793f4..25eb9a95422c 100644 --- a/arch/parisc/kernel/vdso64/Makefile +++ b/arch/parisc/kernel/vdso64/Makefile @@ -19,14 +19,14 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING VDSO_LIBGCC := $(shell $(CC) -print-libgcc-file-name) obj-y += vdso64_wrapper.o -extra-y += vdso64.lds +targets += vdso64.lds CPPFLAGS_vdso64.lds += -P -C -U$(ARCH) $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so FORCE # Force dependency (incbin is bad) # link rule for the .so file, .lds has to be first -$(obj)/vdso64.so: $(src)/vdso64.lds $(obj-vdso64) $(VDSO_LIBGCC) FORCE +$(obj)/vdso64.so: $(obj)/vdso64.lds $(obj-vdso64) $(VDSO_LIBGCC) FORCE $(call if_changed,vdso64ld) # assembly rules for the .S files -- 2.40.1