1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
7 if
[ ! -d
$(BUILD_DIR
)/frosted
]; then \
9 git clone https
://github.com
/insane-adding-machines
/frosted.git
;\
11 git submodule update
--init
--recursive
;\
13 cp
$(BUILD_DIR
)/.frosted
$(BUILD_DIR
)/frosted
/kconfig
/.config
14 cp
$(BUILD_DIR
)/.frostedapps
$(BUILD_DIR
)/frosted
/frosted-userland
/kconfig
/.config
17 PATH
='$(HOST_PATH)' $(MAKE
) V
=1 -C
$(BUILD_DIR
)/frosted
/frosted-userland
$(MAKE_TRACE
)
18 PATH
='$(HOST_PATH)' $(MAKE
) V
=1 -C
$(BUILD_DIR
)/frosted
$(MAKE_TRACE
)
21 @cp
$(BUILD_DIR
)/frosted
/image.bin
$(FW_DIR
)
24 @echo
"Use following command to flash:"
25 @echo
"$(STAGING_HOST_DIR)/usr/bin/st-flash write $(FW_DIR)/image.bin 0x08000000"
28 @PATH
='$(HOST_PATH)' $(MAKE
) -C
$(BUILD_DIR
)/frosted
clean