summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2017-02-27 08:49:00 -0500
committerMatthew Wilcox <mawilcox@microsoft.com>2017-03-07 13:18:21 -0500
commitc4634b08d9eb9c13be2296230bf33c79390dbf9c (patch)
treef7462b864335bc08e10a6fa7c097a280987c2ed1 /tools/testing
parent54f4d3341c8fe31e20915e2c1fb322ff8a069832 (diff)
downloadblackbird-obmc-linux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.tar.gz
blackbird-obmc-linux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.zip
radix tree test suite: Build 32 bit binaries
Add option 'make BUILD=32' for building 32-bit binaries. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/radix-tree/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/Makefile b/tools/testing/radix-tree/Makefile
index f11315bedefc..b59c2a9ef778 100644
--- a/tools/testing/radix-tree/Makefile
+++ b/tools/testing/radix-tree/Makefile
@@ -10,6 +10,10 @@ ifndef SHIFT
SHIFT=3
endif
+ifeq ($(BUILD), 32)
+ CFLAGS += -m32
+endif
+
targets: mapshift $(TARGETS)
main: $(OFILES)
OpenPOWER on IntegriCloud