From 7d08b0bf47ff43552ec244dbb44d6284b081674f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 9 Aug 2010 15:50:18 +0000 Subject: [PATCH] fix localversion detection for linux 2.6.35 SVN-Revision: 22560 --- .../generic/patches-2.6.35/001-fix_localversion.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic/patches-2.6.35/001-fix_localversion.patch 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 0000000000..44b1775070 --- /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 -- 2.30.2