summaryrefslogtreecommitdiff
path: root/target/frosted
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-08 11:48:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-10-08 11:48:35 +0200
commitdb306559830ebd7734d30efb840d500d004e1d3f (patch)
tree32565e3a4c7e77497b0e92c7464307b1e67c9661 /target/frosted
parent540785b648b5be9a2bf59fe1ae0ee7b7dc412bd0 (diff)
frosted: add support for stm32f429-discovery
Diffstat (limited to 'target/frosted')
-rw-r--r--target/frosted/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/target/frosted/Makefile b/target/frosted/Makefile
index 12b2970fb..4845ddab5 100644
--- a/target/frosted/Makefile
+++ b/target/frosted/Makefile
@@ -4,7 +4,6 @@
include $(ADK_TOPDIR)/rules.mk
prepare:
- @echo preparing frosted
if [ ! -d $(BUILD_DIR)/frosted ]; then \
cd $(BUILD_DIR) ;\
git clone https://github.com/insane-adding-machines/frosted.git ;\
@@ -15,12 +14,15 @@ prepare:
cp $(BUILD_DIR)/.frostedapps $(BUILD_DIR)/frosted/frosted-userland/kconfig/.config
compile:
- PATH='$(HOST_PATH)' $(MAKE) V=1 -C $(BUILD_DIR)/frosted clean
- @echo compiling frosted userland
- PATH='$(HOST_PATH)' $(MAKE) V=1 -C $(BUILD_DIR)/frosted/frosted-userland
- @echo compiling frosted kernel
- PATH='$(HOST_PATH)' $(MAKE) V=1 -C $(BUILD_DIR)/frosted
+ PATH='$(HOST_PATH)' $(MAKE) V=1 -C $(BUILD_DIR)/frosted/frosted-userland $(MAKE_TRACE)
+ PATH='$(HOST_PATH)' $(MAKE) V=1 -C $(BUILD_DIR)/frosted $(MAKE_TRACE)
install:
- @echo installing frosted
- cp $(BUILD_DIR)/frosted/image.bin $(FW_DIR)
+ @cp $(BUILD_DIR)/frosted/image.bin $(FW_DIR)
+
+targethelp:
+ @echo "Use following command to flash:"
+ @echo "$(STAGING_HOST_DIR)/usr/bin/st-flash write $(FW_DIR)/image.bin 0x08000000"
+
+clean:
+ @PATH='$(HOST_PATH)' $(MAKE) -C $(BUILD_DIR)/frosted clean