This patch adds the Android.mk file necessary to build Android natively Depends on the following patches libpci and libnl are avaialable as shared libs - disable ncurses patch - disable gettext (i18n) patch - misc android build stuff patch
Signed-off-by: John Mathew <[email protected]> --- Android.mk | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..05afeba --- /dev/null +++ b/Android.mk @@ -0,0 +1,70 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := debug +LOCAL_SHARED_LIBRARIES := libstlport \ + libnl \ + libpci \ + +LOCAL_MODULE := powertop + +#LOCAL_CFLAGS += -Wall -O2 -g -fno-omit-frame-pointer -fstack-protector -Wshadow -Wformat -D_FORTIFY_SOURCE=2 +#LOCAL_CPPFLAGS += -Wall -O2 -g -fno-omit-frame-pointer +LOCAL_CPPFLAGS += -DDISABLE_NCURSES -DDISABLE_I18N + +LOCAL_C_INCLUDES += external/stlport/stlport/ external/stlport/stlport/stl external/stlport/stlport/using/h/ bionic external/libnl/include/ + +LOCAL_SRC_FILES += \ + parameters/parameters.cpp \ + parameters/persistent.cpp \ + parameters/learn.cpp \ + process/powerconsumer.cpp \ + process/work.cpp \ + process/process.cpp \ + process/timer.cpp \ + process/device.cpp \ + process/interrupt.cpp \ + process/do_process.cpp \ + cpu/intel_cpus.cpp \ + cpu/cpu.cpp \ + cpu/cpu_linux.cpp \ + cpu/cpudevice.cpp \ + cpu/cpu_core.cpp \ + cpu/cpu_package.cpp \ + cpu/abstract_cpu.cpp \ + measurement/measurement.cpp \ + measurement/acpi.cpp \ + measurement/extech.cpp \ + measurement/power_supply.cpp \ + display.cpp \ + html.cpp \ + main.cpp \ + tuning/tuning.cpp \ + tuning/usb.cpp \ + tuning/bluetooth.cpp \ + tuning/ethernet.cpp \ + tuning/runtime.cpp \ + tuning/iw.c \ + tuning/iw.h \ + tuning/tunable.cpp \ + tuning/sysfs.cpp \ + tuning/cpufreq.cpp \ + tuning/wifi.cpp \ + perf/perf_bundle.cpp \ + perf/perf.cpp \ + devices/thinkpad-fan.cpp \ + devices/alsa.cpp \ + devices/runtime_pm.cpp \ + devices/usb.cpp \ + devices/ahci.cpp \ + devices/rfkill.cpp \ + devices/thinkpad-light.cpp \ + devices/i915-gpu.cpp \ + devices/backlight.cpp \ + devices/network.cpp \ + devices/device.cpp \ + devlist.cpp \ + calibrate/calibrate.cpp \ + lib.cpp \ + +include $(BUILD_EXECUTABLE) -- 1.7.1 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ Power mailing list [email protected] https://bughost.org/mailman/listinfo/power
