2 # Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
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
17 define Package/osafeloader
20 TITLE:=Utility for handling TP-LINK SafeLoader images
21 MAINTAINER:=Rafał Miłecki <rafal@milecki.pl>
22 DEPENDS:=@TARGET_bcm53xx
25 define Package/osafeloader/description
26 This package contains an utility that allows handling SafeLoader images.
30 $(MAKE) -C $(PKG_BUILD_DIR) \
32 CFLAGS="$(TARGET_CFLAGS) -Wall"
35 define Package/osafeloader/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/osafeloader $(1)/usr/bin/
40 $(eval $(call BuildPackage,osafeloader))