Re: [patch 11/18] kconfig CROSS_COMPILE option

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

 



> Another approach would be to ask kbuild for
> this information so we do not expose various filenames to the
> outer world.

For shell scripts and makefiles, running a command like make and retrieving
its output via pipe is de rigueur.  But for some other programs it might be
substantially less hassle to just read plain files.  That's what I was
thinking, anyway.  (I only really think that $ARCH is something that anyone
would want to fetch before they'd run make anyway, and I guess $SUBARCH in
the case of ARCH=um, but not $CROSS_COMPILE.)

> This is analogous to the way we ask for
> kernelrelease and kernelversion these days.

Except that include/config/kernel.release is there for all to see (when
referring to /lib/modules/.../build directory, e.g.), so perhaps some
people are in fact using that.


Thanks,
Roland
--
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