Print Information in makefile and android. mk, and makefileandroid. mk
Print in makefile:
[Table] @ echo 'zimage-Compressed kernel image'
Print Information in android. mk:
$ (Warning TEXT ......)
When this function is executed, it will output: TEXT..., but make will continue to execute.
$ (Error TEXT ......)
When this function is executed, it outputs: TEXT... and terminates the execution of make.
"TEXT ..... "can be replaced with the value of the variable to output the information of the variable, for example, $ (warning $ (VAR), then the VAR value of the variable will be output when the function is executed.
How to add print information to makefile
[Table] @ echo "SUCCESS", this should be OK !! Yes in my makefile file !!
What are the differences between androidmk makefile?
Android. mk is the compilation rule file used by the Android operating system during compilation.
Makefile is the compilation rule file used for compiling in the Linux operating system.
The role is the same, but the name is different.