diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-06-14 15:26:05 -0700 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-06-14 15:26:05 -0700 |
commit | 45d6d6dfb066398789c0b067be3aaac099699030 (patch) | |
tree | dcd6b082444890a73b499a1a1bf763592296d30c /Makefile.android | |
parent | 377eb2c7c762db6e28fa273ac7e4747a7c9e037e (diff) | |
download | external_qemu-45d6d6dfb066398789c0b067be3aaac099699030.zip external_qemu-45d6d6dfb066398789c0b067be3aaac099699030.tar.gz external_qemu-45d6d6dfb066398789c0b067be3aaac099699030.tar.bz2 |
Moved BLOCK and some hw/* files to emulator core library
Change-Id: I73ed639c5e4e30d39b961721d50c3faf3bd3b177
Diffstat (limited to 'Makefile.android')
-rw-r--r-- | Makefile.android | 43 |
1 files changed, 27 insertions, 16 deletions
diff --git a/Makefile.android b/Makefile.android index 58fc4ff..01e7de3 100644 --- a/Makefile.android +++ b/Makefile.android @@ -157,6 +157,7 @@ LOCAL_CFLAGS += $(ZLIB_CFLAGS) -I$(LOCAL_PATH)/$(ZLIB_DIR) HW_SOURCES := \ android_arm.c \ + arm_boot.c \ arm_pic.c \ bt.c \ bt-hci.c \ @@ -508,6 +509,29 @@ TELEPHONY_SOURCES := android_modem.c modem_driver.c gsm.c sim_card.c sysdeps_qem LOCAL_SRC_FILES += $(TELEPHONY_SOURCES:%=telephony/%) EMULATOR_CORE_CFLAGS += -I$(LOCAL_PATH)/telephony +# include block sources +# +BLOCK_SOURCES := \ + block.c \ + block/qcow.c \ + block/qcow2.c \ + block/qcow2-refcount.c \ + block/qcow2-snapshot.c \ + block/qcow2-cluster.c \ + block/cloop.c \ + block/dmg.c \ + block/vvfat.c \ + +ifeq ($(HOST_OS),windows) + BLOCK_SOURCES += block/raw-win32.c +else + BLOCK_SOURCES += block/raw-posix.c +endif + +# ZLIB is required by "block" on Windows +LOCAL_CFLAGS += $(ZLIB_CFLAGS) -I$(LOCAL_PATH)/$(ZLIB_DIR) +LOCAL_SRC_FILES += $(BLOCK_SOURCES) + LOCAL_CFLAGS := $(MY_CFLAGS) $(LOCAL_CFLAGS) $(EMULATOR_CORE_CFLAGS) include $(BUILD_HOST_STATIC_LIBRARY) @@ -627,16 +651,8 @@ endif # include other sources # VL_SOURCES := vl-android.c osdep.c cutils.c \ - block.c readline.c monitor.c console.c loader.c sockets.c \ + readline.c monitor.c console.c loader.c sockets.c \ aes.c d3des.c \ - block/qcow.c \ - block/qcow2.c \ - block/qcow2-refcount.c \ - block/qcow2-snapshot.c \ - block/qcow2-cluster.c \ - block/cloop.c \ - block/dmg.c \ - block/vvfat.c \ buffered_file.c \ cbuffer.c \ gdbstub.c \ @@ -704,16 +720,11 @@ VL_SOURCES := vl-android.c osdep.c cutils.c \ android/avd/hw-config.c \ android/avd/info.c \ -VL_SOURCES += hw/arm_boot.c \ - hw/android_arm.c \ - ifeq ($(HOST_OS),windows) - VL_SOURCES += block/raw-win32.c \ - migration-dummy-android.c \ + VL_SOURCES += migration-dummy-android.c \ iolooper-select.c else - VL_SOURCES += block/raw-posix.c \ - migration.c \ + VL_SOURCES += migration.c \ migration-exec.c \ migration-tcp-android.c \ iolooper-select.c |