diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-10-07 22:32:48 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-13 21:44:10 +0200 |
commit | 4bbfd3e279d70afc89456048e024e6b923c9d325 (patch) | |
tree | 3995c144e705240696eafbac512f093847e515dc /arch/powerpc/lib | |
parent | 812493ad872a56c81a20232a7e89be11ec388c87 (diff) | |
download | u-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.zip u-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.tar.gz u-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.tar.bz2 |
ppc: Conditionally compile bat_rw.c
Only a few PPC boards actually use the common BAT manipulation
functions, so only compile it for them.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 2065b6d..cec7666 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile @@ -30,7 +30,7 @@ SOBJS-y += ppcstring.o SOBJS-y += ticks.o SOBJS-y += reloc.o -COBJS-y += bat_rw.o +COBJS-$(CONFIG_BAT_RW) += bat_rw.o COBJS-y += board.o COBJS-y += bootm.o COBJS-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount.o |