首先更改文件夹bluez5_utils为bluez5.47_utils,buildroot package里面不能带有类似这样5.47,需要换成5_47,
define BLUEZ5_UTILS_PATCH
echo "patch -p1 -d $(@D) < $(TOPDIR)/package/bluez5_utils/patch_5_47_0001-tools-bneptest.c-Remove-include-linux-if_bridge.h-to"
endef
makefile 里面打patch,需要用字符串,不能直接
define BLUEZ5_UTILS_PATCH
patch -p1 -d $(@D) < $(TOPDIR)/package/bluez5_utils/patch_5_47_0001-tools-bneptest.c-Remove-include-linux-if_bridge.h-to
endef
因为有特殊字符
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_V5_47),y)
include package/bluez5_utils/bluez5_47_mk
endif
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_V5_54),y)
include package/bluez5_utils/bluez5_54_mk
endif
版本区分