From: Stijn Tintel Date: Mon, 8 Oct 2018 21:54:23 +0000 (+0300) Subject: odroid-firmware: add new package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=82ba785c803384b5cd7a60169a062ac687721863;p=openwrt%2Fstaging%2Fstintel.git odroid-firmware: add new package Signed-off-by: Stijn Tintel --- 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))