I am using Petalinux 2028.3 and I try to customize a Makefile for a petalinux application. For that I have added in the Makefile, a variable:
In my shell, I exported ENV_VAR and when I execute my Makefile from a make command in the shell, I can see that ENV_VAR is correctly set.
The problem is when I use the petalinux-build command (from the same shell) that somehow executes my Makefile, the log shows that ENV_VAR is empty.
Does anyone has an idea?