Re: which "make" target simply builds the scripts/dtc/dtc executable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 14 Mar 2020, Stefan Wahren wrote:

> Hi,
>
> Am 13.03.20 um 19:13 schrieb rpjday@xxxxxxxxxxxxxx:
> >   colleague has a kernel-compile infrastructure which builds the
> > kernel just fine, but croaks trying to compile .dts files, complaining
> > that there is no "./scripts/dtc/dtc" file.
> >
> >   ok, so that sounds like whatever it is that compiles dtc.c (and
> > friends) into dtc is being omitted. i just want to test whatever
> > make target would normally compile that, but i'm having trouble
> > figuring which make processing does that.
> >
> >   is there a top-level target that wanders into scripts/dtc, and
> > compiles that?
>
> for a ARM target you could try to (PowerPC or MIPS should work too)
>
> export ARCH=arm
> make mxs_defconfig # random arm defconfig
> make dtbs
>
> this should build the devicetree compiler and the devicetree sources,
> but AFAIK newer kernel versions uses the dtc from the Host system. So
> it's possible that the dtc is omitted.

  ah, i had completely missed that newer kernels use the host dtc.

rday
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux