openWrt(LEDE):Makefile文件中$(eval $(call xxxx,xxx)) 作用


eval函数作用:eval函数实现各种定义。

$(eval $(call BuildPackage,libglog))

调用 Profile 函数,其中令 PROFILE=Default

$(eval $(call Profile,Default))

表示编译这个工具是为了在主机上使用的。

$(eval $(call HostBuild))

会遍历下的子目录

$(call subdir, target) 

参考:

https://blog.csdn.net/csdn66_2016/article/..............nt_index=2

https://blog.csdn.net/zjqlovell/article/details/78661394