Skip to content

Commit

Permalink
sdk/Makefile: Change nuttx-export form zip to tar.gz
Browse files Browse the repository at this point in the history
A nuttx-exported file format generated by make export is changed
from .zip to .tar.gz with nuttx update.
  • Loading branch information
SPRESENSE committed Nov 7, 2022
1 parent 4b3acba commit a65c127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/Makefile
Expand Up @@ -134,10 +134,10 @@ $(foreach SDIR, $(TARGETDIRS), $(eval $(call SDIR_template,$(SDIR),distclean)))
ifeq ($(MAKELEVEL),0)
MKSDKEXPORT = $(SDKDIR)/tools/mksdkexport.sh
export:
$(Q) $(MAKE) -C $(TOPDIR) export && mv $(TOPDIR)/nuttx-export-*.zip nuttx-export.zip
$(Q) $(MAKE) -C $(TOPDIR) export && mv $(TOPDIR)/nuttx-export-*.tar.gz nuttx-export.tar.gz
exportsdk: export
$(Q) $(MKSDKEXPORT) -i nuttx-export.zip -o sdk-export.tar.gz
$(Q) rm -rf nuttx-export.zip
$(Q) $(MKSDKEXPORT) -i nuttx-export.tar.gz -o sdk-export.tar.gz
$(Q) rm -rf nuttx-export.tar.gz
PHONY += export
PHONY += exportsdk
endif
Expand Down

0 comments on commit a65c127

Please sign in to comment.