mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Simplify the makefile configuration
Change-Id: I826916e0d0b23f7429a66dfa7001b19dcc53080a
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
# You can edit this file to change build settings
|
||||
# You can override those settings on the command line
|
||||
|
||||
PLATFORM ?= device
|
||||
VERBOSE ?= 0
|
||||
DEBUG ?= 1
|
||||
LIBA_LOG_DYNAMIC_MEMORY ?= 0
|
||||
ESCHER_LOG_EVENTS ?= 0
|
||||
ION_EVENTS ?= keyboard
|
||||
# Possible values : keyboard, stdin, random, replay
|
||||
|
||||
# Do not edit below this
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
SFLAGS += -Iescher/include
|
||||
|
||||
ifeq ($(ESCHER_LOG_EVENTS),1)
|
||||
SFLAGS += -DESCHER_LOG_EVENTS=1
|
||||
endif
|
||||
|
||||
objs += $(addprefix escher/src/,\
|
||||
alternate_empty_view_controller.o\
|
||||
app.o\
|
||||
|
||||
@@ -4,7 +4,6 @@ include ion/src/$(PLATFORM)/Makefile
|
||||
objs += $(addprefix ion/src/shared/, \
|
||||
c.o \
|
||||
events.o \
|
||||
events_$(ION_EVENTS).o \
|
||||
)
|
||||
|
||||
tests += $(addprefix ion/test/,\
|
||||
|
||||
@@ -2,6 +2,7 @@ objs += $(addprefix ion/src/blackbox/, boot.o ion.o)
|
||||
objs += $(addprefix ion/src/shared/, \
|
||||
crc32.o \
|
||||
events.o \
|
||||
events_stdin.o \
|
||||
log_printf.o \
|
||||
power.o \
|
||||
)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
include ion/src/device/boot/Makefile
|
||||
|
||||
objs += $(addprefix ion/src/shared/, \
|
||||
events_keyboard.o \
|
||||
)
|
||||
|
||||
objs += $(addprefix ion/src/device/, \
|
||||
backlight.o \
|
||||
battery.o\
|
||||
|
||||
@@ -5,5 +5,6 @@ objs += $(addprefix ion/src/emscripten/, \
|
||||
objs += $(addprefix ion/src/shared/, \
|
||||
crc32.o \
|
||||
events.o \
|
||||
events_keyboard.o \
|
||||
power.o \
|
||||
)
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void Ion::Log::print(const char * message) {
|
||||
printf("%s\n", message);
|
||||
printf("%s", message);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ objs += $(addprefix ion/src/simulator/keyboard/, fltkkbd.o)
|
||||
|
||||
objs += $(addprefix ion/src/shared/, \
|
||||
crc32.o \
|
||||
events_keyboard.o \
|
||||
log_printf.o \
|
||||
power.o \
|
||||
)
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
SFLAGS += -Iliba/include
|
||||
|
||||
ifeq ($(LIBA_LOG_DYNAMIC_MEMORY),1)
|
||||
SFLAGS += -DLIBA_LOG_DYNAMIC_MEMORY=1
|
||||
endif
|
||||
|
||||
liba/src/external/sqlite/mem5.o: CFLAGS += -w
|
||||
|
||||
objs += $(addprefix liba/src/, \
|
||||
|
||||
Reference in New Issue
Block a user