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: 9984101 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 9833460237 for ; Wed, 4 Oct 2017 09:34:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AF2A28A60 for ; Wed, 4 Oct 2017 09:34:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FCB728A66; Wed, 4 Oct 2017 09:34:44 +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 73DD528A60 for ; Wed, 4 Oct 2017 09:34:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751114AbdJDJem (ORCPT ); Wed, 4 Oct 2017 05:34:42 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:46070 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751198AbdJDJem (ORCPT ); Wed, 4 Oct 2017 05:34:42 -0400 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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@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