On Tue, Jun 01, 2010 at 09:56:48PM +0200, Remy Bohmer wrote:
> Hi,
> 
> 2010/6/1 Michael Olbrich <[email protected]>:
> > On Tue, Jun 01, 2010 at 09:31:42PM +0200, Remy Bohmer wrote:
> >> Hi,
> >>
> >> 2010/5/31 Michael Olbrich <[email protected]>:
> >> > On Sat, May 29, 2010 at 11:08:43PM +0200, Remy Bohmer wrote:
> >> >> Signed-off-by: Bart vdr. Meulen <[email protected]>
> >> >> Signed-off-by: Remy Bohmer <[email protected]>
> >> >> ---
> >> >>  rules/figlet.make |    3 ++-
> >> >>  1 files changed, 2 insertions(+), 1 deletions(-)
> >> >>
> >> >> diff --git a/rules/figlet.make b/rules/figlet.make
> >> >> index 3d0b018..73ad98e 100644
> >> >> --- a/rules/figlet.make
> >> >> +++ b/rules/figlet.make
> >> >> @@ -38,7 +38,8 @@ $(FIGLET_SOURCE):
> >> >>  # 
> >> >> ----------------------------------------------------------------------------
> >> >>
> >> >>  FIGLET_PATH          := PATH=$(CROSS_PATH)
> >> >> -FIGLET_MAKE_ENV              := $(CROSS_ENV)
> >> >> +FIGLET_MAKE_ENV              := prefix=/usr $(CROSS_ENV)
> >> >> +FIGLET_MAKE_OPT              := prefix=/usr
> >> >
> >> > I think setting prefix in MAKE_OPT should be enough.
> >>
> >> Nope, that is NOT enough. It really has to be set. I will add a
> >> comment to this file explaining it.
> >
> > Hmmm, I compiled it with you settings and with this:
> > FIGLET_MAKE_ENV         := $(CROSS_ENV)
> > FIGLET_MAKE_OPT         := prefix=/usr
> > FIGLET_INSTALL_OPT      := prefix=/usr install
> >
> > The result is exactly the same. Only droping prefix=/usr from
> > FIGLET_MAKE_OPT changes the binary.
> 
> Hmm, I seemed to misread your comment. I read is as 'drop the entire
> line' while now I see you meant: 'just drop the prefix'.
> That would indeed be enough. The CC need to be set in the environment though.

Indeed.

> I will change it.

Please note that FIGLET_PATH can also be droped, ad this is the default.

mol

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to