Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1433146iog; Sat, 25 Jun 2022 09:10:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXS5DGl0i9R/Cs9KqWYgCWVsSU6QN+lV8aTThCSBfXvHrXbG+5s8lz/5YQ7r7z730O8YfB X-Received: by 2002:a17:906:dc8f:b0:725:28d1:422d with SMTP id cs15-20020a170906dc8f00b0072528d1422dmr4418397ejc.131.1656173441788; Sat, 25 Jun 2022 09:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656173441; cv=none; d=google.com; s=arc-20160816; b=qoTnBMhJUYLedNC9CzH+QuJ+FHlNjRM1/UfM6bIstX3ziE0jqLAoVNlOe8dvJdNkKD Gcb0zvx39NUUh4nG5TfchVtWAjapVYVYfQFzG8XIEBA3kspUWfk8ouwC2uDWGHbgwd68 AyJ/p5FcZPnwBDuoSR7SUz3YfiWQP3zmsLhjoMxQNDPYt6HySD71/RNn9PiUb/ldtFxk Mxm6m+ZRb7SZN2Ybco0F20zqhd5pkZZW0Ka+pDH72vFXujPeJQWP0GMRfI233JKV5xIT Ko2SypZR8eW9E8qHrAnYon4eGOaRivl07g3GNTca0uLzb8gzRLMGhRaHE3NTxLeapXV4 QqIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=F3RxS92s6HC7mDr70wELutMLarrjjf9M1klJ5znbLyM=; b=emuyTTBlu5LLypDKwohfcKmmRUdtj9ywBzbFLh/u5Ne6MEHty+8mZG3YGRz4DdVsG6 sl/KfNxS1UGLUgPOMqOTjd9IWjp9xLx9iBpgAKOB7R7Li27+cXjCSHfcOKHOLyfYkfdn uOezADPk29Ca9LmX5IJYhTFk+kug2fh+geNBEcefIjGsFRU2D6+44y6TLH19gelvr8op 2iSCHaYSBYS9Nb5kgnjoakJ0m+nqztVnrMSiINP2aOg8x/Q2m2GHaht8vwdEx/zOfBem LH5C8n54rTuwm5CcbOPK2IOArC+kbHYWl9TY4w63k0ZSTWcO+r7woa83DvX0OuI3c5EQ Hq8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=TKLRMG0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a170906060f00b00718c2c40965si4921443ejb.436.2022.06.25.09.10.16; Sat, 25 Jun 2022 09:10:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=TKLRMG0F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233174AbiFYPmO (ORCPT + 99 others); Sat, 25 Jun 2022 11:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233140AbiFYPmM (ORCPT ); Sat, 25 Jun 2022 11:42:12 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E8F015FC6 for ; Sat, 25 Jun 2022 08:42:11 -0700 (PDT) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 7C6B53F8D8 for ; Sat, 25 Jun 2022 15:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1656171729; bh=F3RxS92s6HC7mDr70wELutMLarrjjf9M1klJ5znbLyM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=TKLRMG0FhfZIJiRDMYIl+EuxvQ8yx5PVYdKfSLkRY59YDBvv/ugL7plefeZYCudYt itRawkly5Vm+qxJALV4EXDq2DLMESSJcRIhFyThNE/Y7rZYcT6gKzFgjWYyCkvlvbL UpSGIVBoHnTq1hOzIR3VPiZe40uOAYHSKkrB9Q0DRCsw/vzTW/S/7nyD5WIa3bh+0l UUTnAEfI4awL/CuSUqxilpFXAxFIF9B3Bp8p22rhSKs7jRz/Y+gi+A3FY5rlDQ062D er+SfO7W5CVkB7QEP/+BES52tcVpoGMXKFsBd28TJLhErUDrWdEY83OoHrMcScDUQT cDEAYO71LYH0w== Received: by mail-ed1-f72.google.com with SMTP id y18-20020a056402441200b0043564cdf765so4006464eda.11 for ; Sat, 25 Jun 2022 08:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=F3RxS92s6HC7mDr70wELutMLarrjjf9M1klJ5znbLyM=; b=HQFZ++kSzs93tKi1F+PaPte9dVZWYc71sB8HwDEb7GO1+Ql2L/DvqK6QT2lHC/2cNX TPDk92D5QOnLCp2WzNquxrycPTM6JByrP3EYorJqURcMtQjADggaXLrKSu31jm2VPBrv cG1DgieMMacycA16b+lXQcVZXF2+ZqH/qPZayh56Q8+5wkbzRYuSc2/0/P2uK/nXpQ2S KcW/QXcYGihxfsm6WWiWTLnCQbrMxSGr/cGsiMppuUL37Za5/r8C68kBhD191bQTTD/g pUsl91Vq7dlGMP9gTDWX0p0wt2UmGk5DbzZnb3BDcjej2IiSw21lAoPcw4nK69IQaseW u2WQ== X-Gm-Message-State: AJIora8zzi4Iz/NMNJynGKg+KPywxZJ4cLDK8if5MsOJtlKV7OpBMUxT mk/xOfetd14Poi0axnkSBmPchpqUogix834VsNzSNZ2cr49A/gn3lWE/GCEeep/XGTAZsdmpLPC OemxCnk6w2QBJuoFUolCP/hGSvkVYsez3Z05qhf2PJg== X-Received: by 2002:a17:907:97d1:b0:722:e6fc:a04 with SMTP id js17-20020a17090797d100b00722e6fc0a04mr4306662ejc.217.1656171728940; Sat, 25 Jun 2022 08:42:08 -0700 (PDT) X-Received: by 2002:a17:907:97d1:b0:722:e6fc:a04 with SMTP id js17-20020a17090797d100b00722e6fc0a04mr4306647ejc.217.1656171728790; Sat, 25 Jun 2022 08:42:08 -0700 (PDT) Received: from archlinux.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id d18-20020a05640208d200b00435bfcad6d1sm4239439edz.74.2022.06.25.08.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 08:42:08 -0700 (PDT) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org Cc: Guo Ren , Palmer Dabbelt , linux-kernel@vger.kernel.org Subject: [PATCH] riscv: compat: vdso: Fix vdso_install target Date: Sat, 25 Jun 2022 16:42:07 +0100 Message-Id: <20220625154207.80972-1-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When CONFIG_COMPAT=y the vdso_install target fails: $ make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- vdso_install INSTALL vdso.so make[1]: *** No rule to make target 'vdso_install'. Stop. make: *** [arch/riscv/Makefile:112: vdso_install] Error 2 The problem is that arch/riscv/kernel/compat_vdso/Makefile doesn't have a vdso_install target, but instead calls it compat_vdso_install. Signed-off-by: Emil Renner Berthing --- arch/riscv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 34cf8a598617..5cfbef613e34 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -110,7 +110,7 @@ PHONY += vdso_install vdso_install: $(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@ $(if $(CONFIG_COMPAT),$(Q)$(MAKE) \ - $(build)=arch/riscv/kernel/compat_vdso $@) + $(build)=arch/riscv/kernel/compat_vdso compat_$@) ifeq ($(KBUILD_EXTMOD),) ifeq ($(CONFIG_MMU),y) -- 2.36.1