You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
609 B

all: build
patch:
@sed -i "s/VERSION 2.8.11/VERSION 3.0.0/" ~/.local/lib/python3.6/site-packages/yotta/lib/templates/subdir_CMakeLists.txt
@sed -i "s/VERSION 2.8.11/VERSION 3.0.0/" ~/.local/lib/python3.6/site-packages/yotta/lib/templates/base_CMakeLists.txt
@sed -i "s/^cmake_policy(SET CMP0017 OLD)/#cmake_policy(SET CMP0017 OLD)/" ~/.local/lib/python3.6/site-packages/yotta/lib/templates/base_CMakeLists.txt
build: patch
@yt build
install:
@cp build/bbc-microbit-classic-gcc/source/microbit-samples-combined.hex /media/$USER/MICROBIT/
@echo "Install done"
clean:
@yt clean
@echo "Cleaning done"