2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
12 include $(INCLUDE_DIR)/package.mk
15 define Package/ucmb-tools
18 TITLE:=Microcontroller Message Bus tools
20 MAINTAINER:=Michael Buesch <mb@bu3sch.de>
23 define Package/ucmb-tools/description
24 Debugging tool for UCMB
28 $(CP) ./tools/* $(PKG_BUILD_DIR)/
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include"
36 define Package/ucmb-tools/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ucmb $(1)/usr/bin/
41 $(eval $(call BuildPackage,ucmb-tools))