~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2006-01-16 10:19:39 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060116101939-6nkaq9p9s6xd5nxo
Tags: 1.1.16-1ubuntu1
Resync with debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
4
include /usr/share/cdbs/1/rules/simple-patchsys.mk
5
5
 
 
6
# Needed for the asm symlink
 
7
ARCH=$(DEB_ARCH)
6
8
ifeq ($(DEB_ARCH),sparc)
7
9
CC=gcc-3.3
8
 
else
9
 
CC=gcc
 
10
ARCH=sparc64
 
11
endif
 
12
ifeq ($(DEB_ARCH),amd64)
 
13
ARCH=x86_64
 
14
endif
 
15
ifeq ($(DEB_ARCH),powerpc)
 
16
ARCH=ppc
 
17
endif
 
18
ifeq ($(DEB_ARCH),hppa)
 
19
ARCH=parisc
10
20
endif
11
21
 
12
22
DEB_MAKE_INVOKE := make
17
27
# Enable this to get verbose build information
18
28
DEB_MAKE_ENVVARS += KBUILD_VERBOSE=1
19
29
 
20
 
DEB_MAKE_INVOKE = make -C $(DEB_BUILDDIR) $(DEB_MAKE_ENVVARS) CC=$(CC) HOSTCC=$(CC) KLIBCCC=$(CC)
 
30
DEB_MAKE_INVOKE = make -C $(DEB_BUILDDIR) $(DEB_MAKE_ENVVARS) CC=$(CC) ARCH=$(ARCH) HOSTCC=$(CC) KLIBCCC=$(CC)
21
31
 
22
32
DEB_MAKE_INSTALL_TARGET := install
23
33