On Sun, 2023-09-24 at 17:23 +0000, 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 code, I can see that the above `ifneq'
and `ifeq' are evaluated at the very same time/pass.  That means the
result of `eval' will not be visible to `ifeq'.

HTH,


PS: I could have tried to come up w/ an alternative approach to laying
out the code but, I found the snippet crowded w/ too much logic
specific to your case which makes it hard for me to see the abstract
patterns in play.  Can you try to slim down the snippet and push it to
a public repo somewhere so I can take a look?

--
Bahman

Reply via email to