Skip to contentSkip to conversation

u-boot: don't check repo head on build folder

PATCH New Adrian Calianu 1 participant 2 messages Oct 13, 2016

lore
Share & tools
lore
#0 lore raw

cover u-boot: don't check repo head on build folder

On master brench build folder is a seprate folder from git so is not possible to check for repo head.

Adrian Calianu (1):
u-boot: don't check repo head on build folder

 classes/fsl-u-boot-localversion.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 u-boot: don't check repo head on build folder

Since build folder is not under git, checking for head at compile time will generate an error:

run.do_compile.56231:1 exit 128 from
'head=git rev-parse --verify --short HEAD 2> /dev/null' | ERROR: Function failed: do_compile ...

---
 classes/fsl-u-boot-localversion.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
classes/fsl-u-boot-localversion.bbclass +1 -1
index f7e0971..8e1193d 100644
@@ -9,7 +9,7 @@
 #
 # Copyright 2014 (C) O.S. Systems Software LTDA.
 
-SCMVERSION ??= "y"
+SCMVERSION ??= "n"
 LOCALVERSION ??= "+fslc"
 
 UBOOT_LOCALVERSION = "${LOCALVERSION}"
Signature · 1 line
1.9.1