From: Rehas Sachdeva Date: Mon, 27 Feb 2017 13:49:00 +0000 (-0500) Subject: radix tree test suite: Build 32 bit binaries X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4634b08d9eb9c13be2296230bf33c79390dbf9c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git radix tree test suite: Build 32 bit binaries Add option 'make BUILD=32' for building 32-bit binaries. Signed-off-by: Rehas Sachdeva Signed-off-by: Matthew Wilcox --- 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)