]> www.infradead.org Git - users/dwmw2/linux.git/commit
kbuild: rpm-pkg: avoid the warnings with dtb's listed twice
authorJose Ignacio Tornos Martinez <jtornosm@redhat.com>
Thu, 11 Jul 2024 16:49:19 +0000 (18:49 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 14 Jul 2024 18:13:32 +0000 (03:13 +0900)
commite3286434d220efb9a8b78f7241a5667974d2ec80
tree83d6e09d2b3af3822db771571cb5dc4f80e1cb8e
parent9852f47ac7c993990317570ff125e30ad901e213
kbuild: rpm-pkg: avoid the warnings with dtb's listed twice

After 8d1001f7bdd0 (kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n),
the following warning "warning: File listed twice: *.dtb" is appearing for
every dtb file that is included.
The reason is that the commented commit already adds the folder
/lib/modules/%{KERNELRELEASE} in kernel.list file so the folder
/lib/modules/%{KERNELRELEASE}/dtb is no longer necessary, just remove it.

Fixes: 8d1001f7bdd0 ("kbuild: rpm-pkg: fix build error with CONFIG_MODULES=n")
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/kernel.spec