Fail to build Linux with O= in master

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

 



Hello,

I have tried to build the latest master and got the following error:

42sh> make O=~/works/linux-build/aarch64-4k -C ~/works/linux                                                                                                     
make: Entering directory '/home/julgra01/works/linux'
Makefile:135: *** failed to create output directory "~/works/linux-build/aarch64-4k".  Stop.
make: Leaving directory '/home/julgra01/works/linux'

The bisector found the commit 8e9b466 "kbuild: use $(abspath ...)
instead of $(shell cd ... && /bin/pwd)".

Looking at the code, it seems that it is because the code is
now using $(realpath ...). Indeed when I replace ~ by $HOME
the kernel is now built.

I am not a Makefile expert, so I would appreciate if anyone
could suggest a patch for this.

Regards,

-- 
Julien Grall
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux