ail Code: 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
&
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 safe
_SETUP)/McData-copyright-can.a2l
> $(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
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 co
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
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
@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
@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
> The eval statement below highlighted in red is not working
Perhaps you'd expect to see "BADGER is wombat" from:
mad@shuttle:~/tmp/wolf-2023-09-24$ cat Makefile
default:
$(eval BADGER = wombat)
ifeq ($(BADGER),wombat)
echo BADGER is wombat
else
echo BADGER is not wombat
endif
m