From: hwg Date: Wed, 30 Nov 2011 11:15:43 +0000 (+0800) Subject: delete ar6003/host/Android.mk X-Git-Tag: firefly_0821_release~9733^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8389ffe00bf68778101e51c5d4023d0fde443dd1;p=firefly-linux-kernel-4.4.55.git delete ar6003/host/Android.mk --- diff --git a/drivers/net/wireless/ar6003/host/Android.mk b/drivers/net/wireless/ar6003/host/Android.mk deleted file mode 100644 index cccadb6137bb..000000000000 --- a/drivers/net/wireless/ar6003/host/Android.mk +++ /dev/null @@ -1,125 +0,0 @@ -#------------------------------------------------------------------------------ -# -# Copyright (c) 2005-2010 Atheros Corporation. All rights reserved. -# -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# -# -#------------------------------------------------------------------------------ -#============================================================================== -# Author(s): ="Atheros" -#============================================================================== - -ifneq ($(TARGET_SIMULATOR),true) - -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -ATH_ANDROID_SRC_BASE:= $(BOARD_WLAN_ATHEROS_SDK) -export ATH_BUILD_TYPE=ANDROID_ARM_NATIVEMMC -export ATH_BUS_TYPE=sdio -export ATH_OS_SUB_TYPE=linux_2_6 - -ATH_ANDROID_ROOT:= $(CURDIR) -export ATH_SRC_BASE:=$(ATH_ANDROID_ROOT)/$(BOARD_WLAN_ATHEROS_SDK)/host -#ATH_CROSS_COMPILE_TYPE:=$(ATH_ANDROID_ROOT)/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- -ATH_TARGET_OUTPUT:=$(ATH_ANDROID_ROOT) - -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),qsd8250_surf qsd8250_ffa msm7627_surf msm7627_ffa msm7627a msm7625_ffa msm7625_surf msm7630_surf)) -export ATH_LINUXPATH=$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ -ATH_CROSS_COMPILE_TYPE:=$(ATH_ANDROID_ROOT)/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- -endif - -ifndef ATH_LINUXPATH -#check for Nvidia-base platform -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),harmony ventana)) -export ATH_LINUXPATH=$(ATH_ANDROID_ROOT)/$(TARGET_OUT_INTERMEDIATES)/KERNEL -ATH_CROSS_COMPILE_TYPE:=$(CROSS_COMPILE) -endif -endif - -ifndef ATH_LINUXPATH -#check for IMX51 platform -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),imx51_bbg)) -export ATH_LINUXPATH=$(ATH_ANDROID_ROOT)/kernel_imx -ATH_CROSS_COMPILE_TYPE:=$(ATH_ANDROID_ROOT)/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- -endif -endif - - -ifndef ATH_LINUXPATH -# Comment out the following variable and $(error) for your platform -# Link your kernel into android SDK directory as 'kernel' directory -# export ATH_LINUXPATH= [Your android/kernel path ] -ATH_CROSS_COMPILE_TYPE:=$(ATH_ANDROID_ROOT)/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- -$(error define your kernel path here for ATH_LINUXPATH) -endif - -export ATH_ARCH_CPU_TYPE=arm -export ATH_BUS_SUBTYPE=linux_sdio -export ATH_ANDROID_ENV=yes -export ATH_SOFTMAC_FILE_USED=no -export ATH_CFG80211_ENV=no -export ATH_DEBUG_DRIVER=yes -export ATH_HTC_RAW_INT_ENV=yes -export ATH_AR6K_OTA_TEST_MODE=no -export ATH_BUILD_P2P=yes - -ATH_HIF_TYPE:=sdio - -ifneq ($(PLATFORM_VERSION),$(filter $(PLATFORM_VERSION),1.5 1.6)) - -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),msm7627_surf msm7627_ffa GT-I5500)) -ATH_ANDROID_BUILD_FLAGS=-D__LINUX_ARM_ARCH__=6 -march=armv6 -DUSE_4BYTE_REGISTER_ACCESS -#-fstack-check="generic" -endif - -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),qsd8250_surf qsd8250_ffa msm7630_surf smdkc100)) -ATH_ANDROID_BUILD_FLAGS=-D__LINUX_ARM_ARCH__=7 -march=armv7-a -DUSE_4BYTE_REGISTER_ACCESS -#-fstack-check="generic" -endif - -endif # ECLAIR - -ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),smdk6410)) -ATH_ANDROID_BUILD_FLAGS += -DATH6KL_CONFIG_HIF_VIRTUAL_SCATTER -endif - -#Uncomment the following define in order to enable OTA mode -#ATH_ANDROID_BUILD_FLAGS += -DATH6K_CONFIG_OTA_MODE - -export ATH_ANDROID_BUILD_FLAGS - -mod_cleanup := $(ATH_TARGET_OUTPUT)/$(ATH_ANDROID_SRC_BASE)/dummy - -$(mod_cleanup) : - rm -f `find $(ATH_TARGET_OUTPUT)/$(ATH_ANDROID_SRC_BASE) -name "*.o"` - mkdir -p $(TARGET_OUT)/wifi/ath6k/AR6003/hw2.0/ - -mod_file := os/linux/ar6000.ko -$(ATH_ANDROID_SRC_BASE)/host/$(mod_file) : $(mod_cleanup) $(TARGET_PREBUILT_KERNEL) $(ACP) - $(MAKE) ARCH=arm CROSS_COMPILE=$(ATH_CROSS_COMPILE_TYPE) -C $(ATH_LINUXPATH) ATH_HIF_TYPE=$(ATH_HIF_TYPE) SUBDIRS=$(ATH_SRC_BASE)/os/linux modules - $(ATH_CROSS_COMPILE_TYPE)strip -g -S -d $(ATH_ANDROID_SRC_BASE)/host/$(mod_file) - $(ACP) -fpt $(ATH_ANDROID_SRC_BASE)/host/$(mod_file) $(TARGET_OUT)/wifi - -LOCAL_MODULE := ar6000.ko -LOCAL_MODULE_TAGS := debug eng optional -LOCAL_MODULE_CLASS := ETC -LOCAL_MODULE_PATH := $(TARGET_OUT)/wifi -LOCAL_SRC_FILES := $(mod_file) -include $(BUILD_PREBUILT) - -include $(LOCAL_PATH)/tools/Android.mk - -endif