mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
tools/Makefile.unix: Remove some unnecessary conditional logic.
This commit is contained in:
+3
-5
@@ -270,11 +270,9 @@ tools/mkversion$(HOSTEXEEXT):
|
|||||||
# created manually and may contain other info
|
# created manually and may contain other info
|
||||||
|
|
||||||
$(TOPDIR)/.version:
|
$(TOPDIR)/.version:
|
||||||
$(Q) if [ ! -f .version ]; then \
|
$(Q) echo "No .version file found, creating one"
|
||||||
$(Q) echo "No .version file found, creating one"
|
$(Q) tools/version.sh -v 0.0 -b 0 .version
|
||||||
$(Q) tools/version.sh -v 0.0 -b 0 .version
|
$(Q) chmod 755 .version
|
||||||
$(Q) chmod 755 .version
|
|
||||||
fi
|
|
||||||
|
|
||||||
# version_info will add git-specific info to the .version file
|
# version_info will add git-specific info to the .version file
|
||||||
# which must already exist. First strip out any existing CONFIG_GIT_ info
|
# which must already exist. First strip out any existing CONFIG_GIT_ info
|
||||||
|
|||||||
Reference in New Issue
Block a user