summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-06-23 14:06:13 +0200
committerC.J. Collier <cjcollier@linuxfoundation.org>2016-06-23 15:56:04 +0000
commitb0d4298a8d737c457ee15555b1edb100b8960e09 (patch)
treef570aa6b01c3d194a29a485d8c935f3dffb5174b
parent4e640f19a342cfbb04a910eae0128a7fdac959f8 (diff)
d/rules: report on used build flags
This can be very useful in the buildlog to analyze how certain flags were set. Change-Id: I2d80f5f5721516516c8418b7cb449ee3ac02b1d8 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index f262b48d..094f6f2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,6 +46,8 @@ clean:
build-config:
dh_testdir
+ # report dpkg-buildflags status to build log
+ dpkg-buildflags --status
$(MAKE) O=$(DPDK_STATIC_DIR) T=$(DPDK_CONFIG) config
sed -ri -e 's,(RTE_MACHINE=).*,\1$(RTE_MACHINE),' \
-e 's,(RTE_NEXT_ABI=).*,\1n,' \