rv1126-uboot/scripts
Masahiro Yamada ec821af4a7 UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary
Currently, pylibfdt is always compiled if swig is installed on your
machine.  It is really annoying because most of targets (excepts
x86, sunxi, rockchip) do not use dtoc or binman.

"checkbinman" and "checkdtoc" are wrong.  It is odd that the final
build stage checks if we have built necessary tools.  If your platform
depends on dtoc/binman, you must be able to build pylibfdt.  If swig
is not installed, it should fail immediately.

I added PYLIBFDT, DTOC, BINMAN entries to Kconfig.  They should be
property select:ed by platforms that need them.  Kbuild will descend
into scripts/dtc/pylibfdt/ only when CONFIG_PYLIBFDT is enabled.

Change-Id: I56c5daf252e28d23fcaea0bc2d327a34de60cdcf
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit d6a0c78a4efb1353f4ec6f6c59c0771298510f58)
2018-01-17 15:27:28 +08:00
..
basic UPSTREAM: fixdep: fix dependency on options surrounded by CONFIG_VAL() 2018-01-17 15:27:28 +08:00
coccinelle/net
dtc UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
kconfig
.gitignore
Kbuild.include UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Lindent
Makefile UPSTREAM: dtc: Switch to building and using our own dtc unless provided 2018-01-16 18:16:48 +08:00
Makefile.autoconf
Makefile.build
Makefile.clean
Makefile.extrawarn UPSTREAM: scripts/dtc: Update to upstream version v1.4.3 2018-01-16 18:16:48 +08:00
Makefile.host
Makefile.lib UPSTREAM: kbuild: fix dependency of DT build 2018-01-17 15:27:28 +08:00
Makefile.spl UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
Makefile.uncmd_spl
bin2c.c
binutils-version.sh
build-whitelist.sh
check-config.sh
checkpatch.pl UPSTREAM: checkpatch: Support wide strings 2018-01-17 15:27:28 +08:00
checkstack.pl
cleanpatch
config_whitelist.txt UPSTREAM: Drop CONFIG_HAS_DATAFLASH 2018-01-17 15:27:28 +08:00
const_structs.checkpatch
coreboot.sed
docproc.c
dtc-version.sh UPSTREAM: Makefile: Update minimum dtc version to 1.4.3 2018-01-16 18:16:48 +08:00
fill_scrapyard.py
gcc-stack-usage.sh
gcc-version.sh
get_default_envs.sh
get_maintainer.pl UPSTREAM: scripts/get_maintainer.pl: enable find_maintainer_files 2018-01-17 15:27:28 +08:00
kernel-doc
ld-version.sh
mailmapper
mkmakefile
objdiff
setlocalversion
show-gnu-make