Re: linux-next: build failure after merge of the kbuild tree

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

 



Hi,

On Fri, 9 Sep 2022 15:48:55 +0900 Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> > $ make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../obj -j15 -O
> > make[1]: Entering directory '/home/sfr/kernels/obj'
> >   GEN     Makefile
> > make[1]: Leaving directory '/home/sfr/kernels/obj'
> > make[1]: Entering directory '/home/sfr/kernels/obj'
> >   UPD     include/generated/compile.h
> > make[1]: Leaving directory '/home/sfr/kernels/obj'  
> 
> 
> Weird 'Entering/Leaving directory' logs.

That is because I pass -O to make.

Without -O, I get:

$ make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../obj -j15
make[1]: Entering directory '/home/sfr/kernels/obj'
  GEN     Makefile
  DESCEND objtool
make[2]: *** No rule to make target 'objtool/objtool'.  Stop.
make[1]: *** [/home/sfr/kernels/test/Makefile:1351: tools/objtool/objtool] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/sfr/kernels/obj'
make: *** [Makefile:222: __sub-make] Error 2

-- 
Cheers,
Stephen Rothwell

Attachment: pgpTIxh38cFkh.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux