summaryrefslogtreecommitdiffstats
path: root/configs/platform-beaglebone/platforms/barebox_mlo.in
diff options
context:
space:
mode:
authorAlexander Aring <aar@pengutronix.de>2016-06-09 18:32:24 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2016-06-10 14:32:28 +0200
commitd63571abdc1dd158f15f71d87b8587e0b357c999 (patch)
tree76616faa3a4016378922e9c7a0236de56c20ef7c /configs/platform-beaglebone/platforms/barebox_mlo.in
parenta3f2e855b40573cdd98f047744dd19ef62d31679 (diff)
downloadDistroKit-d63571abdc1dd158f15f71d87b8587e0b357c999.tar.gz
DistroKit-d63571abdc1dd158f15f71d87b8587e0b357c999.tar.xz
platform: beaglebone: fix missing host-lzo
This patch adds host-lzop dependency for barebox_mlo to fix the following compile fail: ../platform-beaglebone/build-target/barebox_mlo-2016.05.0/scripts/gen-dtb-s: line 54: lzop: command not found Signed-off-by: Alexander Aring <aar@pengutronix.de>
Diffstat (limited to 'configs/platform-beaglebone/platforms/barebox_mlo.in')
-rw-r--r--configs/platform-beaglebone/platforms/barebox_mlo.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/configs/platform-beaglebone/platforms/barebox_mlo.in b/configs/platform-beaglebone/platforms/barebox_mlo.in
new file mode 100644
index 0000000..184aa52
--- /dev/null
+++ b/configs/platform-beaglebone/platforms/barebox_mlo.in
@@ -0,0 +1,45 @@
+## SECTION=bootloader
+
+menuconfig BAREBOX_MLO
+ prompt "barebox mlo "
+ select HOST_LZOP if BAREBOX_MLO_NEEDS_HOST_LZOP
+ bool
+ help
+ Build mlo from barebox sources.
+
+if BAREBOX_MLO
+
+config BAREBOX_MLO_VERSION
+ prompt "barebox version" if !BAREBOX
+ string
+ default "${PTXCONF_BAREBOX_VERSION}" if BAREBOX
+ default "2014.01.0" if !BAREBOX
+
+config BAREBOX_MLO_MD5
+ prompt "barebox source md5sum" if !BAREBOX
+ string
+ default "${PTXCONF_BAREBOX_MD5}" if BAREBOX
+
+config BAREBOX_MLO_ARCH_STRING
+ string
+ default "arm" if ARCH_ARM
+ default "blackfin" if ARCH_BLACKFIN
+ default "ppc" if ARCH_PPC
+ default "x86" if ARCH_X86
+
+config BAREBOX_MLO_CONFIG
+ prompt "mlo config file"
+ string
+ default "barebox_mlo.config"
+ help
+ This entry specifies the .config file used to compile mlo.
+
+config BAREBOX_MLO_NEEDS_HOST_LZOP
+ prompt "barebox mlo needs lzop"
+ bool
+ help
+ The barebox mlo dtb's can be compressed. Select this if
+ lzop is used in order to compile lzop for your development
+ host.
+
+endif