missing deps in arch/ppc64/boot

Sam Ravnborg sam at ravnborg.org
Sun May 8 17:32:20 EST 2005


>
> Sam,
>
> touching arch/ppc64/boot/zlib.h will not cause a rebuild of
> arch/ppc64/boot/zlib.o. Any ideas what is missing?

Browsing the Makefile it looks like none of the targets derived from
src-boot are assingen to "targets".
You need to tell kbuild which targets exits in a given directory, this
is done by assigned the .o name to targets.

Something like this:

src-boot := crt0.S string.S prom.c main.c zlib.c imagesize.c div64.S
targets  += $(addsuffix .o, $(basename $(src-boot)))

src-boot := $(addprefix $(obj)/, $(src-boot))
obj-boot := $(addsuffix .o, $(basename $(src-boot)))

Let me know if this cures it.

   Sam




More information about the Linuxppc64-dev mailing list