[Cbe-oss-dev] [PATCH] libspe2: elfspe2-register installation bug fix
Gerhard Stenzel
gerhard.stenzel at de.ibm.com
Tue Nov 14 21:55:20 EST 2006
> Gerhard Stenzel <gerhard.stenzel at de.ibm.com> wrote:
> > > ===================================================================
> > > --- libspe2-2.0.0.orig/elfspe2/Makefile
> > > +++ libspe2-2.0.0/elfspe2/Makefile
> > > @@ -39,7 +39,7 @@ clean:
> > > install: elfspe2 elfspe2-register
> > > $(INSTALL_DIR) $(ROOT)$(bindir)
> > > $(INSTALL_PROGRAM) elfspe2 $(ROOT)$(bindir)/elfspe2
> > > - $(INSTALL_PROGRAM) scripts/elfspe2-register $(ROOT)
> > > $(bindir)/elfspe2-register
> > > + $(INSTALL_PROGRAM) elfspe2-register
> > $(ROOT)$(bindir)/elfspe2-register
> > I don't understand, why this should be necessary. elspe2-register
lives in
> > the scripts directory.
>
> The elfspe2-register in the elfspe2/scripts directory is just a
> template, and the TRUE elfspe2-register is generated from the template
> and it is saved in the elfspe2 directory.
>
> See the make-rule of 'elfspe2-register' in elfspe2/Makefile.
I never noticed that because I build natively, where the two should be
identical .. but yes you are right.. thanks for spotting this.
More information about the cbe-oss-dev
mailing list