summaryrefslogtreecommitdiff
path: root/include/configs/NETPHONE.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:15 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:07:50 -0500
commitf6322eb7af6a0fafe44f30577c828e175e6c662e (patch)
treee83c811ce29ef306ba9f3e6f84ca21136c749b28 /include/configs/NETPHONE.h
parent5651ccffa4aa8ac36961f376927df253b7d0c035 (diff)
downloadu-boot-imx-f6322eb7af6a0fafe44f30577c828e175e6c662e.zip
u-boot-imx-f6322eb7af6a0fafe44f30577c828e175e6c662e.tar.gz
u-boot-imx-f6322eb7af6a0fafe44f30577c828e175e6c662e.tar.bz2
Makefile: move some variable definitions to the top Makefile
This commit moves some variable definitions from config.mk to the top Makefile: - HOSTCC, HOSTCFLAGS, HOSTLDFLAGS - AS, LD, CC, CPP, etc. - SHELL (renamed to CONFIG_SHELL) I'd like to slim down config.mk file because it is included from all recursive make. It is redundant to re-define the variables every time descending into sub directories. We should rather define them at the top Makefile and export them. U-Boot makefiles has been used "SHELL" variable to store shell chosen for the user, whereas Linux Kernel uses "CONFIG_SHELL". We should never use "SHELL" variable because it is a special variable for GNU Make. Changing SHELL may cause unpredictable side effects whose root cause is usually difficult to find. We should use a generic variable name "CONFIG_SHELL". We should not use the syntax as follows either: rm -f $(obj)tools/env/{fw_printenv,fw_setenv} This depends on "bash" although GNU Make generally invokes "sh" to run the each rule. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/configs/NETPHONE.h')
0 files changed, 0 insertions, 0 deletions