Skip to content

Commit 270dd29

Browse files
committed
unix: Make sure build dir exists before accessing it for freezing upip.
1 parent c618f91 commit 270dd29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

unix/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ UPIP_TARBALL := $(shell ls -1 -v ../tools/micropython-upip-*.tar.gz | tail -n1)
248248

249249
$(BUILD)/frozen_upip/upip.py: $(UPIP_TARBALL)
250250
$(ECHO) "MISC Preparing upip as frozen module"
251+
$(Q)mkdir -p $(BUILD)
251252
$(Q)rm -rf $(BUILD)/micropython-upip-*
252253
$(Q)tar -C $(BUILD) -xz -f $^
253254
$(Q)rm -rf $(dir $@)

0 commit comments

Comments
 (0)