~peter-pearse/ubuntu/natty/pciutils/prop001

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Peter Pearse
  • Date: 2011-04-26 13:04:13 UTC
  • Revision ID: peter.pearse@linaro.org-20110426130413-qjpij7geyv8p3rn0
Pass strip programs to 'make install' for cross builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
6
DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
7
7
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
8
 
CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
 
8
CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc STRIP="-s --strip-program=$(DEB_HOST_GNU_TYPE)-strip"
9
9
endif
10
10
 
11
11
PATHS := PREFIX=/usr SBINDIR=/usr/bin IDSDIR=/usr/share/misc