[kernel] add missing 2.6.30 HID configuration symbols
[openwrt.git] / package / kexec-tools / Makefile
1 #
2 # Copyright (C) 2006-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
10 PKG_NAME:=kexec-tools
11 PKG_VERSION:=2.0.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/horms/kexec-tools
16 PKG_MD5SUM:=d9f2ecd3c3307905f24130a25816e6cc
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/kexec-tools
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=@armeb||@i386||@TARGET_ps3||@mipsel||@mips +zlib
24 TITLE:=Kernel boots kernel
25 URL:=http://kernel.org/pub/linux/kernel/people/horms/kexec-tools/
26 MENU:=1
27 endef
28
29 define Package/kexec-tools/description
30 kexec is a set of systems call that allows you to load
31 another kernel from the currently executing Linux kernel.
32 endef
33
34 define Package/kexec-tools/config
35 source "$(SOURCE)/kexec-config.in"
36 endef
37
38 KEXEC_TARGET_NAME:=$(call qstrip,$(CONFIG_KEXEC_TOOLS_TARGET_NAME))-linux-$(TARGET_SUFFIX)
39
40 CONFIGURE_ARGS = \
41 --target=$(KEXEC_TARGET_NAME) \
42 --host=$(REAL_GNU_TARGET_NAME) \
43 --build=$(GNU_HOST_NAME) \
44 --program-prefix="" \
45 --program-suffix="" \
46 --prefix=/usr \
47 --exec-prefix=/usr \
48 --bindir=/usr/bin \
49 --sbindir=/usr/sbin \
50 --libexecdir=/usr/lib \
51 --sysconfdir=/etc \
52
53 CONFIGURE_VARS += \
54 BUILD_CC="$(HOSTCC)" \
55 TARGET_CC="$(TARGET_CC)" \
56
57 define Build/Compile
58 $(MAKE) -C $(PKG_BUILD_DIR) all
59 endef
60
61 define Package/kexec-tools/install
62 $(MAKE) -C $(PKG_BUILD_DIR) \
63 DESTDIR="$(1)" \
64 install
65 rm -rf $(1)/usr/man
66 endef
67
68 $(eval $(call BuildPackage,kexec-tools))
This page took 0.043344 seconds and 5 git commands to generate.