[package] block-extroot: r20784 reverted r20735, add it back (#7104)
[openwrt.git] / package / ifenslave / Makefile
1 #
2 # Copyright (C) 2006 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:=ifenslave
12 PKG_RELEASE:=1
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define Package/ifenslave
17 SECTION:=net
18 CATEGORY:=Network
19 DEPENDS:=@LINUX_2_6 +kmod-bonding
20 TITLE:=A utility to manipulate kernel ethernet bonding devices
21 VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
22 URL:=http://www.kernel.org
23 endef
24
25 define Package/ifenslave/description
26 ifenslave is needed to add/remove interfaces to/from ethernet bond devices.
27 endef
28
29 define Build/Prepare
30 endef
31
32 define Build/Compile
33 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/ifenslave \
34 $(LINUX_DIR)/Documentation/networking/ifenslave.c
35 endef
36
37 define Package/ifenslave/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ifenslave $(1)/sbin/
40 endef
41
42 $(eval $(call BuildPackage,ifenslave))
This page took 0.056462 seconds and 5 git commands to generate.