In Ubuntu, in my etc/environment file, I have this line:
When I run a .sh file which runs the .mk script, the ifeq statement is triggered and the output on the terminal is:
In a .mk file, I have these lines:ANDROD_NDK="/home/william/ndk/android-ndk-r12b"
That is the first few lines of the file. I don't know what "strip" is assigned to or if it is a system command, I don't know what it is.ifeq ($(strip $(ANDROID_NDK)),)
$(error ANDROID_NDK is not set in environment. Set ANDROID_NDK properly.)
endif
When I run a .sh file which runs the .mk script, the ifeq statement is triggered and the output on the terminal is:
Thiat is the output I have on my screen. So one question is this. Do I use the wront syntax in the enforonment file? Another question is this: In the make file, shoujld it be $ANDROID_NDK instead of $(ANDROID_NDK) ?target-config/android-x86.mk:3: *** ANDROID_NDK is not set in environment. Set ANDROID_NDK properly.. Stop.