- `export DEBUG_BUILD=yes` will enable a debug build, any other value
will disable DWARF debug.
ASFLAGS += -D ARCH=\"$(ARCH)\"
LDFLAGS += -T arch/$(ARCHDIR)/link.ld
-if $(KERNEL_DEBUG) != "" then
+ifeq ($(DEBUG_BUILD),yes)
LDFLAGS += -g
-if $(KERNEL_DEBUG) != "" then
CFLAGS += -g
+endif
OBJ = $(addprefix arch/$(ARCHDIR)/,$(A_OBJ))
OBJ += heap.o messages.o debug.o modules.o lib.o syscalls.o system.o threads.o drvutil.o
-BUILD_NUM = 1124
+BUILD_NUM = 1128
* Architecture Independent System Init
* system.c
*/
-#define DEBUG 1
+#define DEBUG 0
#include <common.h>
// === TYPES ===
-include ../../../Makefile.cfg
# satisfying 2 deep applications
-if $(ACESSDIR) == "" then
+ifeq ($(ACESSDIR),)
-include ../../../../Makefile.cfg
-#endif
+endif
ACESSUSERDIR := $(ACESSDIR)/Usermode
ASFLAGS = -felf