Programming/General
makefile(.mk) flag and blank issue
decdream
2018. 1. 3. 15:57
If your flag has [blank] end of word, "ifeq" make miss understanding.
ex)
CONFIG_AAA := true [blank]
ifeq ($(CONFIG_AAA), true)
end
So we need to use "strip" sentence when we use "ifeq"
ifeq ($(strip $(CONFIG_AAA)),true)