firmware-utils: package oseama

It's required by bcm53xx. This allows dropping separated oseama package
and avoids some code duplication.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
Rafał Miłecki
2023-05-22 10:31:34 +02:00
parent 24d6abe2d7
commit 1d9d0ca376
6 changed files with 8 additions and 944 deletions

View File

@@ -21,6 +21,13 @@ define Package/default
DEPENDS:=$(2)
endef
Package/oseama = $(call Package/default,oseama,@TARGET_bcm53xx)
define Package/oseama/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/oseama $(1)/usr/bin/
endef
Package/otrx = $(call Package/default,otrx,@(TARGET_bcm47xx||TARGET_bcm53xx))
define Package/otrx/install
@@ -28,4 +35,5 @@ define Package/otrx/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/otrx $(1)/usr/bin/
endef
$(eval $(call BuildPackage,oseama))
$(eval $(call BuildPackage,otrx))