First attempt to clean-up Makefiles.
1. Top (main) makefile defines build configuration variables and export them for sub-makes to use. BAC_ROUTING is defined here - is has been removed from config.h. 2. A new makefile has been added in demo subdirectory. It builds the demo applications. NOTE: the 'ports' target is not build.
This commit is contained in:
@@ -46,9 +46,6 @@
|
||||
#endif
|
||||
|
||||
/* Enable the Gateway (Routing) functionality here, if desired. */
|
||||
#if !defined(BAC_ROUTING)
|
||||
#define BAC_ROUTING 1
|
||||
#endif
|
||||
#if !defined(MAX_NUM_DEVICES)
|
||||
#if BAC_ROUTING
|
||||
#define MAX_NUM_DEVICES 3 /* Eg, Gateway + two remote devices */
|
||||
|
||||
Reference in New Issue
Block a user