Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933247AbaFKQU1 (ORCPT ); Wed, 11 Jun 2014 12:20:27 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:61176 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933147AbaFKQUV (ORCPT ); Wed, 11 Jun 2014 12:20:21 -0400 From: Andy Lutomirski To: "H. Peter Anvin" , Josh Boyer Cc: Michal Marek , linux-kbuild@vger.kernel.org, "Linux-Kernel@Vger. Kernel. Org" , Andy Lutomirski Subject: [PATCH 1/2] kbuild: Add recipe-cmd, an @-less cmd variant Date: Wed, 11 Jun 2014 09:20:06 -0700 Message-Id: X-Mailer: git-send-email 1.9.3 In-Reply-To: References: <5398749B.4090209@zytor.com> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's awkward to put $(call cmd,xyz) in a loop in a recipe because the pesky at sign gets in the way. Signed-off-by: Andy Lutomirski --- scripts/Kbuild.include | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 122f95c..3e60923 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -194,6 +194,7 @@ echo-cmd = $(if $($(quiet)cmd_$(1)),\ # printing commands cmd = @$(echo-cmd) $(cmd_$(1)) +recipe-cmd = $(echo-cmd) $(cmd_$(1)) # Add $(obj)/ for paths that are not absolute objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o))) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/