1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-03 09:22:01 +03:00
openwrt-packages/kexecboot/Makefile

43 lines
975 B
Makefile
Raw Normal View History

2011-02-28 13:20:36 +02:00
#
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=kexecboot
PKG_VERSION:=git
2012-10-19 06:57:09 +03:00
PKG_REV:=3079df11996826b42691496afb44cc6b4a7fdb24
PKG_RELEASE:=20120804
2011-02-28 13:20:36 +02:00
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz
2012-10-19 06:57:09 +03:00
PKG_SOURCE_URL:=https://github.com/kexecboot/kexecboot.git
2011-02-28 13:20:36 +02:00
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/kexecboot
SECTION:=utils
CATEGORY:=Utilities
TITLE:=a nice Linux-As-a-Bootloader implementation based on kexec
DEPENDS:=+kexec-tools
2012-10-19 06:57:09 +03:00
URL:=http://kexecboot.org
2011-02-28 13:20:36 +02:00
endef
define Build/Configure
cd $(PKG_BUILD_DIR) && ./autogen.sh && \
$(call Build/Configure/Default, \
--enable-uimage \
--enable-bpp=32bpp \
)
endef
define Package/kexecboot/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/kexecboot $(1)/usr/bin
endef
$(eval $(call BuildPackage,kexecboot))