From patchwork Wed Oct 4 09:33:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9984111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6726C60365 for ; Wed, 4 Oct 2017 09:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 583352877C for ; Wed, 4 Oct 2017 09:47:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BF4528AA7; Wed, 4 Oct 2017 09:47:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1AE02877C for ; Wed, 4 Oct 2017 09:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751268AbdJDJrF (ORCPT ); Wed, 4 Oct 2017 05:47:05 -0400 Received: from condef-07.nifty.com ([202.248.20.72]:30384 "EHLO condef-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751208AbdJDJrF (ORCPT ); Wed, 4 Oct 2017 05:47:05 -0400 X-Greylist: delayed 432 seconds by postgrey-1.27 at vger.kernel.org; Wed, 04 Oct 2017 05:47:04 EDT Received: from conuserg-08.nifty.com ([10.126.8.71])by condef-07.nifty.com with ESMTP id v949Ygoo018514 for ; Wed, 4 Oct 2017 18:34:42 +0900 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v949Y05T008668; Wed, 4 Oct 2017 18:34:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v949Y05T008668 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507109641; bh=bElKxgijxJOwIYnJqEUakNKu7vL1Qwcv5hInxSfl7Rk=; h=From:To:Cc:Subject:Date:From; b=lmIeKrmSk6dE63l2W0TFClDT0mzjLeLc0oukBaVOCswRqZaD7EK6b5FwTpCYTzKcL QFnWBoWyH2MH2cn5CIXFSz7J0+TLB84i1VJNvBD2Mz/8bGtRGm2w7dcdgWThTouQbx e3UeZPpoMdMgagjPu0KFURv4Pd40qlUFfVJNOPLhvh/UgGrJ8B9GgaBsLqd6cSBOph 4lXmaCudVmpFrNSVMGbHG+DKbTNaRc29T/InqQ+Jmq5Qcnk0CodC0C6Jo2O6TyGSB3 IDeGUwuA8xuO2sbw8j4P9yD1NTrvSh1A7mqunyaF1PM4SS/xCzJWMwtwBNijF3G58E 08aTEjqhufYTA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-sh@vger.kernel.org Cc: linux-kbuild@vger.kernel.org, Masahiro Yamada , Yoshinori Sato , Rich Felker , linux-kernel@vger.kernel.org Subject: [PATCH] sh: remove pointless select of KBUILD_DEFCONFIG Date: Wed, 4 Oct 2017 18:33:55 +0900 Message-Id: <1507109635-28977-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP KBUILD_DEFCONFIG := shx3_defconfig is never used in a sensible way. KBUILD_DEFCONFIG specifies the defconfig file used by "make defconfig", but CONFIG_SUPERH32 is never set when building config targets. Signed-off-by: Masahiro Yamada --- arch/sh/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 280bbff..c937ec0 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -96,6 +96,7 @@ defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux # Set some sensible Kbuild defaults boot := arch/sh/boot KBUILD_IMAGE := $(boot)/$(defaultimage-y) +KBUILD_DEFCONFIG := cayman_defconfig # # Choosing incompatible machines durings configuration will result in @@ -105,14 +106,12 @@ ifdef CONFIG_SUPERH32 UTS_MACHINE := sh BITS := 32 LDFLAGS_vmlinux += -e _stext -KBUILD_DEFCONFIG := shx3_defconfig else UTS_MACHINE := sh64 BITS := 64 LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \ --defsym phys_stext_shmedia=phys_stext+1 \ -e phys_stext_shmedia -KBUILD_DEFCONFIG := cayman_defconfig endif ifdef CONFIG_CPU_LITTLE_ENDIAN