Commit 1e63878b authored by Tom Rini's avatar Tom Rini Committed by Paul Mackerras

PPC32: Fix dependancies in arch/ppc/boot.

After talking with Kai Germaschewski, add EXTRA_TARGETS := (...objs...)
so that we can use the generated dependancies.
parent da0514bd
......@@ -11,7 +11,11 @@ LD_ARGS = -T ../ld.script -Ttext 0x00400000
OBJS = ../common/crt0.o start.o main.o misc.o ../common/string.o image.o \
../common/ofcommon.o
EXTRA_TARGETS := $(OBJS)
LIBS = $(TOPDIR)/lib/lib.a ../lib/zlib.a
# Utils
ADDNOTE = ../utils/addnote
PIGGYBACK = ../utils/piggyback
......
......@@ -15,6 +15,8 @@ CHRP_LD_ARGS = -T ../ld.script -Ttext 0x01000000
COMMONOBJS = start.o misc.o ../common/string.o ../common/ofcommon.o
COFFOBJS = ../common/coffcrt0.o $(COMMONOBJS) coffmain.o
CHRPOBJS = ../common/crt0.o $(COMMONOBJS) chrpmain.o
EXTRA_TARGETS := $(COFFOBJS) $(CHRPOBJS)
LIBS = $(TOPDIR)/lib/lib.a ../lib/zlib.a
MKNOTE := ../utils/mknote
......
......@@ -30,6 +30,8 @@ LIBS = ../lib/zlib.a
boot-$(CONFIG_SERIAL_CONSOLE) += ../common/ns16550.o
boot-$(CONFIG_VGA_CONSOLE) += vreset.o kbd.o
EXTRA_TARGETS := $(boot-y)
# Tools
MKPREP := ../utils/mkprep
SIZE := ../utils/size
......
......@@ -140,6 +140,7 @@ boot-$(CONFIG_GT64260_CONSOLE) += gt64260_tty.o
boot-$(CONFIG_SERIAL) += ../common/ns16550.o
endif
EXTRA_TARGETS := $(boot-y)
LIBS := ../lib/zlib.a
# Tools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment