Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755643Ab0G1SZc (ORCPT ); Wed, 28 Jul 2010 14:25:32 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:36942 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987Ab0G1SZ2 (ORCPT ); Wed, 28 Jul 2010 14:25:28 -0400 Date: Wed, 28 Jul 2010 20:25:23 +0200 From: Sam Ravnborg To: Michal Marek , linux-kbuild , lkml , Denys Vlasenko Cc: Benjamin Herrenschmidt , Chen Liqin , David Howells , Denys Vlasenko , Geert Uytterhoeven , Haavard Skinnemoen , Hirokazu Takata , Martin Schwidefsky , Mike Frysinger , Ralf Baechle , Tony Luck Subject: [PATCH v2 0/3] update of various kbuild flags to allow user settings Message-ID: <20100728182523.GA29198@merkur.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1093 Lines: 32 Denys Vlasenko complained that he could not set a moduel specific linker flags on the command line. It turned out that the cause of this was kbuild that assigned a value to a variables that may be modified by the user. So any user supplied value would overwrite the kbuild assigned value. Fix this so we use internal variables for kbuild feering up the official variables for use by the user. Changes in v2: Fix so we can now specify both module and built-in options on command line. Combine all *_MODULE changes in one patch. Add a new patch for *_KERNEL changes. Document the new variables in makefiles.txt Document the variables that may be set on the command line in kbuild.txt The frv Makefile saw a bigger cleanup this time. I suggest to merge it through kbuild.git because the update is dependent on the first patch in this serie. Sam -- 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/