2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://kernel.org
/pub
/linux
/kernel
/people
/horms
/kexec-tools
/
16 PKG_MD5SUM
:=d9f2ecd3c3307905f24130a25816e6cc
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/kexec-tools
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
/
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.
34 define Package
/kexec-tools
/config
35 source
"$(SOURCE)/kexec-config.in"
39 --target
=$(CONFIG_KEXEC_TOOLS_TARGET_NAME
)-linux-
$(TARGET_SUFFIX
) \
40 --host
=$(GNU_TARGET_NAME
)-uclibc \
41 --build
=$(GNU_HOST_NAME
) \
48 --libexecdir
=/usr
/lib \
52 BUILD_CC
="$(HOSTCC)" \
53 TARGET_CC
="$(TARGET_CC)" \
56 $(MAKE
) -C
$(PKG_BUILD_DIR
) all
59 define Package
/kexec-tools
/install
60 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
66 $(eval
$(call BuildPackage
,kexec-tools
))