summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2017-02-27 14:49:00 +0100
committerMatthew Wilcox <mawilcox@microsoft.com>2017-03-07 19:18:21 +0100
commitc4634b08d9eb9c13be2296230bf33c79390dbf9c (patch)
treef7462b864335bc08e10a6fa7c097a280987c2ed1 /tools
parentradix tree test suite: Add performance test for radix_tree_join() (diff)
downloadlinux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.tar.xz
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')
-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)