From 8111e0c59583ac278ecd07ca4c6be04d8802e567 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 9 Feb 2012 18:33:31 +0000 Subject: mini-os: Move test functions into test.c While useful, these test functions should not be compiled into every mini-os instance that we compile. Signed-off-by: Daniel De Graaf Acked-by: Ian Campbell Cc: Stefano Stabellini Committed-by: Ian Jackson --- extras/mini-os/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extras/mini-os/Makefile') diff --git a/extras/mini-os/Makefile b/extras/mini-os/Makefile index 48d0d21b86..b4a9eb4007 100644 --- a/extras/mini-os/Makefile +++ b/extras/mini-os/Makefile @@ -19,6 +19,7 @@ endif CONFIG_START_NETWORK ?= y CONFIG_SPARSE_BSS ?= y CONFIG_QEMU_XS_ARGS ?= n +CONFIG_TEST ?= n # Export config items as compiler directives flags-$(CONFIG_START_NETWORK) += -DCONFIG_START_NETWORK @@ -63,6 +64,7 @@ src-y += mm.c src-y += netfront.c src-y += pcifront.c src-y += sched.c +src-$(CONFIG_TEST) += test.c src-y += lib/ctype.c src-y += lib/math.c -- cgit v1.2.3