Go to file
Danomi Manchego f61583fc2e uboot: fix custom patch dir legacy handling
Commit 3e3fef39e7 added new and improved
patch handling, with BR2_TARGET_UBOOT_PATCH.  This was in addition to
the existing BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR option, that only
handled directories.

Later, commit 21b25d28fc moved the old
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR to legacy options.  But on the way,
bad things happened:

* The original option was a string, while the one added to Config.in.legacy
is a bool.  This results in a warning from defconfigs that actually define
the old BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR (because a string is not a valid
value for a bool), but it does not result in the legacy option being
selected.  Consequently, BR2_LEGACY is not selected either.

* The advice at the top of Config.in.legacy to add a hidden WRAP option
to select BR2_LEGACY was not heeded.

* The advice at the top of Config.in.legacy to use the old string
option as the default for the new string option was not heeded.  In
this case, the variable was not just renamed, as the old option
supported directories only, while the new one supports files too.
But since the old option is a subset of the new option, it can still
be used to set a useful default.

So, this mod turns the legacy option back to a string, adds a hidden
bool WRAP option to set BR2_LEGACY when the string is non emoty, and
uses the legacy option to set the default for the new option.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-20 09:33:48 +01:00
arch arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode 2016-12-08 22:32:17 +01:00
board BeagleBoard X15: new board 2016-12-18 23:07:03 +01:00
boot uboot: fix custom patch dir legacy handling 2016-12-20 09:33:48 +01:00
configs BeagleBoard X15: new board 2016-12-18 23:07:03 +01:00
docs docs/website/news.html: add 2016.11 announcement link 2016-12-19 23:48:12 +01:00
fs fs: set packages permissions even with no system device tables 2016-12-14 23:45:48 +01:00
linux linux: check that a repo and version is defined when using a custom repo 2016-12-17 15:55:32 +01:00
package libupnp: add upstream security fix for CVE-2016-8863 2016-12-19 22:28:46 +01:00
support mkusers: fix spelling in intro comment 2016-12-20 09:32:06 +01:00
system system: fix typo 2016-10-13 08:06:11 +02:00
toolchain toolchain: extend musl workaround for recent kernels 2016-12-17 15:26:11 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2016.11 2016-11-30 23:16:22 +01:00
Config.in package/google-breakpad: add C++11 dependency on the host variant 2016-12-19 22:21:31 +01:00
Config.in.legacy uboot: fix custom patch dir legacy handling 2016-12-20 09:33:48 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: add Yegor Yefremov for the can-utils package 2016-12-18 14:11:00 +01:00
Makefile Makefile: move SED definition into the main Makefile 2016-12-06 20:40:10 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches