diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-08-21 05:51:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-08-27 19:46:26 +0200 |
commit | 8645420963417ffc64d2e88f64935249e0db225c (patch) | |
tree | 1d35667cf063d8c370634da66047d01455e9d741 /target/frosted/Makefile | |
parent | 68769b1a66f9df3387811c9de7aa146c2e17ff92 (diff) |
add basic support for frosted operating system
https://github.com/insane-adding-machines/frosted
Rework our architecture selection and os dependent logic a little
bit to be cleaner. As only arm is supported, we only modify
arm systems to comply with new changeset.
Diffstat (limited to 'target/frosted/Makefile')
-rw-r--r-- | target/frosted/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/frosted/Makefile b/target/frosted/Makefile new file mode 100644 index 000000000..5c1a7f857 --- /dev/null +++ b/target/frosted/Makefile @@ -0,0 +1,26 @@ +# 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 + +prepare: + @echo preparing frosted + if [ ! -d $(BUILD_DIR)/frosted ]; then \ + cd $(BUILD_DIR) ;\ + git clone https://github.com/insane-adding-machines/frosted.git ;\ + cd frosted ;\ + git submodule update --init --recursive ;\ + fi + cp $(BUILD_DIR)/.frosted $(BUILD_DIR)/frosted/kconfig/.config + cp $(BUILD_DIR)/.frosted $(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 + +install: + @echo installing frosted + cp $(BUILD_DIR)/frosted/image.bin $(FW_DIR) |