2009-03-04 04:32:14 +01:00
|
|
|
# Copyright 2006 The Android Open Source Project
|
|
|
|
|
|
|
|
# Setting LOCAL_PATH will mess up all-subdir-makefiles, so do it beforehand.
|
2011-04-20 01:09:19 +02:00
|
|
|
legacy_modules := power uevent vibrator wifi qemu qemu_tracing
|
|
|
|
|
|
|
|
SAVE_MAKEFILES := $(call all-named-subdir-makefiles,$(legacy_modules))
|
2011-04-20 01:15:44 +02:00
|
|
|
LEGACY_AUDIO_MAKEFILES := $(call all-named-subdir-makefiles,audio)
|
2009-03-04 04:32:14 +01:00
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2011-04-16 04:36:35 +02:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libwpa_client
|
2009-03-04 04:32:14 +01:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += $(LOCAL_PATH)
|
|
|
|
|
2011-07-12 07:12:24 +02:00
|
|
|
LOCAL_CFLAGS += -DQEMU_HARDWARE
|
|
|
|
QEMU_HARDWARE := true
|
2009-03-04 04:32:14 +01:00
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES += libdl
|
|
|
|
|
|
|
|
include $(SAVE_MAKEFILES)
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libhardware_legacy
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2010-03-09 16:43:16 +01:00
|
|
|
|
|
|
|
# static library for librpc
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libpower
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES += power/power.c
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
2011-04-16 04:37:35 +02:00
|
|
|
|
|
|
|
# shared library for various HALs
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := libpower
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := power/power.c
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2011-04-20 01:15:44 +02:00
|
|
|
|
|
|
|
# legacy_audio builds it's own set of libraries that aren't linked into
|
|
|
|
# hardware_legacy
|
|
|
|
include $(LEGACY_AUDIO_MAKEFILES)
|