• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2021–2022 Beijing OSWare Technology Co., Ltd
2# This file contains confidential and proprietary information of
3# OSWare Technology Co., Ltd
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9#     http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17MODULE_NAME := ap6212
18
19VENDOR_WIFI_ROOT = .
20
21WIFI_PATH := $(shell pwd)
22$(warning WIFI_PATH=$(WIFI_PATH))
23
24include $(WIFI_PATH)/../../../../../device/board/osware/imx8mm/drivers/wifi/ap6212/wifi_config.mk
25
26$(warning HDF_FRAMEWORKS_INC=$(HDF_FRAMEWORKS_INC))
27$(warning HDF_WIFI_FRAMEWORKS_INC=$(HDF_WIFI_FRAMEWORKS_INC))
28$(warning SECURE_LIB_INC=$(SECURE_LIB_INC))
29$(warning HDF_WIFI_ADAPTER_INC=$(HDF_WIFI_ADAPTER_INC))
30
31obj-y += $(MODULE_NAME).o
32$(MODULE_NAME)-objs := $(VENDOR_WIFI_ROOT)/hdfadapter/hdf_driver_register.o \
33		 $(VENDOR_WIFI_ROOT)/hdfadapter/hdfinit_ap6212.o \
34         $(VENDOR_WIFI_ROOT)/hdfadapter/net_adpater.o \
35         $(VENDOR_WIFI_ROOT)/hdfadapter/hdf_mac80211.o
36
37ccflags-y += \
38    $(HDF_FRAMEWORKS_INC) \
39    $(HDF_WIFI_FRAMEWORKS_INC) \
40    $(SECURE_LIB_INC) \
41	$(HDF_WIFI_ADAPTER_INC)
42