Home | History | Annotate | Download | only in dhdutil
      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 
     19 LOCAL_PATH:= $(call my-dir)
     20 
     21 include $(CLEAR_VARS)
     22 LOCAL_SRC_FILES := \
     23 	dhdu.c \
     24 	dhdu_linux.c \
     25 	bcmutils.c \
     26 	miniopt.c
     27 
     28 LOCAL_MODULE := dhdutil
     29 LOCAL_CFLAGS := -DSDTEST -DTARGETENV_android -Dlinux -DLINUX
     30 ifeq ($(TARGET_ARCH),arm)
     31 LOCAL_CFLAGS += -mabi=aapcs-linux
     32 endif
     33 LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include
     34 
     35 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
     36 LOCAL_MODULE_TAGS := debug
     37 
     38 include $(BUILD_EXECUTABLE)
     39