This is the strangest behaviour I have ever seen. I know you might be shocked to see the below explanation but yes this is happening.
I'm trying to export a variable name which is
LON_GEMINI_BOX from a bash script.
And trying to access the value of this variable in a makefile to define some specific things.
which looks like: In bash script,
export LON_GEMINI_BOX = 1
ifeq ($(LON_GEMINI_BOX), 1) This is how im defined EXTRA_CFLAGS += EXTRA_CFLAGS += else why is this happening endif
I always end up in else part while building.
If I just tweak variable name to
LON_GEMINI1_BOX or anything else other than
LON_GEMINI_BOX it is exported and works as expected.
I'm struggling to identity what is the problem.