[LEDE-DEV] [RFC 03/11] include: u-boot.mk: use one less reference in HOSTCPPFLAGS

Yousong Zhou yszhou4tech at gmail.com
Mon Jul 17 21:52:06 PDT 2017


On 18 July 2017 at 06:10, Hauke Mehrtens <hauke at hauke-m.de> wrote:
> U-Boot 2017.07 complains if HOSTCPPFLAGS is referenced once too often.
>
> Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
> ---
>  include/u-boot.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/u-boot.mk b/include/u-boot.mk
> index 4b3ff69d6b..5fe3b42ba9 100644
> --- a/include/u-boot.mk
> +++ b/include/u-boot.mk
> @@ -42,7 +42,7 @@ TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET))
>
>  UBOOT_MAKE_FLAGS = \
>         HOSTCC="$(HOSTCC)" \
> -       HOSTCFLAGS='$(HOST_CFLAGS) $$$$(HOSTCPPFLAGS)' \
> +       HOSTCFLAGS='$(HOST_CFLAGS) $$$(HOSTCPPFLAGS)' \
>         HOSTLDFLAGS=""
>

Is it possible that the HOSTCPPFLAGS is actually a typo and can be
removed?  I cannot find other references to it both in the lede and
u-boot repo.

                yousong

>  define Build/U-Boot/Target
> --
> 2.11.0
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list