Re: [PATCH 1/1] kbuild: use $(srctree) to locate config headers from external modules

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

 



On Mon, Aug 04, 2014 at 04:10:20PM +0200, Michal Marek wrote:
> include/generated is located in $(KBUILD_OUTPUT), which is different
> from $(srctree) when using O=. Can you post a sequence of commands that
> leads to the error you are seeing?
> 
> Thanks,
> Michal

Well, I was attempting to do something like this:

$ make -C $KDIR M=$PWD modules
$ make -C $KDIR M=$PWD O=$pkgdir modules_install

... but I your statement just made the problem really obvious: I don't
need to be using O= at all in this case.  Duh.

$ make -C $KDIR M=$PWD modules
$ make -C $KDIR M=$PWD INSTALL_MOD_PATH=$pkgdir modules_install

works as expected, and the only patch needed was to my brain. :)  Mea
culpa.

*dp

--
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