On 10/29/2016 09:38 AM, Brian Mayer wrote: > Hello all, > > While trying to build LFS in a non standard hierarchy I faced the problem > of having to tweak variables so programs can compile OK, however those > makefiles have directories explicitly written in the code. Therefore I have > to edit those makefiles and put the correct path so the makefile can find > /dev/null and /bin/sh for example. > > Hence my question is: Won't it be good if we could parse those variables to > makefiles or configure script, e.g. DEVDIR=/path/to/dev/ make, so they > could compile correctly? > > This way we would be able to build custom systems easily, without the use > of symlinks or having to edit makefiles, and if we wish to comply with FHS > it will be easy the same way. > > Thanks. > > Sent from my iPad > _______________________________________________ > lsb-discuss mailing list > [email protected] > https://lists.linuxfoundation.org/mailman/listinfo/lsb-discuss >
Not sure what you are asking or proposing here. Well constructed projects typically have ways to relocate paths with makefile variables like BINDIR, DESTDIR, etc. Projects that don't do that are not as flexible. For cross compiling the situation is typically even more complex. _______________________________________________ lsb-discuss mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/lsb-discuss
