pc386 BSP install fails: pr743 side-effect ?
ralf.corsepius at rtems.org
Mon May 23 05:46:19 UTC 2005
On Mon, 2005-05-23 at 10:56 +1000, Chris Johns wrote:
> Joel Sherrill <joel at OARcorp.com> wrote:
> > Looks like a typo. Try this patch and let us know.
> That patch did not work but this one does. Ralf, is this ok to commit to
> the rtrems-4-6-branch ?
No. Using the gnumake proprietary vpath and %.c rules is never correct.
This bugs is known (at least to me) since the earliest days of 4.6, and
has been fixed a long time ago on 4.7. I haven't tried to fix it in 4.6
and will not fix it there, because to me, 4.6 is dead and not worth to
look into it again.
You'll have to adjust VPATH to pickup the correct file or to use
> Index: Makefile.am
> RCS file:
> retrieving revision 22.214.171.124
> diff -p -u -r126.96.36.199 Makefile.am
> --- Makefile.am 20 Jan 2005 16:54:45 -0000 188.8.131.52
> +++ Makefile.am 23 May 2005 00:32:45 -0000
> @@ -2,7 +2,7 @@
> ## $Id: Makefile.am,v 184.108.40.206 2005/01/20 16:54:45 joel Exp $
> -VPATH = @srcdir@:@srcdir@/../../shared/tod:@srcdir@/../../../shared
> +vpath %.c @srcdir@:@srcdir@/../../shared/tod:@srcdir@/../../../shared
> PGM = $(ARCH)/clock.rel
> @@ -13,7 +13,7 @@ include_HEADERS = tod.h
> tod.h: $(top_srcdir)/../../shared/tod.h
> cp $< $@
> -CLEANFILES = tod
> +CLEANFILES = tod.h
> $(mkinstalldirs) $@
More information about the users