1# 2# Copyright (C) 2008-2011 Broadcom Corporation 3# 4# $Id: Android.mk,v 2.6 2009-05-07 18:25:15 $ 5# 6# Permission to use, copy, modify, and/or distribute this software for any 7# purpose with or without fee is hereby granted, provided that the above 8# copyright notice and this permission notice appear in all copies. 9# 10# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 13# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 15# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 16# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17# 18 19LOCAL_PATH:= $(call my-dir) 20 21include $(CLEAR_VARS) 22LOCAL_SRC_FILES := \ 23 dhdu.c \ 24 dhdu_linux.c \ 25 bcmutils.c \ 26 miniopt.c 27 28LOCAL_MODULE := dhdutil 29LOCAL_CFLAGS := -DSDTEST -DTARGETENV_android -Dlinux -DLINUX 30ifeq ($(TARGET_ARCH),arm) 31LOCAL_CFLAGS += -mabi=aapcs-linux 32endif 33LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include 34 35LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 36LOCAL_MODULE_TAGS := debug 37 38include $(BUILD_EXECUTABLE) 39