0732b2f9 | 23-Oct-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: invoke silentoldconfig if spl, tpl/.config is updated
When spl/.config is updated by "make spl/menuconfig" or friends, spl/include/config/auto.conf, spl/include/generated/autoconf.h and som
kconfig: invoke silentoldconfig if spl, tpl/.config is updated
When spl/.config is updated by "make spl/menuconfig" or friends, spl/include/config/auto.conf, spl/include/generated/autoconf.h and some other files must be updated by "make silentoldconfig".
There is no hook for SPL in the top Makefile, so this commit touches .config when spl/.config is updated to invoke silentoldconfig. Likewise for TPL.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
703a08f2 | 01-Oct-2014 |
York Sun <yorksun@freescale.com> |
scripts/multiconfig.sh: Fix a typo
Fix the spelling of "configs".
Signed-off-by: York Sun <yorksun@freescale.com> CC: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Masahiro Yamada <yamada.m
scripts/multiconfig.sh: Fix a typo
Fix the spelling of "configs".
Signed-off-by: York Sun <yorksun@freescale.com> CC: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
11b5db67 | 10-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: add sanity checks for SPL configuration
For the SPL configuration, "make <dir>/<target>" is used. Here, <dir> is either "spl" or "tpl" <target> is one of "config", "menuconfig", "xconfi
kconfig: add sanity checks for SPL configuration
For the SPL configuration, "make <dir>/<target>" is used. Here, <dir> is either "spl" or "tpl" <target> is one of "config", "menuconfig", "xconfig", etc.
This commit adds two checks:
[1] If <dir> is given an unsupported subimage, the configuration should error out like this:
$ make qpl/menuconfig *** *** "make qpl/menuconfig" is not supported. ***
[2] Make sure that "CONFIG_SPL" is enabled in the ".config" before running "make spl/menuconfig. Otherwise, the SPL image is not built at all. Having "spl/.config" makes no sense. In such a case, the configuration should exit with a message:
$ make spl/menuconfig *** *** Create ".config" with "CONFIG_SPL" enabled *** before "make spl/menuconfig". ***
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Suggested-by: Simon Glass <sjg@chromium.org>
show more ...
|
021f0495 | 04-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
This commit is a backport from Linux Kernel, commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, written by me.
Signed-off-by: Masahiro Yama
scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
This commit is a backport from Linux Kernel, commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, written by me.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
8caaec62 | 04-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: show an error message when defconfig is not found
When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel):
$ make foo_d
kconfig: show an error message when defconfig is not found
When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel):
$ make foo_defconfig *** *** Can't find default configuration "confis/foo_defconfig"! ***
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
dee745bf | 03-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: fix savedefconfig to handle TPL correctly
Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), "make savedefconfig" of TPL boards has
kconfig: fix savedefconfig to handle TPL correctly
Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), "make savedefconfig" of TPL boards has not been working.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.o.rg Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
8dffe663 | 03-Sep-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: fix whitespace handling bug of savedefconfig
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced another regression.
She
kconfig: fix whitespace handling bug of savedefconfig
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced another regression.
Shell usually handles whitespaces as separators, so "make saveconfig" outputs
# CONFIG_FOO is not set
into:
# CONFIG_FOO is not set
Whitespaces should not be treated as separators here.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
3ff291f3 | 20-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kconfig: convert Kconfig helper script into a shell script
Commit 51148790 added scripts/multiconfig.py written in Python 2 to adjust Kconfig for U-Boot.
It has been hard for Python 3 users because
kconfig: convert Kconfig helper script into a shell script
Commit 51148790 added scripts/multiconfig.py written in Python 2 to adjust Kconfig for U-Boot.
It has been hard for Python 3 users because Python 2 and Python 3 are not compatible with each other.
We are not happy about adding a new host tool dependency (in this case, Python version dependency) for the core build process. After some discussion, we decided to use only basic tools.
The script may get a bit more unreadable by shell scripting, but we believe it is worthwhile.
In addition, this commit revives "<board>_config" target that is equivalent to "<board>_defconfig" for backwards compatibility. It is annoying to adjust various projects which use U-Boot.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Suggested-by: Igor Grinberg <grinberg@compulab.co.il> Tested-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com> Cc: Jeroen Hofstee <jeroen@myspectrum.nl> Cc: Stephen Warren <swarren@nvidia.com>
show more ...
|
9b586031 | 05-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
scripts: objdiff: sync with Linux 3.16
Import scripts/objdiff improvements from Linux v3.16, which consists of 7 commits written by me.
commit 7fa0e6db3cedc9b70d68a4170f1352e2b1aa0f90 scripts:
scripts: objdiff: sync with Linux 3.16
Import scripts/objdiff improvements from Linux v3.16, which consists of 7 commits written by me.
commit 7fa0e6db3cedc9b70d68a4170f1352e2b1aa0f90 scripts: objdiff: support directories for the augument of record command
commit 8ac28bee76eec006aac5ba5c418878a607d53a9b scripts: objdiff: fix a comment
commit 8b5d0f20d64f00ffd5685879f8eb3659379f5aaa scripts: objdiff: change the extension of disassembly from .o to .dis
commit 18165efa8203a34d82f60a1831ea290e7304c654 scripts: objdiff: improve path flexibility for record command
commit 1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c scripts: objdiff: remove unnecessary code
commit 5ab370e91af70d5f1b1dbaec78798a2ff236a2d5 scripts: objdiff: direct error messages to stderr
commit fd6e12423311697860f30d10398a0f9eb91977d2 scripts: objdiff: get the path to .tmp_objdiff more simply
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
e7734404 | 05-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kbuild: sync mixed targets handling with Linux 3.16
"make %_config all" was supported for the first time in U-Boot: commit 53bca5ab kbuild: support simultaneous board configuration and "make all
kbuild: sync mixed targets handling with Linux 3.16
"make %_config all" was supported for the first time in U-Boot: commit 53bca5ab kbuild: support simultaneous board configuration and "make all"
Surprisingly it had not been working in Linux Kernel for a long time.
So I sent back the patch to the Linux Kbuild community and it was accepted with a little code improvement, at commit 9319f453.
Now, you can do "make defconfig all" or "make %_defconfig all" in Linux too.
This commit updates some scripts to fill the code-diff between Linux and U-Boot.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
6419e144 | 05-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kbuild: move extra gcc checks to scripts/Makefile.extrawarn
This commit was imported from Linux Kernel: commit a86fe353 written by me.
W=... provides extra gcc checks.
Having such code in scripts/
kbuild: move extra gcc checks to scripts/Makefile.extrawarn
This commit was imported from Linux Kernel: commit a86fe353 written by me.
W=... provides extra gcc checks.
Having such code in scripts/Makefile.build results in the same flags being added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build is invoked every time Kbuild descends into the subdirectories.
Since the top Makefile is already too cluttered, this commit moves all of extra gcc check stuff to a new file scripts/Makefile.extrawarn, which is included from the top Makefile.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
ee360cd2 | 31-Jul-2014 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
get_maintainer.pl: adapt to U-Boot tree
Switch core maintainer to Tom Rini. Adapt directory layout for git tree detection.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by:
get_maintainer.pl: adapt to U-Boot tree
Switch core maintainer to Tom Rini. Adapt directory layout for git tree detection.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
show more ...
|