[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZW21Yu73Uan+HcbL@buildd.core.avm.de>
Date: Mon, 4 Dec 2023 12:17:54 +0100
From: Nicolas Schier <n.schier@....de>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: determine base DTB by suffix
On Sun, Dec 03, 2023 at 05:05:48PM +0900, Masahiro Yamada wrote:
> When using the -dtbs syntax, you need to ensure to list the base first,
> as follows:
>
> foo-dtbs := foo_base.dtb foo_overlay1.dtbo foo_overlay2.dtbo
> dtb-y := foo.dtb
>
> You cannot do this arrangement:
>
> foo-dtbs := foo_overlay1.dtbo foo_overlay2.dtbo foo_base.dtb
>
> This restriction comes from $(firstword ...), but it is unneeded to
> rely on the order in the -dtbs syntax.
>
> Instead, you can simply determine the base by suffix because the
> base (*.dtb) and overlays (*.dtbo) use different suffixes.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
Thanks, looks good to me.
Reviewed-by: Nicolas Schier <nicolas@...sle.eu>
Powered by blists - more mailing lists