From patchwork Tue Apr 26 15:21:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 8940001 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 99C939F1C1 for ; Tue, 26 Apr 2016 15:21:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD991200F2 for ; Tue, 26 Apr 2016 15:21:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0C43E201FE for ; Tue, 26 Apr 2016 15:21:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752440AbcDZPVi (ORCPT ); Tue, 26 Apr 2016 11:21:38 -0400 Received: from mail-qg0-f53.google.com ([209.85.192.53]:34041 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbcDZPVh (ORCPT ); Tue, 26 Apr 2016 11:21:37 -0400 Received: by mail-qg0-f53.google.com with SMTP id c6so7058827qga.1 for ; Tue, 26 Apr 2016 08:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=eyBooGr322fce3+2nON6YyqQF/WVfe+C7Kp4CsbcGAY=; b=EEt3/X1lrZUDQvfkv2WzlwwbWfygF5gI1AWTO3qBCl2i5N0ubjGGLQ8AZfcc59jPKd e/FpKPcunU9MdzA9vlLVvR8bP2+mGfNhMnBcz13Gamd1sgGq+GY8o4bAMq0QBpNzSxrX 3nXnd+EtV8oFeR7/nJsv1Ka0uGwt0CTHkHmz0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=eyBooGr322fce3+2nON6YyqQF/WVfe+C7Kp4CsbcGAY=; b=b9Fq4KMXvY6QBrIWcVz5YV+x9aSZUilGyfH3SAfAmui75A/RV9ruIltzJB2yPooT9Q vCoJrZzVl9Ta8C4Rz6d9pDflTV2JtoRMGy/pIiUBa8w/0u1t6gG4i/sE+bpmZWebrwdL +k2VnFveyDkAnp052muLslvSsCVTKin57xkngWt2OB0lJ8RQLVHPrZTaafyzOzBsC+uw LUp89yA90zZdeHvinasVTSMIV369UeOu+/xpQskF4HRB0CsnJRDdAijX+CuxeWsIbNa3 z+vnavZQKV2I2sYV+99LKOWlMBcuSmp14PWIrX7fB0tCfYMVu1vpv446IjFfl4DCCZ3W bn/A== X-Gm-Message-State: AOPr4FX9BLdeRaZW3vYA3Acf9HOR5fcwRVGwDSE5FQogk+eeFHCj/q7Eaa9MAYBy1U2gz8z3 X-Received: by 10.140.152.16 with SMTP id 16mr2915616qhy.77.1461684096544; Tue, 26 Apr 2016 08:21:36 -0700 (PDT) Received: from xanadu.home ([2607:fa48:6e39:d410:feaa:14ff:fea7:ed77]) by smtp.gmail.com with ESMTPSA id r136sm9009065qke.46.2016.04.26.08.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Apr 2016 08:21:35 -0700 (PDT) Date: Tue, 26 Apr 2016 11:21:34 -0400 (EDT) From: Nicolas Pitre To: Michal Marek cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames Message-ID: User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following renames occurred recently: cmd_cc_i_c --> cmd_cpp_i_c cmd_as_s_S --> cmd_cpp_s_S The respective cc_*_c and as_*_S patterns no longer match the above therefore additional patterns are needed. Signed-off-by: Nicolas Pitre --- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index a09927e027..36e9475395 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -275,10 +275,12 @@ else flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1))) ksym_dep_filter = \ case "$(1)" in \ - cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ - as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ - boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \ - *) echo "Don't know how to preprocess $(1)" >&2; false ;; \ + cc_*_c|cpp_i_c) \ + $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \ + as_*_S|cpp_s_S) \ + $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \ + boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \ + *) echo "Don't know how to preprocess $(1)" >&2; false ;; \ esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p' cmd_and_fixdep = \