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