peripheral_manager: Remove bcmkernel dependency

As Broadcom has moved to standard interfaces, peripheral_manager no
longer depends on Broadcom headers or executables.

Remove the dependency and preprocessor options.
This commit is contained in:
Andreas Gnau 2021-04-27 14:21:40 +02:00
parent 020c8f29e1
commit 362fb7b238

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=peripheral_manager PKG_NAME:=peripheral_manager
PKG_VERSION:=1.0.5 PKG_VERSION:=1.0.6
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE_VERSION:=785166a9861a119623556163179915727896156b PKG_SOURCE_VERSION:=785166a9861a119623556163179915727896156b
@ -38,27 +38,15 @@ define Package/peripheral_manager
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Application deamon for handling of peripheral TITLE:=Application deamon for handling of peripheral
URL:= URL:=
DEPENDS:=+libuci +libubus +libblobmsg-json @+PACKAGE_bcmkernel:bcmkernel PACKAGE_bcmkernel:bcmkernel DEPENDS:=+libuci +libubus +libblobmsg-json
endef endef
define Package/peripheral_manager/description define Package/peripheral_manager/description
Application handling peripheral Application handling peripheral
endef endef
TARGET_CFLAGS := \
-I$(STAGING_DIR)/usr/include/bcm963xx/shared/opensource/include/bcm963xx \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
$(TARGET_CFLAGS)
PERIPHERAL_OPTONS:=-DSELECT_BRCM_BOARD=0
ifneq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),)
PERIPHERAL_OPTONS:= -DSELECT_BRCM_BOARD=1
endif
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DCMAKE_BUILD_TYPE:String="Release" \ -DCMAKE_BUILD_TYPE:String="Release" \
$(PERIPHERAL_OPTONS) \
define Package/peripheral_manager/install define Package/peripheral_manager/install
$(CP) ./files/* $(1)/ $(CP) ./files/* $(1)/