2 # Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
15 include $(INCLUDE_DIR)/package.mk
20 TITLE:=Utility for opening (analyzing) TRX firmware images
21 MAINTAINER:=Rafał Miłecki <zajec5@gmail.com>
22 DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm53xx)
25 define Package/otrx/description
26 This package contains an utility that allows validating TRX images.
30 $(MAKE) -C $(PKG_BUILD_DIR) \
32 CFLAGS="$(TARGET_CFLAGS) -Wall"
35 define Package/otrx/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/otrx $(1)/usr/bin/
40 $(eval $(call BuildPackage,otrx))