From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from thebe.hi.pengutronix.de ([2001:6f8:1178:2:5e26:aff:fe2b:7cc4]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VbpCY-0003ER-Ma for ptxdist@pengutronix.de; Thu, 31 Oct 2013 11:10:06 +0100 Resent-To: ptxdist@pengutronix.de Resent-Message-ID: <201310311111.56595.richard.guenther@garz-fricke.com> From: =?utf-8?B?UmljaGFyZCBHw7xudGhlcg==?= Date: Thu, 31 Oct 2013 10:21:55 +0100 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] Problem with variable reference in Makefiles Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: =?utf-8?B?SsO8cmdlbiBCZWlzZXJ0?= Dear Juergen, > The tool 'make' includes all rule files in a specific order. And I guess also the locale has some effect on this order. But PTXdist ensures the local > is set to 'C'. > > Did you only try with different _variable_ names or with different _rule_file_ names as well? I tried with different rule-file names in the project-specific rules directory as well. I used the following lines for testing: TEST1 := $(AUTOMADDEL_VERSION) (automaddel.make is in the project-specific rules directory) TEST2 := $(AUTOMODDEL_VERSION) (automoddel.make is in the project-specific rules directory) TEST3 := $(XORG_SERVER_VERSION) (xorg-server.make is in the ptxdist default rules directory) I put the three lines into Makefiles in my project-specific rules directory and got the following results: - busybox.make: all variables TEST1, TEST2 and TEST3 are empty. - shiboken.make: TEST1 contains the correct value, TEST2 is empty, and TEST3 contains the correct value. - xconfig.make: all variables TEST1, TEST2 and TEST3 are empty Regards, Richard -- ptxdist mailing list ptxdist@pengutronix.de