- 13 6月, 2016 5 次提交
-
-
由 Masahiro Yamada 提交于
Since commit 25400090 ("moveconfig: Print a message for missing compiler"), this tool parses an error message every time an error occurs during the process in order to detect missing compiler. Instead of that, we can look for compilers in the PATH environment only once before starting the defconfig walk. If a desired compiler is missing, "make include/config/auto.conf" will apparently fail for that architecture. So, the tool can just skip those board, showing "Compiler is missing. Do nothing.". Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Masahiro Yamada 提交于
We must ensure this tool is run from the top of source directory before calling update_cross_compile(). Otherwise, the following exception is thrown: Traceback (most recent call last): File "./moveconfig.py", line 918, in <module> main() File "./moveconfig.py", line 908, in main update_cross_compile() File "./moveconfig.py", line 292, in update_cross_compile for arch in os.listdir('arch'): OSError: [Errno 2] No such file or directory: 'arch' Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Masahiro Yamada 提交于
Nesting by "else:" is not generally useful after such statements as return, break, sys.exit(), etc. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Masahiro Yamada 提交于
Commit 96464bad ("moveconfig: Always run savedefconfig on the moved config") changed how defconfig files were updated. Since then, the function update_defconfig() does not modify defconfig files at all (instead, they are updated by "make savedefconfig"), so update_dotconfig() is a better fit for this function. Also, update the comment block to match the actual behavior. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Masahiro Yamada 提交于
Since commit 96464bad ("moveconfig: Always run savedefconfig on the moved config"), --dry-run option is broken. The --dry-run option prevents the .config from being modified, but defconfig files might be updated by "make savedefconfig" regardless of the --dry-run option. Move the "if not self.options.dry_run" conditional to the correct place. Fixes 96464bad ("moveconfig: Always run savedefconfig on the moved config") Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 06 5月, 2016 1 次提交
-
-
由 Robert P. J. Day 提交于
Spelling corrections for (among other things): * environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI * emulation * controller
-
- 25 2月, 2016 1 次提交
-
-
由 Bin Meng 提交于
Since commit 87da2690 "openrisc: updating build tools naming convention", openrisc kernel.org toolchain is out of date and cannot build U-Boot. Update buildman and moveconfig tools to refer to the new one. Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
-
- 28 9月, 2015 1 次提交
-
-
由 Bin Meng 提交于
Give a full URL for a working nds32 toolchain for U-Boot. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 27 5月, 2015 10 次提交
-
-
由 Joe Hershberger 提交于
This gives a basic idea about progress. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
In some cases the build for the autoconf breaks. This outputs the errors following the status so that action can be taken without building again manually. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
A common case for failed builds is a missing compiler. Print a message for that case to tell the user concisely which compiler was expected that was not found. This patch also has the effect of not printing build errors any longer. The next patch will add a switch to optionally bring that back. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
If boards fail, output that list to a file so that it can easily be passed back into moveconfig.py using the -d option. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
Some config.h files live in arch and board directories. They will need to be cleaned up as well, so run the same filters there. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
In some case you may want to only cleanup the headers. Make it possible without waiting for all boards to compile. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
This is helpful to re-attempt to move failed boards from a previous run without starting over. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
When moving configs, it is important to know what was defined in the config header even if it duplicates the configs coming from Kconfig. This is specifically needed for the case where a config is set to default 'y' in the Kconfig. This would previously cause the actual value from the include config to be filtered out, and moveconfig.py would think that it was 'n'... This means that the value that should be 'y' is now (in every defconfig) set to 'not set'. tools/moveconfig.py now defines KCONFIG_IGNORE_DUPLICATES to prevent the filtering from happening and selecting wrong values for the defconfig. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Joe Hershberger 提交于
This will ensure that the order of the defconfig entries will always match that of the Kconfig files. After one slightly painful (but still early in the process) pass over all boards, this should keep the defconfigs clean from here on. Users must edit the Kconfig first to add the menu entries and then run moveconfig.py to update the defconfig files and the include configs. As such, moveconfig.py cannot compare against the '.config' contents. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was http://patchwork.ozlabs.org/patch/430422/ Main updates are: - Adapted to the single .config configuration - Support colored log - Support moving multiple options at once (and take configs via input file only) - Continue even if some boards fail (Idea provided by Joe Hershberger) - Add more options - More comments and code cleanups Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-