help-make
[Top][All Lists]
Advanced

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

make not expanding variables


From: Vance Turnewitsch
Subject: make not expanding variables
Date: Fri, 8 Aug 2014 10:43:32 -0400

Hello,
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?

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

Attachment: makefile
Description: Binary data

Attachment: Makefile_real
Description: Binary data


reply via email to

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