[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 16:11:26 +0200 |
User-agent: |
KMail/1.8.2 |
On Saturday 29 July 2006 15:35, Jeff Bailey wrote:
> Hi! I started working on the port to hppa-ipl and have run into three
> things:
Amazing. ;)
> 1) Dependancy generation seems to skip out on files that don't exist.
> This means that in the Makefile, hello.c doesn't wind up depending on
> grub_script.tab.h. "make grub_script.tab.h" works fine, and then the
> build can proceed. Current ports work around this by defining _HEADERS
> lines, apparently, but this dependancy should probalby be explicitely
> declared somewhere, or this file should be forcibly generated.
Why does hello.c depend on grub_script.tab.h? AFAIK, only normal/lexer.c
depends on grub_script.tab.h, and the dependency is automatically generated
in my environment.
> 2) When hacking on the build env, how do I force things to be
> regenerated? When I do "make conf/hppa-ipl.mk", 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.
> 3) The files for grub-emu and others seems to be copied into each file
> in conf. Should these be refactored out into common.mk? It seems a
> waste for me to just copy them into hppa-ipl for yet another time.
Well, the original idea I had was that it could be possible to implement
grub-emu differently among architectures. Currently we only emulate PC. I
cannot tell you if this is a good thing. As grub-emu does not use much in
i386- or PC-specific code, this might be sufficient. If so, it is a good idea
to share the same config in common.rmk.
Okuji