diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-25 11:42:27 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-25 14:28:40 +0200 |
commit | 8d884f8a7a7dd1983cb595880f68899cbb3425a4 (patch) | |
tree | 3bfeaa81b6634ec33c74b04a7e4ff082327f089d /debian.upstream/rules | |
parent | da2f0a4021d81530ce057f7cfbf560e5eb5c3bdd (diff) | |
download | libva-intel-driver-8d884f8a7a7dd1983cb595880f68899cbb3425a4.tar.gz libva-intel-driver-8d884f8a7a7dd1983cb595880f68899cbb3425a4.tar.bz2 libva-intel-driver-8d884f8a7a7dd1983cb595880f68899cbb3425a4.zip |
Add debian packaging.
Diffstat (limited to 'debian.upstream/rules')
-rwxr-xr-x | debian.upstream/rules | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian.upstream/rules b/debian.upstream/rules new file mode 100755 index 0000000..27b2639 --- /dev/null +++ b/debian.upstream/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk + +# Allow SMP build +ifeq ($(DEBIAN_BUILD_NCPUS),) + DEBIAN_BUILD_NCPUS = $(shell /usr/bin/getconf _NPROCESSORS_ONLN) +endif +ifneq ($(DEBIAN_BUILD_NCPUS),) + EXTRA_MAKE_FLAGS += -j$(DEBIAN_BUILD_NCPUS) +endif +MAKE += $(EXTRA_MAKE_FLAGS) |