summaryrefslogtreecommitdiffstats
path: root/boot/afboot-stm32
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2016-03-02 21:25:00 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-03-02 21:25:00 +0100
commit28cd1ed30aa4959c744ee37a6070cf22a66fb31f (patch)
treefe08f3fdff6fe458a3a21cf814f12ed6c7ba54e4 /boot/afboot-stm32
parent13222c07293becaefc69c46c8f90b04ddc7023d9 (diff)
parent2dfabd10d1e484d84c0e6b5a58ab43d131ca3230 (diff)
downloadbuildroot-28cd1ed30aa4959c744ee37a6070cf22a66fb31f.tar.gz
buildroot-28cd1ed30aa4959c744ee37a6070cf22a66fb31f.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'boot/afboot-stm32')
-rw-r--r--boot/afboot-stm32/Config.in7
-rw-r--r--boot/afboot-stm32/afboot-stm32.hash2
-rw-r--r--boot/afboot-stm32/afboot-stm32.mk18
3 files changed, 27 insertions, 0 deletions
diff --git a/boot/afboot-stm32/Config.in b/boot/afboot-stm32/Config.in
new file mode 100644
index 0000000000..309b9e0491
--- /dev/null
+++ b/boot/afboot-stm32/Config.in
@@ -0,0 +1,7 @@
+config BR2_TARGET_AFBOOT_STM32
+ bool "afboot-stm32"
+ depends on BR2_arm
+ help
+ afboot-stm32 is a very small bootloader for STM32 platforms
+
+ https://github.com/mcoquelin-stm32/afboot-stm32
diff --git a/boot/afboot-stm32/afboot-stm32.hash b/boot/afboot-stm32/afboot-stm32.hash
new file mode 100644
index 0000000000..d23b74ad21
--- /dev/null
+++ b/boot/afboot-stm32/afboot-stm32.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 dbd715c8b99f7d266f74a04707a4dac76b75b31321f24dee5256a6348260530c afboot-stm32-v0.1.tar.gz
diff --git a/boot/afboot-stm32/afboot-stm32.mk b/boot/afboot-stm32/afboot-stm32.mk
new file mode 100644
index 0000000000..ac85d58b90
--- /dev/null
+++ b/boot/afboot-stm32/afboot-stm32.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# afboot-stm32
+#
+################################################################################
+
+AFBOOT_STM32_VERSION = v0.1
+AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
+
+define AFBOOT_STM32_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
+endef
+
+define AFBOOT_STM32_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/stm32*.bin $(BINARIES_DIR)
+endef
+
+$(eval $(generic-package))
OpenPOWER on IntegriCloud