diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2017-02-27 16:49:00 +0300 |
---|---|---|
committer | Matthew Wilcox <mawilcox@microsoft.com> | 2017-03-07 21:18:21 +0300 |
commit | c4634b08d9eb9c13be2296230bf33c79390dbf9c (patch) | |
tree | f7462b864335bc08e10a6fa7c097a280987c2ed1 /tools | |
parent | 54f4d3341c8fe31e20915e2c1fb322ff8a069832 (diff) | |
download | linux-c4634b08d9eb9c13be2296230bf33c79390dbf9c.tar.xz |
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/Makefile | 4 |
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) |