lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 25 Oct 2017 14:40:48 +0900
From:   Masahiro Yamada <>
To:     Russell King - ARM Linux <>,
        Will Deacon <>,
        Sam Ravnborg <>,
        Michal Marek <>
Cc:     Linux Kbuild mailing list <>,
        Catalin Marinas <>,
        Linux Kernel Mailing List <>,
        Ley Foon Tan <>,,
        linux-arm-kernel <>
Subject: Re: [PATCH] kbuild: fix dependency of dtbs targets


2017-10-10 0:05 GMT+09:00 Russell King - ARM Linux <>:
> On Wed, Oct 04, 2017 at 01:27:20PM +0900, Masahiro Yamada wrote:
>> The target "dtbs" should depend on "scripts" because it needs to
>> build dtc.  The "prepare" target is unneeded here.
> Looks fine for ARM, as the only thing the dtbs should depend on is
> the kernel configuration (to decide which to build) and DT tooling.
> Acked-by: Russell King <>
> --

I found a potential issue on this
because the default DTB install path depends on $(KERNELRELEASE).

In top-level Makefile:

The include/config/kernel.release is created by "prepare3" target.

If the dependency on "parepare" is removed,
it is possible to run "make dtbs" and "make dtbs_install"
without creating include/config/kernel.release.

So, the $(KERNELRELEASE) could be empty when installing DTB.

Maybe, drop this patch, or reduce the dependency to "parepare3"?

Best Regards
Masahiro Yamada

Powered by blists - more mailing lists