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 17ETHERNET_CONFIG_PATH := $(shell pwd) 18$(warning ETHERNET_CONFIG_PATH=$(ETHERNET_CONFIG_PATH)) 19 20HDF_FRAMEWORKS_INC := \ 21 -I./ \ 22 -Idrivers/hdf/framework/ability/sbuf/include \ 23 -Idrivers/hdf/framework/core/common/include/host \ 24 -Idrivers/hdf/framework/core/host/include \ 25 -Idrivers/hdf/framework/core/manager/include \ 26 -Idrivers/hdf/framework/core/shared/include \ 27 -Idrivers/hdf/framework/include \ 28 -Idrivers/hdf/framework/include/config \ 29 -Idrivers/hdf/framework/include/core \ 30 -Idrivers/hdf/framework/include/platform \ 31 -Idrivers/hdf/framework/include/utils \ 32 -Idrivers/hdf/framework/support/platform/include \ 33 -Idrivers/hdf/framework/support/platform/include/platform \ 34 -Idrivers/hdf/framework/utils/include \ 35 -Idrivers/hdf/inner_api/osal/shared \ 36 -Idrivers/hdf/inner_api/host/shared \ 37 -Idrivers/hdf/inner_api/utils \ 38 -Idrivers/hdf/inner_api/core \ 39 -Idrivers/hdf/khdf/osal/include \ 40 -Idrivers/hdf/khdf/config/include \ 41 -Iinclude/hdf \ 42 -Iinclude/hdf/osal \ 43 -Iinclude/hdf/utils \ 44 -Idrivers/hdf/framework/include/ethernet\ 45 -Idrivers/hdf/framework/include/net\ 46 -Idrivers/hdf/framework/model/network/common/netdevice\ 47 48HDF_ETHERNET_FRAMEWORKS_INC := \ 49 -Idrivers/hdf/framework/model/network/ethernet/include 50 51SECURE_LIB_INC := \ 52 -I./../../../../../third_party/bounds_checking_function/include 53 54HDF_ETHERNET_ADAPTER_INC := \ 55 -I./../../../../../device/board/osware/imx8mm/drivers/ethernet \ 56 -Idrivers/hdf/khdf/network/include \ 57 -Idrivers/net/ethernet/freescale/ 58 59HDF_ETHERNET_FLAGS +=-D_PRE_OS_VERSION_LINUX=1 60HDF_ETHERNET_FLAGS +=-D_PRE_OS_VERSION_LITEOS=2 61HDF_ETHERNET_FLAGS +=-D_PRE_OS_VERSION=_PRE_OS_VERSION_LINUX 62