From 13682a07edb28985ab337f5796dba6cbda205f91 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Wed, 23 Jun 2010 16:39:44 -0700 Subject: Combine UI sources under one variable. Also move couple of src files under ./android to the list of core src. Change-Id: Id765a81f206b457d17366c83fc8c8f5870369a72 --- Makefile.android | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Makefile.android b/Makefile.android index 10baf34..1e83e3b 100644 --- a/Makefile.android +++ b/Makefile.android @@ -602,7 +602,9 @@ endif # misc. sources # -CORE_MISC_SOURCES = +CORE_MISC_SOURCES = android/boot-properties.c \ + android/hw-kmsg.c \ + ifeq ($(HOST_ARCH),x86) CORE_MISC_SOURCES += i386-dis.c endif @@ -628,6 +630,17 @@ CORE_SOURCES = $(CORE_BLOCK_SOURCES) $(CORE_HW_SOURCES) CORE_SOURCES += $(CORE_MIGRATION_SOURCES) $(CORE_MISC_SOURCES) ############################################################################## +# lists of source files used to build the emulator UI +# + +UI_SOURCES = android/user-config.c \ + android/resource.c \ + android/charmap.c \ + android/qemulator.c \ + android/keycode.c \ + android/hw-lcd.c \ + +############################################################################## # now build the emulator itself # include $(CLEAR_VARS) @@ -729,8 +742,6 @@ VL_SOURCES := vl-android.c osdep.c cutils.c \ qlist.c \ qstring.c \ user-events-qemu.c \ - android/boot-properties.c \ - android/charmap.c \ android/cmdline-option.c \ android/config.c \ android/console.c \ @@ -738,15 +749,9 @@ VL_SOURCES := vl-android.c osdep.c cutils.c \ android/help.c \ android/hw-control.c \ android/hw-events.c \ - android/hw-kmsg.c \ - android/hw-lcd.c \ android/hw-qemud.c \ android/hw-sensors.c \ - android/keycode.c \ android/main.c \ - android/qemulator.c \ - android/resource.c \ - android/user-config.c \ android/utils/bufprint.c \ android/utils/debug.c \ android/utils/dirscanner.c \ @@ -771,7 +776,7 @@ ifeq ($(HOST_OS),freebsd) LOCAL_LDLIBS += -L/usr/local/lib -lpthread -lX11 -lutil endif -LOCAL_SRC_FILES += $(VL_SOURCES) $(CORE_SOURCES) +LOCAL_SRC_FILES += $(VL_SOURCES) $(CORE_SOURCES) $(UI_SOURCES) ifeq ($(HOST_OS),linux) LOCAL_LDLIBS += -lutil -lrt -- cgit v1.1