Root/kexecboot/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=kexecboot
8PKG_VERSION:=git
9PKG_REV:=ed2ccf8a61d3fa5c9e2dbb6142f1c995b824f9bb
10PKG_RELEASE:=20110228
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
13PKG_SOURCE_URL:=git://git.linuxtogo.org/home/groups/kexecboot/kexecboot.git
14PKG_SOURCE_PROTO:=git
15PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
16PKG_SOURCE_VERSION:=$(PKG_REV)
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/kexecboot
21    SECTION:=utils
22    CATEGORY:=Utilities
23    TITLE:=a nice Linux-As-a-Bootloader implementation based on kexec
24    DEPENDS:=+kexec-tools
25    URL:=http://projects.linuxtogo.org/projects/kexecboot/
26endef
27
28define Build/Configure
29    cd $(PKG_BUILD_DIR) && ./autogen.sh && \
30    $(call Build/Configure/Default, \
31    --enable-uimage \
32    --enable-bpp=32bpp \
33    )
34
35endef
36
37define Package/kexecboot/install
38    $(INSTALL_DIR) $(1)/usr/bin
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/kexecboot $(1)/usr/bin
40endef
41
42$(eval $(call BuildPackage,kexecboot))
43

Archive Download this file



interactive