11bd4fe43Sopenharmony_ci#
21bd4fe43Sopenharmony_ci# Copyright (C) 2021-2022 HiSilicon (Shanghai) Technologies CO., LIMITED.
31bd4fe43Sopenharmony_ci#
41bd4fe43Sopenharmony_ci# This program is free software; you can redistribute it and/or
51bd4fe43Sopenharmony_ci# modify it under the terms of the GNU General Public License
61bd4fe43Sopenharmony_ci# as published by the Free Software Foundation; either version 2
71bd4fe43Sopenharmony_ci# of the License, or (at your option) any later version.
81bd4fe43Sopenharmony_ci#
91bd4fe43Sopenharmony_ci# This program is distributed in the hope that it will be useful,
101bd4fe43Sopenharmony_ci# but WITHOUT ANY WARRANTY; without even the implied warranty of
111bd4fe43Sopenharmony_ci# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
121bd4fe43Sopenharmony_ci# GNU General Public License for more details.
131bd4fe43Sopenharmony_ci#
141bd4fe43Sopenharmony_ci# You should have received a copy of the GNU General Public License
151bd4fe43Sopenharmony_ci# along with this program; if not, write to the Free Software
161bd4fe43Sopenharmony_ci# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
171bd4fe43Sopenharmony_ci#
181bd4fe43Sopenharmony_ci
191bd4fe43Sopenharmony_ciinclude $(LITEOSTOPDIR)/config.mk
201bd4fe43Sopenharmony_ciinclude $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/lite.mk
211bd4fe43Sopenharmony_ci
221bd4fe43Sopenharmony_ciMODULE_NAME := hdf_vendor_wifi
231bd4fe43Sopenharmony_ciVENDOR_WIFI_ROOT = .
241bd4fe43Sopenharmony_ciHDM_WIFI_ROOT = $(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/network/wifi
251bd4fe43Sopenharmony_ci
261bd4fe43Sopenharmony_ciLOCAL_INCLUDE = $(HDM_WIFI_ROOT)/include \
271bd4fe43Sopenharmony_ci                $(HDM_WIFI_ROOT)/platform/include \
281bd4fe43Sopenharmony_ci                $(HDM_WIFI_ROOT)/core \
291bd4fe43Sopenharmony_ci                $(LITEOSTOPDIR)/../../drivers/peripheral/wlan/client/include \
301bd4fe43Sopenharmony_ci                $(VENDOR_WIFI_ROOT)/driver/linuxkpi/include
311bd4fe43Sopenharmony_ci
321bd4fe43Sopenharmony_ciLOCAL_SRCS += $(wildcard adapter/*.c)
331bd4fe43Sopenharmony_ci
341bd4fe43Sopenharmony_ciLOCAL_CFLAGS += -fstack-protector-strong -fno-common -fsigned-char -fno-strict-aliasing
351bd4fe43Sopenharmony_ci
361bd4fe43Sopenharmony_ciinclude $(HDF_DRIVER)
37