[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: porting to hppa-ipl

From: Yoshinori K. Okuji
Subject: Re: porting to hppa-ipl
Date: Sun, 30 Jul 2006 18:06:15 +0200
User-agent: KMail/1.8.2

On Sunday 30 July 2006 16:31, Jeff Bailey wrote:
> One of the nice things, though, is that I have the support of the folks
> who wrote palo.

Great. :)

> According to GCC:
> gcc -Ihello -I./hello -I. -Iinclude -I./include -Wall -W -Wall -W -Wshadow
> -Wpointer-arith -Wmissing-prototypes                  -Wundef
> -Wstrict-prototypes -g -Os -fno-builtin  -c -o hello_mod-hello_hello.o
> hello/hello.c In file included from include/grub/normal.h:28,
>                  from hello/hello.c:27:
> include/grub/script.h:27:29: error: No such file or
> directory

Right. But I have this dependency generated automatically as well:

hello_mod-hello_hello.d : ../hello/hello.c ../include/grub/types.h config.h \
  include/grub/cpu/types.h ../include/grub/misc.h \
  /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/include/stdarg.h \
  ../include/grub/symbol.h ../include/grub/err.h ../include/grub/mm.h \
  ../include/grub/dl.h ../include/grub/normal.h ../include/grub/setjmp.h \
  include/grub/cpu/setjmp.h ../include/grub/arg.h \
  ../include/grub/script.h ../include/grub/parser.h

So the question is why you don't have it. Please look at the content of 

> > > 2) When hacking on the build env, how do I force things to be
> > > regenerated?  When I do "make conf/", it doesn't generate
> > > the file for me.
> >
> > Isn't it normal in make??? When I play with make, I do "rm -f FILE; make
> > FILE". I don't know anything else more elegant.
> Right it is normal in make, which is why I was surprised it didn't work:
> address@hidden:~/Programming/cvstree/grub2/conf$ rm
> address@hidden:~/Programming/cvstree/grub2/conf$ cd ..
> address@hidden:~/Programming/cvstree/grub2$ make conf/
> Makefile:105: conf/ No such file or directory
> make: *** No rule to make target `conf/'.  Stop.
> address@hidden:~/Programming/cvstree/grub2$ cd conf
> address@hidden:~/Programming/cvstree/grub2/conf$ make
> make: *** No rule to make target `'.  Stop.
> address@hidden:~/Programming/cvstree/grub2/conf$ ls hppa-ipl.rmk
> hppa-ipl.rmk
> address@hidden:~/Programming/cvstree/grub2/conf$

Since it works for me, all I can say is "I don't know". Have you added 
hppa-ipl.rmk into RMKFILES in


reply via email to

[Prev in Thread] Current Thread [Next in Thread]