diff options
author | Roland Hieber <rhi@pengutronix.de> | 2019-06-05 20:52:07 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-06-05 21:07:22 +0200 |
commit | f4e6877164ebe9f2cc95c0e14018a6395100c397 (patch) | |
tree | 7e1616e1d660116a69f7ace23bbe8e7a5fc64537 /configs/platform-v7a/platforms | |
parent | 47b12b0b711f7a19e1ca399d1fa26a5114e19e4e (diff) | |
download | DistroKit-f4e6877164ebe9f2cc95c0e14018a6395100c397.tar.gz DistroKit-f4e6877164ebe9f2cc95c0e14018a6395100c397.tar.xz |
v7a: barebox-common: add a common reference config for all barebox variants
This package serves multiple purposes:
* Make the barebox version and MD5 for all used barebox variants
configurable with just one menu entry.
* Have a common barebox configuration with a baseline feature set, which
can be used by all barebox-* variants as a reference config with the
config diff functionality introduced in PTXdist 2019.01.0.
The common config is currently based on ARCH_BCM283X, which seems to
generate the smallest config diff for all the existing device-specific
barebox configs (which will be adapted in the next commits).
The new barebox-common package only exists for the ability to call
"ptxdist menuconfig" on it in order to change the common config. It
isn't meant to build or install anything, so the compile, install and
targetinstall stages can be no-ops.
Also make sure that the menu entry for the common configuration is
listed before all other barebox variants by naming the kconfig file
appriopriately. Since the barebox-common config uses LZO image
compression, depend on host-lzop too.
Then configure it to use the version which is currently used for all
other variants in the v7a platform.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/platforms')
-rw-r--r-- | configs/platform-v7a/platforms/barebox-0-common.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/configs/platform-v7a/platforms/barebox-0-common.in b/configs/platform-v7a/platforms/barebox-0-common.in new file mode 100644 index 0000000..ad4ee2c --- /dev/null +++ b/configs/platform-v7a/platforms/barebox-0-common.in @@ -0,0 +1,33 @@ +## SECTION=bootloader + +config BAREBOX_COMMON_ARCH_STRING + string + default "arm" + +menuconfig BAREBOX_COMMON + prompt "common barebox options " + bool + select HOST_LZOP if BAREBOX_COMMON_NEEDS_HOST_LZOP + help + A metapackage serving a reference config for all other barebox + variants in the v7a platform. It doesn't install anything. + +if BAREBOX_COMMON + +config BAREBOX_COMMON_VERSION + prompt "barebox version" + string + default "2016.08.0" + +config BAREBOX_COMMON_MD5 + prompt "barebox source md5sum" + string + +config BAREBOX_COMMON_NEEDS_HOST_LZOP + prompt "barebox needs lzop" + bool + help + The barebox binaries can be compressed. Select this if lzop + is used in order to compile lzop for your development host. + +endif |