[OpenWrt-Devel] [PATCH 4/8] mvebu: image: keep global DTS_DIR intact

Adrian Schmutzler mail at adrianschmutzler.de
Fri Jan 31 11:02:12 EST 2020


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On
> Behalf Of Tomasz Maciej Nowak
> Sent: Freitag, 31. Januar 2020 16:46
> To: openwrt-devel at lists.openwrt.org
> Subject: [OpenWrt-Devel] [PATCH 4/8] mvebu: image: keep global DTS_DIR intact
> 
> Don't rewrite global DTS_DIR, instead, use proper variable for
> specifying devices dts directory.

Have you build-tested this? DEVICE_DTS_DIR and DTS_DIR might behave differently
when it comes to includes in DTS files.
That's why I couldn't replace SUNXI_DTS_DIR with DEVICE_DTS_DIR when touching
this some months ago.

Best

Adrian

> 
> Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
> ---
>  target/linux/mvebu/image/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/mvebu/image/Makefile
> b/target/linux/mvebu/image/Makefile
> index d9e4b1acce..ae4d3b9594 100644
> --- a/target/linux/mvebu/image/Makefile
> +++ b/target/linux/mvebu/image/Makefile
> @@ -91,7 +91,7 @@ endef
> 
>  define Device/Default-arm64
>    BOOT_SCRIPT := generic-arm64
> -  DTS_DIR := $(DTS_DIR)/marvell
> +  DEVICE_DTS_DIR := $(DTS_DIR)/marvell
>    IMAGES := sdcard.img.gz
>    IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip |
> append-metadata
>    KERNEL_NAME := Image
> --
> 2.25.0
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list