diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-19 11:40:57 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-19 11:41:40 +0300 |
commit | 270dd293200b216545ea594937a79a88bc1e0bb0 (patch) | |
tree | 7d07ade1a24d4ef6e7fad20bf96c440ed99f5dbd /unix/Makefile | |
parent | c618f91e22613b2e530f7c21be0be789a7e8eed5 (diff) | |
download | micropython-270dd293200b216545ea594937a79a88bc1e0bb0.tar.gz micropython-270dd293200b216545ea594937a79a88bc1e0bb0.zip |
unix: Make sure build dir exists before accessing it for freezing upip.
Diffstat (limited to 'unix/Makefile')
-rw-r--r-- | unix/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile index dbb88b7147..e534ccff5b 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -248,6 +248,7 @@ UPIP_TARBALL := $(shell ls -1 -v ../tools/micropython-upip-*.tar.gz | tail -n1) $(BUILD)/frozen_upip/upip.py: $(UPIP_TARBALL) $(ECHO) "MISC Preparing upip as frozen module" + $(Q)mkdir -p $(BUILD) $(Q)rm -rf $(BUILD)/micropython-upip-* $(Q)tar -C $(BUILD) -xz -f $^ $(Q)rm -rf $(dir $@) |