aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-06-29 13:16:16 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-07-05 23:32:43 +0200
commit42fc4496541acdcaf49bcdf3fcffe247be985fe0 (patch)
tree5fcf6de41dd6b6ea1d6d829b0f0add93dd4fc127 /Makefile.android
parent83c8f4e018e6a5e149c7836a388854255b81617f (diff)
downloadexternal_qemu-42fc4496541acdcaf49bcdf3fcffe247be985fe0.zip
external_qemu-42fc4496541acdcaf49bcdf3fcffe247be985fe0.tar.gz
external_qemu-42fc4496541acdcaf49bcdf3fcffe247be985fe0.tar.bz2
hw-config-defs.h: Remove from source tree + auto-generate
This patch modifies the emulator's build system to place the auto-generated file android/avd/hw-config-defs.h into the build directory. Before that, the file was placed in the source tree. + Fix the standalone build system to properly deal with generated source file dependencies + LOCAL_C_INCLUDES Change-Id: I4e77cd20bf4ca21f79d5dd19f27724bd8be53a79
Diffstat (limited to 'Makefile.android')
-rw-r--r--Makefile.android8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.android b/Makefile.android
index 3b1619b..01cb35b 100644
--- a/Makefile.android
+++ b/Makefile.android
@@ -149,17 +149,17 @@ start-emulator-library = \
$(eval LOCAL_LDLIBS := $(MY_LDLIBS)) \
$(eval LOCAL_MODULE_TAGS := debug) \
$(eval LOCAL_MODULE := $1) \
+ $(eval LOCAL_MODULE_CLASS := STATIC_LIBRARIES)
# Used with start-emulator-library
end-emulator-library = \
- $(eval include $(BUILD_HOST_STATIC_LIBRARY)) \
- $(eval EMULATOR_MODULE_TYPE := STATIC_LIBRARY)
+ $(eval include $(BUILD_HOST_STATIC_LIBRARY))
# A variant of start-emulator-library to start the definition of a host
# program instead. Use with end-emulator-program
start-emulator-program = \
$(call start-emulator-library,$1) \
- $(eval EMULATOR_MODULE_TYPE := EXECUTABLES)
+ $(eval LOCAL_MODULE_CLASS := EXECUTABLES)
# A varient of end-emulator-library for host programs instead
end-emulator-program = \
@@ -251,6 +251,8 @@ LOCAL_SRC_FILES := \
android/protocol/core-commands-proxy.c \
android/protocol/user-events-proxy.c \
+$(call gen-hw-config-defs,android/main-common.c)
+
LOCAL_SRC_FILES += $(SDLMAIN_SOURCES)
LOCAL_STATIC_LIBRARIES += $(SDL_STATIC_LIBRARIES)