Skip to content
Snippets Groups Projects
Commit 270dd293 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix: Make sure build dir exists before accessing it for freezing upip.

parent c618f91e
No related branches found
No related tags found
No related merge requests found
......@@ -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 $@)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment