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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user