mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-483: polish comments in scripts
This commit is contained in:
parent
68ac5a271c
commit
25c44d3d0d
@ -47,7 +47,7 @@ class Repo:
|
|||||||
self._rc = git.poll()
|
self._rc = git.poll()
|
||||||
|
|
||||||
def _get_origin(self):
|
def _get_origin(self):
|
||||||
"""Get and store the repository origin URL"""
|
"""Get and store the repository fetch origin path"""
|
||||||
self._origin = None
|
self._origin = None
|
||||||
self._exec('remote -v')
|
self._exec('remote -v')
|
||||||
if self._rc == 0:
|
if self._rc == 0:
|
||||||
@ -206,7 +206,7 @@ def file_from_template(tpl_name, out_name, dict):
|
|||||||
of.close()
|
of.close()
|
||||||
|
|
||||||
def sha1(file):
|
def sha1(file):
|
||||||
"""Provides C source representation of sha1 sum of file."""
|
"""Provides C source representation of sha1 sum of file"""
|
||||||
if file == None:
|
if file == None:
|
||||||
return ""
|
return ""
|
||||||
else:
|
else:
|
||||||
|
@ -92,16 +92,16 @@ $(eval $(call INSTALL_TEMPLATE,blupd_pipxtreme,all_bl,$(BLUPD_DIR),PipXtreme_,-$
|
|||||||
$(eval $(call INSTALL_TEMPLATE,fw_tools,uavobjects,$(BLUPD_DIR),,-FlashEraser-$(RELEASE_LBL),ERASE_FLASH=YES,clean,$(FW_TARGETS_TOOLS),install))
|
$(eval $(call INSTALL_TEMPLATE,fw_tools,uavobjects,$(BLUPD_DIR),,-FlashEraser-$(RELEASE_LBL),ERASE_FLASH=YES,clean,$(FW_TARGETS_TOOLS),install))
|
||||||
|
|
||||||
# Order-only dependencies
|
# Order-only dependencies
|
||||||
# They are bit complicated to support parallel (-j) builds and to
|
# They are bit complicated to support parallel (-j) builds and to create
|
||||||
# create the pwm/ppm/spektrum and CC flash eraser targets in a sequence of build steps
|
# the pwm/ppm/spektrum and CC flash eraser targets in some fixed order
|
||||||
|
|
||||||
fw_pwm: | # default dependencies
|
fw_pwm: | # default dependencies, will be built first
|
||||||
|
|
||||||
fw_spektrum: | fw_pwm # sequential build
|
fw_spektrum: | fw_pwm # ordered build
|
||||||
|
|
||||||
fw_ppm: | fw_spektrum # sequential build
|
fw_ppm: | fw_spektrum # ordered build
|
||||||
|
|
||||||
fw_tools: | fw_spektrum # sequential build, replace fw_spektrum by fw_ppm if uncommented below
|
fw_tools: | fw_spektrum # ordered build, replace fw_spektrum by fw_ppm if uncommented below
|
||||||
|
|
||||||
release_fw: | fw_common fw_pwm fw_spektrum # fw_ppm
|
release_fw: | fw_common fw_pwm fw_spektrum # fw_ppm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user