Index: third_party/libva/debian.upstream/rules |
diff --git a/third_party/libva/debian.upstream/rules b/third_party/libva/debian.upstream/rules |
new file mode 100755 |
index 0000000000000000000000000000000000000000..40b76bec7cdaf6ea32bbe259fba280202c2a8f4e |
--- /dev/null |
+++ b/third_party/libva/debian.upstream/rules |
@@ -0,0 +1,14 @@ |
+#!/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/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) |