airoha: fix the case when library is used for mediatel platform, but not mt7915 chip

This commit is contained in:
Elena Vengerova 2023-08-30 19:40:48 +03:00 committed by Janusz Dziedzic
parent 3bb34b88a6
commit 0aae8679c5

View file

@ -57,6 +57,10 @@ else
TARGET_CFLAGS +=-DIOPSYS_MAC80211
endif
ifneq ($(CONFIG_PACKAGE_kmod-mt7915e),)
TARGET_CFLAGS=-DMT7915_VENDOR_EXT
endif
PKG_BUILD_DEPENDS:=PACKAGE_kmod-mt7915e:mt76
ifneq ($(CONFIG_PACKAGE_libwifi),)