maemo-kexec: Rename script to bootmaemo.
[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 MAINTAINER:=Michael Buesch <mb@bu3sch.de>
21 endef
22
23 define Package/ucmb-tools/description
24 Debugging tool for UCMB
25 endef
26
27 define Build/Prepare
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))