Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2827161pxb; Mon, 1 Nov 2021 02:38:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9huJ4RlGG6h3W5yiusqfbW1iu2flm1tVbPrvknfmsxFzueghST0P51JL4ogO5mZpuK3uf X-Received: by 2002:a17:907:96a3:: with SMTP id hd35mr34496892ejc.222.1635759527662; Mon, 01 Nov 2021 02:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635759527; cv=none; d=google.com; s=arc-20160816; b=yI0dO+kRTISuNMYHYAYT1Gp0wnt+YyseeygNegZnfz3Q0b+CLNCza3RDlIGEcpo68H VVBKr7BDatCzyTGkLjyU/hH7hFWHyYrzaVxFJv+/FFESStTCMP8n08hUcPjO0BkfqIEn InJpKCF37iXctcFqe/Gub7kg9ukedvuF+kFsYcMWGGSNo8YJCAtbuoO9OwSi+w3e5ez0 qcWYvdwRz9R2Aj07oAa3oKMWiog2Z3QYq6NFPzFRQP1B4eFizv9ObHs7O8tBD2qYpBMk qyJoTAgrQfjzt7REv2A4a2g9JxLL7uOZk5yULyddwFBULxcuOznR8FvOEremyvlAOdga HRPg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=V6S6gz6jJEiX474v9jkn2iRz9vzjrHbFkSQzNuil9Zg=; b=SOSgchfRpWToZSBCoz4PwLZ8E2bh2yLkxoGDrjVyjAN0EsaxNDo2aXOVoi/LjyLcbu 0lj0ZlNTf/P/t2fkubbXZh3IYW0L7yhCx/YkfcC2t2dtIbK8va1lvoYQlx2GdyJf/HDT 5b+UZCJEg73w9JfqSc3RDRaQPgTQu3UThUJI3V8JT0swGhwFdBqQBZAfCZCsN8d32uV3 4YJxpCSRwUXIWWZh1FevgD4HTgiUwtXbC9SnHtExnDhVEmcU5+JnIqV7f/x5V1dNgYrK e0GF3bVfV/ESUS5rCwrTRFcHcKL4i9bmBQhMNQmbkkzU2M20GNT8Mh7Tuilvn6ekgRWo oM5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FMVjNDn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si7312332ejf.471.2021.11.01.02.38.24; Mon, 01 Nov 2021 02:38:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FMVjNDn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234015AbhKAJie (ORCPT + 99 others); Mon, 1 Nov 2021 05:38:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:43700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233286AbhKAJgA (ORCPT ); Mon, 1 Nov 2021 05:36:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 02F2E611BF; Mon, 1 Nov 2021 09:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635758779; bh=cGCxs+1Ry/Qu7CSd/SGrQrCzbmL0By5mcfTNjiE5zdY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FMVjNDn5P1NQH7VjtKUebKU6jmWCG0N6hwLPG4qqP3WdXo36JnjXu7a/hDKnej66P 43pNvnwxMzeyNsXhiL4NIsYxFH80LBAkowgBwK7OS+DBp2tqVwjgj6WvwT9T3r4aPl 80pdTgGULLG6xTH94iJ/mNQJC2HbwimTil7gRGzE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guenter Roeck , Randy Dunlap , Dinh Nguyen Subject: [PATCH 5.10 55/77] nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST Date: Mon, 1 Nov 2021 10:17:43 +0100 Message-Id: <20211101082523.247584369@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211101082511.254155853@linuxfoundation.org> References: <20211101082511.254155853@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck commit 4a089e95b4d6bb625044d47aed0c442a8f7bd093 upstream. nios2:allmodconfig builds fail with make[1]: *** No rule to make target 'arch/nios2/boot/dts/""', needed by 'arch/nios2/boot/dts/built-in.a'. Stop. make: [Makefile:1868: arch/nios2/boot/dts] Error 2 (ignored) This is seen with compile tests since those enable NIOS2_DTB_SOURCE_BOOL, which in turn enables NIOS2_DTB_SOURCE. This causes the build error because the default value for NIOS2_DTB_SOURCE is an empty string. Disable NIOS2_DTB_SOURCE_BOOL for compile tests to avoid the error. Fixes: 2fc8483fdcde ("nios2: Build infrastructure") Signed-off-by: Guenter Roeck Reviewed-by: Randy Dunlap Signed-off-by: Dinh Nguyen Signed-off-by: Greg Kroah-Hartman --- arch/nios2/platform/Kconfig.platform | 1 + 1 file changed, 1 insertion(+) --- a/arch/nios2/platform/Kconfig.platform +++ b/arch/nios2/platform/Kconfig.platform @@ -37,6 +37,7 @@ config NIOS2_DTB_PHYS_ADDR config NIOS2_DTB_SOURCE_BOOL bool "Compile and link device tree into kernel image" + depends on !COMPILE_TEST help This allows you to specify a dts (device tree source) file which will be compiled and linked into the kernel image.