Hi Wolfgang,

On Thu, Apr 19, 2012 at 5:36 AM, Wolfgang Denk <[email protected]> wrote:
> Fix: FATAL ERROR: Couldn't open "../arch/arm/dts/tegra20.dtsi": No
> such file or directory

With this problem I have been pursuing include paths in dtc, since
then we don't need CPP. This feature is now in dtc:

de6b762 dtc: Add -i option to support search paths

I have a patch to use that feature, so I will send it to the list.

>
> Signed-off-by: Wolfgang Denk <[email protected]>
> Cc: Simon Glass <[email protected]>
> ---
>  dts/Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dts/Makefile b/dts/Makefile
> index 5792afd..8b13b23 100644
> --- a/dts/Makefile
> +++ b/dts/Makefile
> @@ -36,7 +36,7 @@ $(error Your architecture does not have device tree support 
> enabled. \
>  Please define CONFIG_ARCH_DEVICE_TREE))
>
>  # We preprocess the device tree file provide a useful define
> -DTS_CPPFLAGS := 
> -DARCH_CPU_DTS=\"../arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\"
> +DTS_CPPFLAGS := 
> -DARCH_CPU_DTS=\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\"
>
>  all:   $(obj).depend $(LIB)
>
> --
> 1.7.7.6
>

Regards,
Simon
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to