package/mac80211: add menuconfig option for enabling debug support via debugfs
[openwrt.git] / package / gpioctl / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=gpioctl
12 PKG_RELEASE:=1
13 PKG_VERSION:=1.0
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/gpioctl
18 SECTION:=utils
19 CATEGORY:=Utilities
20 TITLE:=Tool for controlling gpio pins
21 DEPENDS:=@GPIO_SUPPORT
22 endef
23
24 define Package/gpioctl/description
25 Tool for controlling gpio pins
26 endef
27
28 define Build/Prepare
29 mkdir -p $(PKG_BUILD_DIR)
30 $(CP) ./src/* $(PKG_BUILD_DIR)/
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include"
36 endef
37
38 define Package/gpioctl/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/gpioctl $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,gpioctl))
This page took 0.041615 seconds and 5 git commands to generate.