aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada2014-02-04 02:24:16 -0600
committerTom Rini2014-02-19 10:07:50 -0600
commit34bd050709bad7d99867057b6e90f43e732f8f80 (patch)
tree6da9bca231b5eba28aa5948e0b005e2d70938371 /config.mk
parentf6322eb7af6a0fafe44f30577c828e175e6c662e (diff)
downloadu-boot-34bd050709bad7d99867057b6e90f43e732f8f80.tar.gz
u-boot-34bd050709bad7d99867057b6e90f43e732f8f80.tar.xz
u-boot-34bd050709bad7d99867057b6e90f43e732f8f80.zip
Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile
BFD_ROOT_DIR is used only in tools/gdb/Makefile Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk23
1 files changed, 0 insertions, 23 deletions
diff --git a/config.mk b/config.mk
index 74617d33b7..dfe81fa10d 100644
--- a/config.mk
+++ b/config.mk
@@ -220,29 +220,6 @@ ifneq ($(CONFIG_SPL_TEXT_BASE),)
220LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE) 220LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE)
221endif 221endif
222 222
223# Location of a usable BFD library, where we define "usable" as
224# "built for ${HOST}, supports ${TARGET}". Sensible values are
225# - When cross-compiling: the root of the cross-environment
226# - Linux/ppc (native): /usr
227# - NetBSD/ppc (native): you lose ... (must extract these from the
228# binutils build directory, plus the native and U-Boot include
229# files don't like each other)
230#
231# So far, this is used only by tools/gdb/Makefile.
232
233ifeq ($(HOSTOS),darwin)
234BFD_ROOT_DIR = /usr/local/tools
235else
236ifeq ($(HOSTARCH),$(ARCH))
237# native
238BFD_ROOT_DIR = /usr
239else
240#BFD_ROOT_DIR = /LinuxPPC/CDK # Linux/i386
241#BFD_ROOT_DIR = /usr/pkg/cross # NetBSD/i386
242BFD_ROOT_DIR = /opt/powerpc
243endif
244endif
245
246######################################################################### 223#########################################################################
247 224
248export CONFIG_SYS_TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS 225export CONFIG_SYS_TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS