~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to debian.mvl-dove/rules.d/4-checks.mk

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Check ABI for package against last release (if not same abinum)
2
 
abi-%: $(abidir)/%
3
 
        @# Empty for make to be happy
4
 
$(abidir)/%: $(stampdir)/stamp-build-%
5
 
        install -d $(abidir)
6
 
        sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/'   \
7
 
                $(builddir)/build-$*/Module.symvers | sort > $@
8
 
 
9
 
abi-check-%: $(abidir)/%
10
 
        @perl -f $(DEBIAN)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \
11
 
                "$(prev_abidir)" "$(abidir)" "$(skipabi)"
12
 
 
13
 
# Check the module list against the last release (always)
14
 
module-%: $(abidir)/%.modules
15
 
        @# Empty for make to be happy
16
 
$(abidir)/%.modules: $(stampdir)/stamp-build-%
17
 
        install -d $(abidir)
18
 
        find $(builddir)/build-$*/ -name \*.ko | \
19
 
                sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $@
20
 
 
21
 
module-check-%: $(abidir)/%.modules
22
 
        @perl -f $(DEBIAN)/scripts/module-check "$*" \
23
 
                "$(prev_abidir)" "$(abidir)" $(skipmodule)
24
 
 
25
 
checks-%: abi-check-% module-check-%
26
 
        @# Will be calling more stuff later