2 # Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
15 include $(INCLUDE_DIR)/package.mk
21 TITLE:=RouterBOOT configuration tool
22 DEPENDS:=@TARGET_ar71xx
25 define Package/rbcfg/description
26 This package contains an utility to manipulate RouterBOOT configuration on the
27 MikroTIK RB-4XX devices.
30 define Build/Configure
34 $(MAKE) -C $(PKG_BUILD_DIR) \
36 CFLAGS="$(TARGET_CFLAGS) -Wall" \
37 LDFLAGS="$(TARGET_LDFLAGS)"
40 define Package/rbcfg/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/rbcfg $(1)/usr/sbin/
45 $(eval $(call BuildPackage,rbcfg))