In device/vendor/rules.mk we have couples of flags. For example:
INCLUDE_VENDOR_PACKAGES:=true
I am writing a go package to do some conditional operation based on above flag. I tried couples of ways to fetch this flag's value such as via Golang's os package API and via $ operator like we do in shell script. But none of these worked.
Is there anyway to fetch the flag from Makefile at build time in go packages?