2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=testing-20080227
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://kernel.org
/pub
/linux
/kernel
/people
/horms
/kexec-tools
/
17 PKG_MD5SUM
:=45455af789545fdfaff2401d1988996a
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/kexec-tools
24 DEPENDS
:=@i386||@powerpc
+zlib
25 TITLE
:=Kernel boots kernel
26 URL
:=http
://kernel.org
/pub
/linux
/kernel
/people
/horms
/kexec-tools
/
30 define Package
/kexec-tools
/description
31 kexec is a set of systems call that allows you to load
32 another kernel from the currently executing Linux kernel.
35 define Package
/kexec-tools
/config
36 source
"$(SOURCE)/kexec-config.in"
40 --target
=$(CONFIG_KEXEC_TOOLS_TARGET_NAME
)-linux-uclibc \
41 --host
=$(GNU_TARGET_NAME
)-uclibc \
42 --build
=$(GNU_HOST_NAME
) \
49 --libexecdir
=/usr
/lib \
52 CONFIGURE_VARS
+= BUILD_CC
=$(HOSTCC
)
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) all
58 define Package
/kexec-tools
/install
59 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
65 $(eval
$(call BuildPackage
,kexec-tools
))