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>
(cherry picked from commit 1d9d0ca376)
This commit is contained in:
Rafał Miłecki
2023-05-22 10:31:34 +02:00
parent 40bd2bb3d6
commit d6b62611b8
6 changed files with 8 additions and 944 deletions

View File

@@ -23,6 +23,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
@@ -30,4 +37,5 @@ define Package/otrx/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/otrx $(1)/usr/bin/
endef
$(eval $(call BuildPackage,oseama))
$(eval $(call BuildPackage,otrx))