# HG changeset patch # User Tom Sutcliffe # Date 1286978835 -3600 # Node ID 6a26ca985d9042aeb4eb5deb792671ec413d20c0 # Parent 84fefe1cd57fec2175724f5e598449586cd71c3c patch for NCP diff -r 84fefe1cd57f -r 6a26ca985d90 build/common/common.mmh --- a/build/common/common.mmh Wed Oct 13 12:53:17 2010 +0100 +++ b/build/common/common.mmh Wed Oct 13 15:07:15 2010 +0100 @@ -91,6 +91,9 @@ #ifndef FSHELL_NO_SPCRE_SUPPORT #define FSHELL_SPCRE_SUPPORT #endif +#ifndef FSHELL_NO_HTTP_SUPPORT +#define FSHELL_HTTP_SUPPORT +#endif // // PlatSec. @@ -268,7 +271,7 @@ #define FSHELL_CORE_SUPPORT_PLAY #endif -#ifdef FSHELL_COMMS_SUPPORT +#if defined(FSHELL_COMMS_SUPPORT) && defined(FSHELL_HTTP_SUPPORT) #define FSHELL_CORE_SUPPORT_WGET #endif diff -r 84fefe1cd57f -r 6a26ca985d90 build/ncp/platform.mmh --- a/build/ncp/platform.mmh Wed Oct 13 12:53:17 2010 +0100 +++ b/build/ncp/platform.mmh Wed Oct 13 15:07:15 2010 +0100 @@ -21,5 +21,6 @@ #define FSHELL_FLEXIBLEMM_AWARE #define FSHELL_ARM11XX_SUPPORT #define FSHELL_TRACECORE_SUPPORT +#define FSHELL_NO_HTTP_SUPPORT // wk38 mislaid httpstringconstants.h #endif // FSHELL_PLATFORM_MMH diff -r 84fefe1cd57f -r 6a26ca985d90 documentation/common_mmh.pod --- a/documentation/common_mmh.pod Wed Oct 13 12:53:17 2010 +0100 +++ b/documentation/common_mmh.pod Wed Oct 13 15:07:15 2010 +0100 @@ -222,6 +222,10 @@ The TraceCore APIs are available. +=item FSHELL_[NO_]HTTP_SUPPORT + +The HTTP libraries and all associated headers are available. + =back A couple of further macros follow - these are specifically for platforms that provide an custom implementation of the relevant command rather than using fshell's built-in version.