From patchwork Mon May 14 03:52:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 912671 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40kn0b2QJ7z9s01 for ; Mon, 14 May 2018 13:55:27 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qpszoXsE"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40kn0b098XzF2sq for ; Mon, 14 May 2018 13:55:27 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qpszoXsE"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::243; helo=mail-pg0-x243.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qpszoXsE"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40kmxW0VDkzF3Gj for ; Mon, 14 May 2018 13:52:45 +1000 (AEST) Received: by mail-pg0-x243.google.com with SMTP id w3-v6so4869226pgv.12 for ; Sun, 13 May 2018 20:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+VYnVFgQljvGQphR7RfkeJj7XSsMEO6RsiARAnpMo1I=; b=qpszoXsEXh8vn5bZaRd2QuG8Z4BUEgdAiisC8ixejgU+YptyAzPn4RCv/71S/Zq5cj VcIrSDIWOwMGHCeSCdpjsRP5SddGR4A8TtCxfTW30b3auVzWgNvepfJj7hdo/zP5ghnY 6Ew0CNgM7mDYqNLFhwCCO5iltllkbehxcys1ivOF1/HwJobzVJHzzE53xgdR8Z9iM3fA oRZrVHhAKc2SzGgvUHuSATnkyROW+eqdRQcEUmWJ24A0L+7/TgYKXMjPDIaPyZ59LQG3 ooB50BYDTjMBffol41+fppKdfiSsFn4OsLIGyNmA5OgtojxhOTDkVX5I8RJh7ZGtaPLa noXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+VYnVFgQljvGQphR7RfkeJj7XSsMEO6RsiARAnpMo1I=; b=I9uEY2JsGnwDAF1SXsKMh4CiljKh+B6onOoAdrPpoggKeCRBDKs48pZZwdaF8anEW8 LWbK5pHEzORZnDTmyvkbXFYb12wi9VPntkKf8EaknjNi63cd09mzp9xS9p7w+7wbxOYf 6CVw8dLWITZ9FrT8cFumqKJnyCK8ziKPD7Je/Hmg59TQD+0ff2VdSsc0RsJP83IhjQbU uLTlsZ5ZPOtnGuYrICRhM2cEahIsXsP9dRdntmPTSfr84F7h/zCiBzhbsWePW1vBSort mHiLcty+ZZwqZxVxm+13X7wLm+YLgdVRipF+Ua50+Rrc0+IMmrr+QYLTnDqHKUTtp9L2 +vIA== X-Gm-Message-State: ALKqPwfAf5tPry3aCi8ZQcv7EYsw3JcRB/4mmYmWvZGREpFrZPn8GMK5 NmHzS0jXthan0hLpBYgywfQ= X-Google-Smtp-Source: AB8JxZrkm2UJyPixsYvDFUHvJnbme0cNFkRCPQcE4zO7HgsuqzAz+LFmo8gXgLNNXH0K3VfJtYtZYQ== X-Received: by 2002:a62:1fc8:: with SMTP id l69-v6mr8665767pfj.49.1526269963406; Sun, 13 May 2018 20:52:43 -0700 (PDT) Received: from roar.au.ibm.com (59-102-70-78.tpgi.com.au. [59.102.70.78]) by smtp.gmail.com with ESMTPSA id d71-v6sm15668943pfd.48.2018.05.13.20.52.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 May 2018 20:52:42 -0700 (PDT) From: Nicholas Piggin To: linux-kbuild@vger.kernel.org Subject: [PATCH v3 0/4] powerpc patches for new Kconfig language Date: Mon, 14 May 2018 13:52:24 +1000 Message-Id: <20180514035228.21316-1-npiggin@gmail.com> X-Mailer: git-send-email 2.17.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahiro Yamada , linuxppc-dev@lists.ozlabs.org, Nicholas Piggin Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" This series of patches improves th powerpc kbuild system. The motivation was to to be compatible with the new Kconfig scripting language that Yamada-san has proposed here: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/?h=kconfig-shell-v3 I have tested on top of that tree and powerpc now builds there. I think patches 1-3 are improvements to the build system even before kconfig-shell, so they could be merged ahead of it. Patch 4 actually takes advatage of a new feature of the kconfig-shell changes to improve powerpc kconfig, so that should rather be merged with the kbuild tree with an ack from powerpc. Yamada-san are you planning to merge kconfig-shell for 4.17? Thanks, Nick Nicholas Piggin (4): powerpc/kbuild: set default generic machine type for 32-bit compile powerpc/kbuild: remove CROSS32 defines from top level powerpc Makefile powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS powerpc/kbuild: move -mprofile-kernel check to Kconfig arch/powerpc/Kconfig | 16 +------ arch/powerpc/Makefile | 45 ++++++++----------- arch/powerpc/boot/Makefile | 16 ++++--- arch/powerpc/kernel/vdso32/Makefile | 15 +++++-- .../tools/gcc-check-mprofile-kernel.sh | 4 +- scripts/recordmcount.pl | 7 +++ 6 files changed, 51 insertions(+), 52 deletions(-)