Re: [PATCH] kbuild: use which $(DTC) as a dependency

2023-10-17 Thread Robert Marko
On 17. 10. 2023. 12:44, Richard Marko wrote: If we try to build using external dtc using make DTC=dtc we get a confusing error like make[2]: *** No rule to make target 'arch/x86/dts/bayleybay.dtb', needed by 'dtbs'. Stop. Workaround is to use make DTC=$( which dtc ) Can you please use

[PATCH] kbuild: use which $(DTC) as a dependency

2023-10-17 Thread Richard Marko
If we try to build using external dtc using > make DTC=dtc we get a confusing error like > make[2]: *** No rule to make target 'arch/x86/dts/bayleybay.dtb', > needed by 'dtbs'. Stop. Workaround is to use > make DTC=$( which dtc ) which gives make a full path, so the dependency is satisfied.

Re: [PATCH] kbuild: use which $(DTC) as a dependency

2023-10-17 Thread sorki
On 10/17/23 13:27, Rasmus Villemoes wrote: On 17/10/2023 12.44, Richard Marko wrote: If we try to build using external dtc using make DTC=dtc we get a confusing error like make[2]: *** No rule to make target 'arch/x86/dts/bayleybay.dtb', needed by 'dtbs'. Stop. Workaround is to use make

Re: [PATCH] kbuild: use which $(DTC) as a dependency

2023-10-17 Thread Rasmus Villemoes
On 17/10/2023 12.44, Richard Marko wrote: > If we try to build using external dtc using > >> make DTC=dtc > > we get a confusing error like > >> make[2]: *** No rule to make target 'arch/x86/dts/bayleybay.dtb', >> needed by 'dtbs'. Stop. > > Workaround is to use > >> make DTC=$( which dtc ) >