OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # |
4 | |
5 | include $(TOPDIR)/rules.mk |
6 | |
7 | PKG_NAME:=kexecboot |
8 | PKG_VERSION:=git |
9 | PKG_REV:=ed2ccf8a61d3fa5c9e2dbb6142f1c995b824f9bb |
10 | PKG_RELEASE:=20110228 |
11 | |
12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz |
13 | PKG_SOURCE_URL:=git://git.linuxtogo.org/home/groups/kexecboot/kexecboot.git |
14 | PKG_SOURCE_PROTO:=git |
15 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
16 | PKG_SOURCE_VERSION:=$(PKG_REV) |
17 | |
18 | include $(INCLUDE_DIR)/package.mk |
19 | |
20 | define 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/ |
26 | endef |
27 | |
28 | define Build/Configure |
29 | cd $(PKG_BUILD_DIR) && ./autogen.sh && \ |
30 | $(call Build/Configure/Default, \ |
31 | --enable-uimage \ |
32 | --enable-bpp=32bpp \ |
33 | ) |
34 | |
35 | endef |
36 | |
37 | define Package/kexecboot/install |
38 | $(INSTALL_DIR) $(1)/usr/bin |
39 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/kexecboot $(1)/usr/bin |
40 | endef |
41 | |
42 | $(eval $(call BuildPackage,kexecboot)) |
43 |