On Thu, 2019-10-31 at 11:23 -0400, Robert P. J. Day wrote:
>   obvious problem is that all of that information would be useful for
> shell scripts as well, but that format is, of course, not compatible
> with scripts. so my suggestion was, for files like that, rewrite them
> all as (with curly braces):
> 
>   DEFAULT_CONFIG_DIR=${REPO_ROOT}/tools/default
>   BOARD_CONFIG_DIR=${BOARD_DIR}/project-spec/configs
>   CONFIGS_WORK_DIR=${REPO_ROOT}/configs/${BOARD}
>   IMAGE_WORK_DIR=${REPO_ROOT}/image/${BOARD}
>   BOOTIMG_WORK_DIR=${REPO_ROOT}/bootimg/${BOARD}
>   KERNEL_WORK_DIR=${REPO_ROOT}/kernel/${BOARD}
> 
> at which point, they should be includable in Makefiles and sourceable
> from scripts, yes?
> 
>   do i understand that correctly?

Yes.  This is not an uncommon approach.  I've used it myself in the past.


Reply via email to