orion: Added initial support for Freecom DT2. Thanks to Zintis.
[openwrt.git] / package / spidev_test / 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 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=spidev-test
13 PKG_RELEASE:=$(LINUX_VERSION)
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/spidev-test
18 SECTION:=utils
19 CATEGORY:=Utilities
20 DEPENDS:=@LINUX_2_6
21 TITLE:=SPI testing utility
22 VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
23 URL:=http://www.kernel.org
24 endef
25
26 define Package/spidev-test/description
27 SPI testing utility.
28 endef
29
30 define Build/Prepare
31 endef
32
33 define Build/Compile
34 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/spidev_test \
35 $(LINUX_DIR)/Documentation/spi/spidev_test.c
36 endef
37
38 define Package/spidev-test/install
39 $(INSTALL_DIR) $(1)/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/spidev_test $(1)/sbin/
41 endef
42
43 $(eval $(call BuildPackage,spidev-test))
This page took 0.046189 seconds and 5 git commands to generate.