Makefile: hack out the double version of SUBLEVEL
authorBrian Norris <briannorris@chromium.org>
Mon, 28 Mar 2016 23:44:38 +0000 (16:44 -0700)
committerGerrit Code Review <gerrit@rock-chips.com>
Fri, 1 Apr 2016 07:18:54 +0000 (15:18 +0800)
Portage's linux-info.eclass (in getfilevar_noexec) looks for the
definition of SUBLEVEL, and it doesn't expect 2 definitions. We could
fix the eclass, but let's hack this out for now.

See strongswan's emerge output:

...
 * Found sources for kernel version:
 *     4.4.6
 * 0
/mnt/host/source/src/third_party/portage-stable/eclass/linux-info.eclass: line 388: 6
0: syntax error in expression (error token is "0")
...

Change-Id: I6964e6731ed461ca3a8c4afde0ddfe48e0105627
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chrome-internal-review.googlesource.com/252620
Reviewed-by: Doug Anderson <dianders@google.com>
Tested-by: Doug Anderson <dianders@google.com>
Makefile

index 8f12571bd64fbd947bb2b3865a6fc17d2a51d06e..96e9b02967fbe7521778cf4f592a300bd653606e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,6 @@ NAME = Blurry Fish Butt
 # Comments in this file are targeted only to the developer, do not
 # expect to learn how to build the kernel reading this file.
 
-SUBLEVEL = 0
-
 # o Do not use make's built-in rules and variables
 #   (this increases performance and avoids hard-to-debug behaviour);
 # o Look for make include files relative to root of kernel src