pc386 BSP install fails: pr743 side-effect ?
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Mon May 23 14:20:08 UTC 2005
Ralf Corsepius wrote:
> 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
> relative paths.
The patch feedback went private.
I moved the install of tod.h to include and fixed the CLEANFILES typo.
My current patch is attached. It seems to work. What do you think?
>>retrieving revision 126.96.36.199
>>diff -p -u -r188.8.131.52 Makefile.am
>>--- Makefile.am 20 Jan 2005 16:54:45 -0000 184.108.40.206
>>+++ Makefile.am 23 May 2005 00:32:45 -0000
>>@@ -2,7 +2,7 @@
>> ## $Id: Makefile.am,v 220.127.116.11 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) $@
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the users