mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
unix: Make sure build dir exists before accessing it for freezing upip.
This commit is contained in:
@@ -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 $@)
|
||||
|
||||
Reference in New Issue
Block a user