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
14 include $(INCLUDE_DIR
)/package.mk
19 TITLE
:=Utility for opening
(analyzing
) TRX firmware images
20 MAINTAINER
:=Rafał Miłecki
<zajec5@gmail.com
>
21 DEPENDS
:=@TARGET_brcm47xx||@TARGET_bcm53xx
24 define Package
/otrx
/description
25 This package contains an utility that allows validating TRX images.
29 mkdir
-p
$(PKG_BUILD_DIR
)
30 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 CFLAGS
="$(TARGET_CFLAGS) -Wall"
39 define Package
/otrx
/install
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/otrx
$(1)/usr
/bin
/
44 $(eval
$(call BuildPackage
,otrx
))