Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp219625iob; Wed, 18 May 2022 00:12:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHayD7CEiycWJVAUlbuExjr1VkFIuNJcDmzfAVZ/bOCE+H9GgeTkcTOx2Xg4yloENwLKbq X-Received: by 2002:a62:b60f:0:b0:508:2a61:2c8b with SMTP id j15-20020a62b60f000000b005082a612c8bmr26277777pff.2.1652857935935; Wed, 18 May 2022 00:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652857935; cv=none; d=google.com; s=arc-20160816; b=C+RXIqt4K+vIJ1N+Du5B4rqARbZ1Adcc4YivFx9ZdeajJzOvXLNzsu0hknaJyA5aGa JTvztyK4G3+QU155qL1/hUwPMiWYz6rA1Hais/kaBIheabxilF7X9mB9I2M/pW14b2zY sZNnw8Ma2dIvm4bDz+NBwX3IVWt5hzwkMIjBq7YGVkGMoTZzd+Wiqjc6usVRl99/P9l7 UrNeSDQZvmFZdztBGByjaKWKRqprS9RqclPzAcAfTNO0y0Rt2JnipPzBhHxmiUg1xsvK /Wxno2pJhKNusEwd0AHGT4XOfpgZboWQx1/sWYiYJCi94tktOl39y9VIa6NyCMOtHIeb lrxw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6IrBNjN1nOIZ4w6mlcKd1LHHz/9h+1ybFjuj9rQLVa0=; b=jCvMxKpwsI51XuswKuNY6VT0KXbJjBgN6uX3ok/df3cTUKUQSPakUPVuKfViDR6s14 0q8UEkv72bNNX+nYhZfnutrvJ1kmAeZQXkCfsZ1Ym567jF0ifMdZ2HqlMsKn52EtjbSQ q06ZC9YH8EXbKSnB1Br1xW+nL4QRTasftQM7kMy42bWTy1adz/qt4mvAnW/ecoaecSsp 5qqSlknLCVgvYRvtTXpAM5bHSU3KB2FMShyI7G73eboHxW+ozBE4Za0Z1Ra+wQsQgbPV mXZswiJoGpcQvUYIXTR3kQtOHR1+T9TfJMLEVXHVOYmcaQ0W7EIpvSmw8If6gNbqKcWG 943Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id mq10-20020a17090b380a00b001d99fab8c25si2272156pjb.10.2022.05.18.00.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:12:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F18A6286E2; Tue, 17 May 2022 23:57:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231770AbiERG5M (ORCPT + 99 others); Wed, 18 May 2022 02:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231756AbiERG5E (ORCPT ); Wed, 18 May 2022 02:57:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED36713E3F; Tue, 17 May 2022 23:56:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A21F2B81E9F; Wed, 18 May 2022 06:56:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D319C385A5; Wed, 18 May 2022 06:56:53 +0000 (UTC) From: Greg Ungerer To: linux-m68k@vger.kernel.org Cc: geert@linux-m68k.org, linux-kernel@vger.kernel.org, arnd@arndb.de, Greg Ungerer Subject: [PATCH 3/3] m68knommu: fix 68000 CPU link with no platform selected Date: Wed, 18 May 2022 16:56:39 +1000 Message-Id: <20220518065639.2432213-4-gerg@linux-m68k.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220518065639.2432213-1-gerg@linux-m68k.org> References: <20220518065639.2432213-1-gerg@linux-m68k.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 If building for a nommu m68k classic CPU and no platform (board) is selected then the final link fails with: LD vmlinux.o m68k-linux-ld: cannot find arch/m68k/kernel/head.o: No such file or directory make: *** [Makefile:1158: vmlinux] Error 1 Not selecting a platform is ok, that is a generic 68000 system build. All of the platform selections are for 68328 variants. The underlying problem is that the CPU config option (CONFIG_M68000) ends up not being set, it is currently only selected by one of the platform choices. Change CONFIG_M68000 so that it is always enabled for the nommu m68k classic configuration. Signed-off-by: Greg Ungerer --- arch/m68k/Kconfig.cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index 16ea9a67723c..ed719a855e6a 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu @@ -37,7 +37,7 @@ endchoice if M68KCLASSIC config M68000 - bool + def_bool y depends on !MMU select CPU_HAS_NO_BITFIELDS select CPU_HAS_NO_CAS -- 2.25.1