From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755845AbdLVBxv (ORCPT ); Thu, 21 Dec 2017 20:53:51 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:44140 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755153AbdLVBxp (ORCPT ); Thu, 21 Dec 2017 20:53:45 -0500 X-Google-Smtp-Source: ACJfBovGMu16MT9Q2l3aIJczxVwMdR3cJ0EUafXEAOF/r8G6cFUfHrGONiboSO5Y9cOx0jTFZcemaw== From: Douglas Anderson To: Masahiro Yamada Cc: malat@debian.org, dave.hansen@intel.com, yang.s@alibaba-inc.com, linux@roeck-us.net, Douglas Anderson , Matthias Kaehlcke , Cao jin , Arnd Bergmann , Marcin Nowakowski , Mark Charlebois , linux-kernel@vger.kernel.org, Josh Poimboeuf , Ingo Molnar Subject: [PATCH 0/2] kbuild: Fix corner caches with .cache.mk Date: Thu, 21 Dec 2017 17:53:01 -0800 Message-Id: <20171222015303.112071-1-dianders@chromium.org> X-Mailer: git-send-email 2.15.1.620.gb9897f4670-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This two-patches fixes two corner cases with .cache.mk that have been reported recently. Neither problem was catastrophic, but certainly several people ran into the problem solved by the first patch (can't build after gcc upgrade) and wasted time debugging, so it's really a good idea to fix. For both patches, please make sure to give them an extra thorough review. I _think_ I understand enough about $(MAKECMDGOALS), but I'd never explored that feature of make before writing these patches so the patches certainly need someone more experienced to give them a careful look. I've only got one more day of work before I'm on Christmas vacation for 2 weeks, so if there are problems with these patches please give me a bit of time to fix. ...or, if someone is in a hurry, I wouldn't object to someone else hijacking them and posting fixes. Douglas Anderson (2): kbuild: Require a 'make clean' if we detect gcc changed underneath us kbuild: Don't mess with the .cache.mk when installing scripts/Kbuild.include | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.15.1.620.gb9897f4670-goog