From 3fe80d8f04e88a7972131dad5babc5c1429fddfd Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 16 Jun 2009 13:26:07 +0000 Subject: Adding basic framework for NXFLAT git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1887 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/tools/mkconfig.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nuttx/tools/mkconfig.c') diff --git a/nuttx/tools/mkconfig.c b/nuttx/tools/mkconfig.c index 6b2299e7b..1486586dd 100644 --- a/nuttx/tools/mkconfig.c +++ b/nuttx/tools/mkconfig.c @@ -214,6 +214,12 @@ int main(int argc, char **argv, char **envp) printf("/* Architecture-specific options *************************/\n\n"); parse_file(stream); printf("\n/* Sanity Checks *****************************************/\n\n"); + printf("/* If this is an NXFLAT, external build, then make sure that\n"); + printf(" * NXFLAT support is enabled in the base code.\n"); + printf(" */\n\n"); + printf("#if defined(__NXFLAT__) && !defined(CONFIG_NXFLAT)\n"); + printf("# error \"NXFLAT support not enabled in this configuration\"\n"); + printf("#endif\n\n"); printf("/* The correct way to disable RR scheduling is to set the\n"); printf(" * timeslice to zero.\n"); printf(" */\n\n"); -- cgit v1.2.3