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:=3079df11996826b42691496afb44cc6b4a7fdb24
10PKG_RELEASE:=20120804
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
13PKG_SOURCE_URL:=https://github.com/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://kexecboot.org
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