Re: Problem setting a variable inside a target

2023-09-26 Thread Bahman Movaqar
C7004 > 1460 National Road > Columbus, Indiana 47201 > United States > > -Original Message- > From: Bahman Movaqar > Sent: Tuesday, September 26, 2023 12:11 PM > To: Ed L Wolf ; bug-make@gnu.org > Subject: Re: Problem setting a variable inside a target > >

RE: Problem setting a variable inside a target

2023-09-26 Thread Ed L Wolf
an Movaqar Sent: Tuesday, September 26, 2023 12:11 PM To: Ed L Wolf ; bug-make@gnu.org Subject: Re: Problem setting a variable inside a target EXTERNAL SENDER: This email originated outside of Cummins. Do not click links or open attachments unless you verify the sender and know the content is

Re: Problem setting a variable inside a target

2023-09-26 Thread Bahman Movaqar
2l > $(DIR_A2LGEN_SETUP)/McData-setup.a2l >     @echo "A2L    Supplier folder not available" > endif > > Ed L Wolf > Technical Advisor - Embedded Software > e.l.w...@cummins.com > Cummins Inc. > Mail Code: C7004 > 1460 National Road > Columbus, I

Re: Problem setting a variable inside a target

2023-09-26 Thread Bahman Movaqar
On Sun, 2023-09-24 at 17:23 +, Ed L Wolf wrote:     > > ifneq ($(wildcard $(DIR_SUPPLIER)),) > ... > > $(eval SUPPLIER_A2l := $(sort $(shell find $(DIR_A2LGEN_SUPPLIER) - > > type f -name "*.a2l")))  > ... > ifeq ($(SUPPLIER_A2l),"*.a2l") > Quickly skimming through your

RE: Problem setting a variable inside a target

2023-09-26 Thread Ed L Wolf
o "A2LSupplier folder not available" endif Ed L Wolf Technical Advisor - Embedded Software e.l.w...@cummins.com Cummins Inc. Mail Code: C7004 1460 National Road Columbus, Indiana 47201 United States -Original Message- From: Bahman Movaqar Sent: Tuesday, September 26, 2

Re: Problem setting a variable inside a target

2023-09-25 Thread Martin Dorey
Subject: RE: Problem setting a variable inside a target * EXTERNAL EMAIL * One more comment. For some reason SUPLLIER_A2l is blank Ed L Wolf Technical Advisor - Embedded Software e.l.w...@cummins.com Cummins Inc. Mail Code: C7004 1460 National Road Columbus, Indiana 47201 United States

RE: Problem setting a variable inside a target

2023-09-25 Thread Ed L Wolf
@gnu.org Subject: RE: Problem setting a variable inside a target The following code response was Supplier folder detected Supplier folder detected but no a2l files present but the response should have been Supplier folder detected Supplier

RE: Problem setting a variable inside a target

2023-09-25 Thread Ed L Wolf
@gnu.org Subject: Re: Problem setting a variable inside a target EXTERNAL SENDER: This email originated outside of Cummins. Do not click links or open attachments unless you verify the sender and know the content is safe. > The eval statement below highlighted in red is not working Perhaps yo

Re: Problem setting a variable inside a target

2023-09-24 Thread Martin Dorey
get from find(1): mad@shuttle:~/tmp/wolf-2023-09-24$ find -name "*.a2l" mad@shuttle:~/tmp/wolf-2023-09-24$ From: bug-make-bounces+martin.dorey=hds@gnu.org on behalf of Ed L Wolf Sent: Sunday, September 24, 2023 10:23 To: bug-make@gnu.org Subject

Problem setting a variable inside a target

2023-09-24 Thread Ed L Wolf
Hello I am having some trouble trying to set a variable inside a target. When reading the variable, it comes up blank. Below is my make file code. The eval statement below highlighted in red is not working. Can you provide some assistance please? I am using GNU Make 4.1