File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -42,3 +42,17 @@ TEMPLATE_FILES=$(INCDIR)/display $(INCDIR)/pros/llemu.*
4242# ###############################################################################
4343# ######### Nothing below this line should be edited by typical users ###########
4444-include ./common.mk
45+
46+ TEMPLATE_KERNEL_SEMVER:="> =4.0.0"
47+
48+ template : clean-template library
49+ $(VV ) mkdir -p $(TEMPLATE_DIR )
50+ @echo " Moving template files to $( TEMPLATE_DIR) "
51+ $Dcp --parents -r $(TEMPLATE_FILES ) $(TEMPLATE_DIR )
52+ $(VV ) mkdir -p $(TEMPLATE_DIR ) /firmware
53+ $Dcp $(LIBAR ) $(TEMPLATE_DIR ) /firmware
54+ @echo " Creating template"
55+ $Dprosv5 c create-template \
56+ $(TEMPLATE_DIR ) $(LIBNAME ) $(VERSION ) \
57+ $(foreach file,$(TEMPLATE_FILES ) $(LIBAR ) ,--system "$(file ) ") \
58+ --target v5 --kernels $(TEMPLATE_KERNEL_SEMVER )
You can’t perform that action at this time.
0 commit comments