move autogenerated variables down to the autogen'd section
svn path=/trunk/kernel/source/linux-kernel-2.6.12/; revision=3433
This commit is contained in:
parent
f1f32ab393
commit
1dcc5b31ff
|
@ -2,16 +2,15 @@
|
||||||
#
|
#
|
||||||
# Required variables. See README for a description of all the variables.
|
# Required variables. See README for a description of all the variables.
|
||||||
#
|
#
|
||||||
version := $(shell dpkg-parsechangelog | sed -n 's/^Source: linux-kernel-\(.\+\)$$/\1/p')
|
|
||||||
major_v := $(wordlist 1,1,$(subst ., ,$(version)))
|
|
||||||
minor_v := $(wordlist 2,2,$(subst ., ,$(version)))
|
|
||||||
abiname := 1
|
abiname := 1
|
||||||
ltver := 1
|
|
||||||
#
|
#
|
||||||
# Generally nothing needs to be modified below this line
|
# Generally nothing needs to be modified below this line
|
||||||
#
|
#
|
||||||
SHELL := sh -e
|
SHELL := sh -e
|
||||||
karch := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
karch := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||||
|
version := $(shell dpkg-parsechangelog | sed -n 's/^Source: linux-kernel-\(.\+\)$$/\1/p')
|
||||||
|
major_v := $(wordlist 1,1,$(subst ., ,$(version)))
|
||||||
|
minor_v := $(wordlist 2,2,$(subst ., ,$(version)))
|
||||||
major := $(major_v).$(minor_v)
|
major := $(major_v).$(minor_v)
|
||||||
srcver := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
|
srcver := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
|
||||||
ltver := $(word 2,$(subst -, ,$(srcver)))
|
ltver := $(word 2,$(subst -, ,$(srcver)))
|
||||||
|
|
Loading…
Reference in New Issue