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: 114761 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2895381qgn; Wed, 4 Oct 2017 02:34:47 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCn/nsBwu1ksepKMSbMqwT4wxqSoypXmQxteqidvih/9Di/AIBuUhFV4uOPchu1QlIqLiXB X-Received: by 10.98.65.27 with SMTP id o27mr703309pfa.327.1507109686948; Wed, 04 Oct 2017 02:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507109686; cv=none; d=google.com; s=arc-20160816; b=LN+Igmn9rApv+B0psuTd/y6qBajncyQqeEv5FbQX1guHrEWfDMn/xt9QsDnipOcB9r NKS4Fyweq7cNhSBaauhLi6l+hNqs34cNu2rg4reaefRNocCCKeJculc+qVz3Qfr5FxHD q60OfTah9u9p0KYRQUjE/+W/qF08c7BTxizIwyPUjaR4XFxW8sRx9JYdwPNFthnN4Ag4 W9akgmGIPg+knwSZWJJRaDG2CiYLdUhgfiZBf6R1jRXHptLpeuOUzmQ1zJ+E1GMnSPP1 s/Qh/xYeMYPGSjoTFYQvR1hct2oemrWDpi/SfXDXxY+q49+Q01E5YGOEYTI6abORe8Ju 884Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=bElKxgijxJOwIYnJqEUakNKu7vL1Qwcv5hInxSfl7Rk=; b=fAk92CrqZX++R5ouAxJm1CvHaSwxmCUxMvinYCP9y43ab5JKnxMcBuUMv4A+8BDJK/ br8lkhLAtmJ2RKsc1biZ948bS3sK6pFLVASUuCGXUcgocFuYzVi6Eefdsb0V6AGi9/w2 bekiVo52LcxCv6M/A4AJ+Wrkc+i0swMS/k6P7Nq/wusOHClCnm6snLCskMKxJh6BLLe7 n39E5ckykNDKLmg6rxm7Vm9/TuhDaY2RHHYPu22xzcN01gHh7HcuRz6UsNfqtTPse3mr 4anRsJfBPHy7fiJ318MdU7Y3bnGo9f/sw5+7hLqgSdTfbZR0+NontypOpdYbCNzxLHUY 7bqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lmIeKrmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10si12237971plk.585.2017.10.04.02.34.46; Wed, 04 Oct 2017 02:34:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lmIeKrmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317AbdJDJen (ORCPT + 26 others); Wed, 4 Oct 2017 05:34:43 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.7.4 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