make compilation of sc_heap module dependent
This commit is contained in:
parent
0f20a3c87f
commit
3f983db20a
@ -1,4 +1,4 @@
|
||||
SRC = shell_commands.c sc_id.c sc_heap.c
|
||||
SRC = shell_commands.c sc_id.c
|
||||
INCLUDES = -I../../../core/include -I../../include -I../../../drivers/include/
|
||||
|
||||
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
|
||||
@ -32,6 +32,9 @@ endif
|
||||
ifneq (,$(findstring sht11,$(USEMODULE)))
|
||||
SRC += sc_sht11.c
|
||||
endif
|
||||
ifneq (,$(findstring lpc_common,$(USEMODULE)))
|
||||
SRC += sc_heap.c
|
||||
endif
|
||||
|
||||
OBJ = $(SRC:%.c=$(BINDIR)%.o)
|
||||
DEP = $(SRC:%.c=$(BINDIR)%.d)
|
||||
|
||||
@ -18,8 +18,6 @@
|
||||
* @note $Id: sc_heap.c 3855 2013-09-05 12:40:11 kasmi $
|
||||
*/
|
||||
|
||||
#ifdef MODULE_LPC_COMMON
|
||||
|
||||
extern void heap_stats(void);
|
||||
|
||||
void _heap_handler(char *unused)
|
||||
@ -28,5 +26,3 @@ void _heap_handler(char *unused)
|
||||
heap_stats();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user