~ubuntu-branches/ubuntu/raring/qemu-kvm/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Dave Walker (Daviey)
  • Author(s): Loïc Minier
  • Date: 2011-03-02 09:59:52 UTC
  • Revision ID: davewalker@ubuntu.com-20110302095952-8ikhivzi808hdsyv
Tags: 0.14.0~rc1+noroms-0ubuntu3
* control: fix description of dummy qemu and kvm packages to mention
  "qemu-kvm" and not "kvm-qemu".
* control: add armhf in the list of architectures along armel.
* rules: test whether DEB_HOST_ARCH_CPU is arm instead of testing whether
  DEB_HOST_ARCH is arm or armel; this fixes support for armhf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
include /usr/share/quilt/quilt.make
4
4
 
5
5
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
6
DEB_HOST_ARCH_CPU   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
6
7
DEB_HOST_ARCH_OS    ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
7
8
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8
9
DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
33
34
 
34
35
CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
35
36
 
36
 
ifneq (,$(findstring $(DEB_HOST_ARCH), arm armel))
 
37
ifeq ($(DEB_HOST_ARCH_CPU),arm)
37
38
CFLAGS += -fno-var-tracking
38
39
endif
39
40