From 82ba785c803384b5cd7a60169a062ac687721863 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 9 Oct 2018 00:54:23 +0300 Subject: [PATCH] odroid-firmware: add new package Signed-off-by: Stijn Tintel --- package/firmware/odroid/Makefile | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/firmware/odroid/Makefile diff --git a/package/firmware/odroid/Makefile b/package/firmware/odroid/Makefile new file mode 100644 index 0000000000..4839118b4b --- /dev/null +++ b/package/firmware/odroid/Makefile @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2017 - 2021 Stijn Tintel + +include $(TOPDIR)/rules.mk + +PKG_NAME:=odroid-firmware +PKG_VERSION:=2017-02-24 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/hardkernel/u-boot.git +PKG_SOURCE_VERSION:=205c7b3259559283161703a1a200b787c2c445a5 +PKG_MIRROR_HASH:= + +PKG_MAINTAINER:=Stijn Tintel + +PKG_FLAGS:=nonshared + +include $(INCLUDE_DIR)/package.mk + +define Package/odroid-firmware-c2 + SECTION:=firmware + CATEGORY:=Firmware + TITLE:=Odroid C2 firmware + DEPENDS:=@TARGET_mesongx +endef + +define Build/Compile + +endef + +define Package/odroid-firmware-c2/install + $(INSTALL_DIR) $(STAGING_DIR_IMAGE)/odroidc2 + $(CP) \ + $(PKG_BUILD_DIR)/fip/gxb/{bl2.package,bl30{,1}.bin} \ + $(STAGING_DIR_IMAGE)/odroidc2 + $(CP) \ + $(PKG_BUILD_DIR)/sd_fuse/bl1.bin.hardkernel \ + $(STAGING_DIR_IMAGE)/odroidc2 +endef + +$(eval $(call BuildPackage,odroid-firmware-c2)) -- 2.30.2