• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2008 Broadcom Corporation
3#
4# $Id: Android.mk,v 2.1.4.3 2009/05/07 18:48:19 Exp $
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10#      http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18
19ifneq ($(TARGET_SIMULATOR),true)
20
21LOCAL_PATH:= $(call my-dir)
22
23include $(CLEAR_VARS)
24LOCAL_SRC_FILES := \
25	dhd/exe/dhdu.c \
26	dhd/exe/dhdu_linux.c \
27	shared/bcmutils.c \
28	shared/miniopt.c
29
30LOCAL_MODULE := dhdutil
31LOCAL_CFLAGS := -DSDTEST -DTARGETENV_android -Dlinux -DLINUX -mabi=aapcs-linux
32LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include $(LOCAL_PATH)/../../../../kernel/include
33# LOCAL_FORCE_STATIC_EXECUTABLE := true
34# LOCAL_STATIC_LIBRARIES := libc
35LOCAL_SHARED_LIBRARIES := libc
36LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
37LOCAL_MODULE_TAGS := debug tests
38
39include $(BUILD_EXECUTABLE)
40
41endif  # TARGET_SIMULATOR != true
42