|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Cross compiliation & make installHello
Make install is giving me a hard time. I am cross compiling LTP for a product whose build system creates a flashable image from a staging area. The staging area is basically the directory structure of the root file system of the target device. Now, I need to install LTP to this staging area instead of something like /usr or /opt, but calling DESTDIR=$PATH_TO_STAGE make install or make install DESTDIR=$PATH_TO_STAGE doesn't seem to override the default behavior. Does anyone have a suggestion for how to deal with this? I'm quite willing to rework all of the LTP makefiles to enable the behavior I want, but I suppose there might be other issues as well? Is there anything I should be extra careful about? BR / Klas ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list Ltp-list@... https://lists.sourceforge.net/lists/listinfo/ltp-list |
|
|
Re: Cross compiliation & make installOn Thu, 2008-07-03 at 11:06 +0200, Klas Lindberg wrote:
> Hello > > Make install is giving me a hard time. I am cross compiling LTP for a > product whose build system creates a flashable image from a staging > area. The staging area is basically the directory structure of the > root file system of the target device. > Now, I need to install LTP to this staging area instead of something > like /usr or /opt, but calling > > DESTDIR=$PATH_TO_STAGE make install > > or > > make install DESTDIR=$PATH_TO_STAGE > Garrett is already working on this. And he has already submitted 2 very big patches for this. Nate is reviewing his patches. So, you can see his patch and find out whether it satisfies your requirement, you can even write to him and discuss out. > doesn't seem to override the default behavior. Does anyone have a > suggestion for how to deal with this? I'm quite willing to rework all > of the LTP makefiles to enable the behavior I want, but I suppose Are you sure ? It involves more than some odd 700 files to modify. I think it can be a great help to Garrett as well. Regards-- Subrata > there might be other issues as well? Is there anything I should be > extra careful about? > > BR / Klas > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Ltp-list mailing list > Ltp-list@... > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list Ltp-list@... https://lists.sourceforge.net/lists/listinfo/ltp-list |
|
|
Re: Cross compiliation & make install> Garrett is already working on this. And he has already submitted 2 very
> big patches for this. Nate is reviewing his patches. So, you can see his > patch and find out whether it satisfies your requirement, you can even > write to him and discuss out. That's great! How do I find them? >> doesn't seem to override the default behavior. Does anyone have a >> suggestion for how to deal with this? I'm quite willing to rework all >> of the LTP makefiles to enable the behavior I want, but I suppose > > Are you sure ? It involves more than some odd 700 files to modify. I > think it can be a great help to Garrett as well. I'm quite sure. Of course LTP is completely new to me and I don't know my way around the source tree, but I could at least start by testing Garrett's patches. /Klas ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list Ltp-list@... https://lists.sourceforge.net/lists/listinfo/ltp-list |
|
|
Re: Cross compiliation & make installOn Thu, Jul 3, 2008 at 3:48 PM, Klas Lindberg <klas.lindberg@...> wrote:
He will find you out ;-) He is in the CC. Regards-- Subrata
-- Regards & Thanks-- Subrata ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list Ltp-list@... https://lists.sourceforge.net/lists/listinfo/ltp-list |
|
|
Re: Cross compiliation & make installOn Thu, Jul 3, 2008 at 3:35 AM, Subrata Modak <tosubrata@...> wrote:
> On Thu, Jul 3, 2008 at 3:48 PM, Klas Lindberg <klas.lindberg@...> > wrote: >> >> > Garrett is already working on this. And he has already submitted 2 very >> > big patches for this. Nate is reviewing his patches. So, you can see his >> > patch and find out whether it satisfies your requirement, you can even >> > write to him and discuss out. >> >> That's great! How do I find them? > > He will find you out ;-) He is in the CC. > > Regards-- > Subrata >> >> >> >> doesn't seem to override the default behavior. Does anyone have a >> >> suggestion for how to deal with this? I'm quite willing to rework all >> >> of the LTP makefiles to enable the behavior I want, but I suppose >> > >> > Are you sure ? It involves more than some odd 700 files to modify. I >> > think it can be a great help to Garrett as well. >> >> I'm quite sure. Of course LTP is completely new to me and I don't know >> my way around the source tree, but I could at least start by testing >> Garrett's patches. >> >> /Klas Hi Klas :), I've been working on other Cisco items for the past couple weeks, but I believe I'm now at a point where I can get back to business on the Makefiles. After being away from it for a couple weeks I should be able to work on it better with a fresher mind. If you want the patch (unfortunately it's based off the April snapshot), I'll toss up the later version your way. I've had some improved ideas in the past couple weeks, and some of the things with the previous patch (in particular, the lib dir traversal), will be changed to follow my tst_res(3) changes made recently. Take care and I'll talk to you later, -Garrett ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ltp-list mailing list Ltp-list@... https://lists.sourceforge.net/lists/listinfo/ltp-list |
| Free Forum Powered by Nabble | Forum Help |