diff options
author | Heiko Schocher <hs@denx.de> | 2008-11-21 08:29:40 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-24 00:39:06 +0100 |
commit | 210c8c00aad3328145204adab434bb7d70b06b75 (patch) | |
tree | e54366427b6e170c4c1a77bc5a24f3bef03a1354 /board/keymile/kmeter1/Makefile | |
parent | de0443614af4d16675ab436665aeb11ddc9f7214 (diff) | |
download | u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.zip u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.tar.gz u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.tar.bz2 |
powerpc: keymile: Add a check for the PIGGY debug board
Check the presence of the PIGGY on the keymile boards mgcoge,
mgsuvd and kmeter1. If the PIGGY is not present, dont register
this Ethernet device.
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/keymile/kmeter1/Makefile')
-rw-r--r-- | board/keymile/kmeter1/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/keymile/kmeter1/Makefile b/board/keymile/kmeter1/Makefile index 88b79f3..12a1518 100644 --- a/board/keymile/kmeter1/Makefile +++ b/board/keymile/kmeter1/Makefile @@ -22,12 +22,14 @@ # include $(TOPDIR)/config.mk +ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../common) +endif LIB = $(obj)lib$(BOARD).a -COBJS-y += $(BOARD).o +COBJS += $(BOARD).o ../common/common.o -COBJS := $(COBJS-y) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) |