Kernel: correctly set USE_ defines from Makefile
Without defining these to 1, #if statements on them will fail. Change-Id: Ifc4824a6ffacc4bebcfd6f1110c864d7eb16401a
This commit is contained in:
parent
a082b2af62
commit
efa7e3e6d2
|
@ -49,20 +49,20 @@ SRCS+= smp.c
|
||||||
|
|
||||||
.if ${USE_WATCHDOG} != "no"
|
.if ${USE_WATCHDOG} != "no"
|
||||||
SRCS+= watchdog.c
|
SRCS+= watchdog.c
|
||||||
CPPFLAGS+= -DUSE_WATCHDOG
|
CPPFLAGS+= -DUSE_WATCHDOG=1
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Extra debugging routines
|
# Extra debugging routines
|
||||||
.if ${USE_SYSDEBUG} != "no"
|
.if ${USE_SYSDEBUG} != "no"
|
||||||
SRCS+= debug.c
|
SRCS+= debug.c
|
||||||
CPPFLAGS+= -DUSE_SYSDEBUG
|
CPPFLAGS+= -DUSE_SYSDEBUG=1
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# These come last, so the profiling buffer is at the end of the data segment
|
# These come last, so the profiling buffer is at the end of the data segment
|
||||||
SRCS+= profile.c do_sprofile.c
|
SRCS+= profile.c do_sprofile.c
|
||||||
|
|
||||||
.if ${USE_LIVEUPDATE} != "no"
|
.if ${USE_LIVEUPDATE} != "no"
|
||||||
CPPFLAGS+= -DUSE_UPDATE
|
CPPFLAGS+= -DUSE_UPDATE=1
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CLEANFILES+=extracted-errno.h extracted-mfield.h extracted-mtype.h procoffsets.h
|
CLEANFILES+=extracted-errno.h extracted-mfield.h extracted-mtype.h procoffsets.h
|
||||||
|
|
Loading…
Reference in a new issue