summaryrefslogtreecommitdiff
path: root/package/afboot-stm32/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-24 20:55:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-24 20:55:39 +0200
commitd6e5d487123db846468e0f4df9e0d8cd85f048df (patch)
tree5a3e3f26d975b208fd87378f06f9f7bceacdbaa3 /package/afboot-stm32/Makefile
parent4b6a18385888bb69fb190cc4e683100e7010a6ae (diff)
add afboot-stm32 as bootloader for stm32 devices
Diffstat (limited to 'package/afboot-stm32/Makefile')
-rw-r--r--package/afboot-stm32/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/afboot-stm32/Makefile b/package/afboot-stm32/Makefile
new file mode 100644
index 000000000..3cd774eb0
--- /dev/null
+++ b/package/afboot-stm32/Makefile
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= afboot-stm32
+PKG_VERSION:= f7f109f0c6f65534ae50f9243a7356c5002a9b87
+PKG_RELEASE:= 1
+PKG_DESCR:= bootloader for stm32 devices
+PKG_SECTION:= base/boot
+PKG_SITES:= https://github.com/mcoquelin-stm32/afboot-stm32.git
+
+PKG_SYSTEM_DEPENDS:= st-stm32f429
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AFBOOT_STM32,afboot-stm32,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+INSTALL_STYLE:= manual
+
+afboot-stm32-install:
+ $(CP) $(WRKBUILD)/stm32f429i-disco.bin $(FW_DIR)
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk