summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/generic/patches-2.6.35/001-fix_localversion.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.35/001-fix_localversion.patch b/target/linux/generic/patches-2.6.35/001-fix_localversion.patch
new file mode 100644
index 000000000..44b177507
--- /dev/null
+++ b/target/linux/generic/patches-2.6.35/001-fix_localversion.patch
@@ -0,0 +1,11 @@
+--- a/scripts/setlocalversion
++++ b/scripts/setlocalversion
+@@ -162,7 +162,7 @@ if test "$CONFIG_LOCALVERSION_AUTO" = "y
+ else
+ # apped a plus sign if the repository is not in a clean tagged
+ # state and LOCALVERSION= is not specified
+- if test "${LOCALVERSION+set}" != "set"; then
++ if test "${CONFIG_LOCALVERSION+set}" != "set"; then
+ scm=$(scm_version --short)
+ res="$res${scm:++}"
+ fi