Re: [PATCH] rt-tests - allow build without NUMA
From: Uwe Kleine-König <hidden>
Date: 2011-09-23 19:46:36
On Fri, Sep 23, 2011 at 12:26:03PM -0700, Frank Rowand wrote:
quoted hunk ↗ jump to hunk
"NUMA=0 make" does not remove numa from the build. Fix. Signed-off-by: Frank Rowand <redacted> --- Makefile | 2 1 + 1 - 0 ! 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/Makefile ===================================================================--- a/Makefile +++ b/Makefile@@ -26,7 +26,7 @@ else CFLAGS += -O0 -g endif -ifdef NUMA +ifeq ($(NUMA),"1") CFLAGS += -DNUMA NUMA_LIBS = -lnuma endif
can we please addionally get something like: machinetype = $(shell uname -m | sed -e s/i.86/i386;s/mips.*/mips/;s/ppc.*/powerpc) ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),) NUMA = 1 endif instead of the unconditional NUMA=1 we currently have? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html