Commit 9c4023db authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Juerg Haefliger
parent 97d6ebae
...@@ -15,6 +15,12 @@ prev_revision := $(word $(words $(prev_revisions)),$(prev_revisions)) ...@@ -15,6 +15,12 @@ prev_revision := $(word $(words $(prev_revisions)),$(prev_revisions))
prev_fullver ?= $(shell dpkg-parsechangelog -l$(DEBIAN)/changelog -o1 -c1 | sed -ne 's/^Version: *//p') prev_fullver ?= $(shell dpkg-parsechangelog -l$(DEBIAN)/changelog -o1 -c1 | sed -ne 's/^Version: *//p')
# Get upstream version info
upstream_version := $(shell sed -n 's/^VERSION = \(.*\)$$/\1/p' Makefile)
upstream_patchlevel := $(shell sed -n 's/^PATCHLEVEL = \(.*\)$$/\1/p' Makefile)
upstream_extraversion := $(shell sed -n 's/^EXTRAVERSION = \(.*\)$$/\1/p' Makefile)
upstream_tag := "v$(upstream_version).$(upstream_patchlevel)$(upstream_extraversion)"
family=ubuntu family=ubuntu
# This is an internally used mechanism for the daily kernel builds. It # This is an internally used mechanism for the daily kernel builds. It
......
...@@ -59,6 +59,7 @@ printenv: ...@@ -59,6 +59,7 @@ printenv:
@echo "prev_revisions = $(prev_revisions)" @echo "prev_revisions = $(prev_revisions)"
@echo "prev_revision = $(prev_revision)" @echo "prev_revision = $(prev_revision)"
@echo "abinum = $(abinum)" @echo "abinum = $(abinum)"
@echo "upstream_tag = $(upstream_tag)"
@echo "gitver = $(gitver)" @echo "gitver = $(gitver)"
@echo "flavours = $(flavours)" @echo "flavours = $(flavours)"
@echo "skipabi = $(skipabi)" @echo "skipabi = $(skipabi)"
...@@ -113,7 +114,7 @@ insertchanges: autoreconstruct finalchecks ...@@ -113,7 +114,7 @@ insertchanges: autoreconstruct finalchecks
@perl -w -f $(DROOT)/scripts/misc/insert-changes.pl $(DROOT) $(DEBIAN) @perl -w -f $(DROOT)/scripts/misc/insert-changes.pl $(DROOT) $(DEBIAN)
autoreconstruct: autoreconstruct:
$(DROOT)/scripts/misc/gen-auto-reconstruct $(release) $(DEBIAN)/reconstruct $(DROOT)/source/options $(DROOT)/scripts/misc/gen-auto-reconstruct $(upstream_tag) $(DEBIAN)/reconstruct $(DROOT)/source/options
finalchecks: finalchecks:
$(DROOT)/scripts/misc/final-checks "$(DEBIAN)" "$(prev_fullver)" $(DROOT)/scripts/misc/final-checks "$(DEBIAN)" "$(prev_fullver)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment