diff options
author | Masahiro Yamada | 2014-02-04 02:24:16 -0600 |
---|---|---|
committer | Tom Rini | 2014-02-19 10:07:50 -0600 |
commit | 34bd050709bad7d99867057b6e90f43e732f8f80 (patch) | |
tree | 6da9bca231b5eba28aa5948e0b005e2d70938371 /config.mk | |
parent | f6322eb7af6a0fafe44f30577c828e175e6c662e (diff) | |
download | u-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.mk | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -220,29 +220,6 @@ ifneq ($(CONFIG_SPL_TEXT_BASE),) | |||
220 | LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE) | 220 | LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE) |
221 | endif | 221 | endif |
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 | |||
233 | ifeq ($(HOSTOS),darwin) | ||
234 | BFD_ROOT_DIR = /usr/local/tools | ||
235 | else | ||
236 | ifeq ($(HOSTARCH),$(ARCH)) | ||
237 | # native | ||
238 | BFD_ROOT_DIR = /usr | ||
239 | else | ||
240 | #BFD_ROOT_DIR = /LinuxPPC/CDK # Linux/i386 | ||
241 | #BFD_ROOT_DIR = /usr/pkg/cross # NetBSD/i386 | ||
242 | BFD_ROOT_DIR = /opt/powerpc | ||
243 | endif | ||
244 | endif | ||
245 | |||
246 | ######################################################################### | 223 | ######################################################################### |
247 | 224 | ||
248 | export CONFIG_SYS_TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS | 225 | export CONFIG_SYS_TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS AFLAGS |