[package] update loop-aes to 3.2h (#6277)
[openwrt/svn-archive/archive.git] / utils / ucmb-tools / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ucmb-tools
10 PKG_RELEASE:=1
11
12 include $(INCLUDE_DIR)/package.mk
13
14
15 define Package/ucmb-tools
16 SECTION:=utils
17 CATEGORY:=Utilities
18 TITLE:=Microcontroller Message Bus tools
19 DEPENDS:=+kmod-ucmb
20 endef
21
22 define Package/ucmb-tools/description
23 Debugging tool for UCMB
24 endef
25
26 define Build/Prepare
27 mkdir -p $(PKG_BUILD_DIR)
28 $(CP) ./tools/* $(PKG_BUILD_DIR)/
29 endef
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include"
34 endef
35
36 define Package/ucmb-tools/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ucmb $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,ucmb-tools))