Skip to content
Snippets Groups Projects
Verified Commit 20211d8f authored by Jan Pavlinec's avatar Jan Pavlinec
Browse files

u-boot-mox: package polishing

Changes:
-switch from git to https
-add license
parent 0c3e23e9
Branches
Tags
1 merge request!344u-boot-{omnia,mox}: package polishing
#
## Copyright (C) 2018 CZ.NIC z.s.p.o. (http://www.nic.cz/)
## Copyright (C) 2018-2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
#
## This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
......@@ -9,28 +9,30 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=u-boot-mox
PKG_VERSION:=2018-11-rc1
PKG_RELEASE:=8
PKG_RELEASE:=9
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@gitlab.labs.nic.cz:turris/mox-boot-builder.git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/mox-boot-builder.git
PKG_SOURCE_VERSION:=5d6e645f5b00afa47d330017add5898056f9996b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=README
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
TITLE:=$(PKG_NAME)
DEPENDS:=@TARGET_mvebu_cortexa53_DEVICE_cznic-mox
define Package/u-boot-mox
TITLE:=u-boot-mox
DEPENDS:=@TARGET_mvebu_cortexa53_DEVICE_cznic-mox
endef
define Build/Compile
cd $(PKG_BUILD_DIR); make CROSS_COMPILE=$(TARGET_CROSS) u-boot.bin
endef
define Package/$(PKG_NAME)/install
define Package/u-boot-mox/install
$(INSTALL_DIR) $(1)/usr/share/mox
$(INSTALL_DATA) $(PKG_BUILD_DIR)/u-boot.bin $(1)/usr/share/mox/uboot-devel
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
$(eval $(call BuildPackage,u-boot-mox))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment