help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make not expanding variables


From: Philip Guenther
Subject: Re: make not expanding variables
Date: Fri, 8 Aug 2014 20:55:19 -0700

On Fri, Aug 8, 2014 at 7:43 AM, Vance Turnewitsch <address@hidden>
wrote:
>
> I'm using Ubuntu 12.04 64bit with make version 3.81-8.1ubuntu1.1 and was
> failing to build bitbake recipes. I narrowed it down to an odd problem with
> make not expanding variables. I've attached a sample make file (makefile)
> with the "problem."
>
> When I use this makefile, I get a directory "{hi,hi2}" within TestMake but
> instead there should be two directories within TestMake created: "hi" and
> "hi2", correct?
>


Well, that depends on the behavior of the shell that your system's 'make'
is compiled to use by default as ${SHELL}.




>
> As an example from the actual project, I have attached Makefile_real. This
> is a copy of a make file within the project. The problem is the line:
>
> cp -f {mcc_linux.h,mcc_common.h,mcc_config.h} $(DESTDIR)/usr/include/linux/
>
> which I have commented out in the file and replaced it with three calls to
> copy the files individually. The make file runs fine with the individual
> copying. Other files though that use {} are failing as well...and the
> content within the {} are much more complexthan this simple manual copying.
>
> Thus, any ideas?
>
> Thanks,
> Vance Turnewitsch
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]