summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-04 23:32:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-04 23:32:11 +0200
commit797f6e68c828ebf91d17aea17ee3dbcbdbc4ea65 (patch)
tree1b7d491d5b8bdcf4d24ba6e597bbf65591fbca35
parent60abc54cfd549cfaa6f543799943ca3b4fb2938d (diff)
u-boot-h8300: use old known to work version for mkimage
-rw-r--r--package/u-boot-h8300/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/package/u-boot-h8300/Makefile b/package/u-boot-h8300/Makefile
index bfd0824df..cf39d0ae9 100644
--- a/package/u-boot-h8300/Makefile
+++ b/package/u-boot-h8300/Makefile
@@ -3,24 +3,25 @@
include $(ADK_TOPDIR)/rules.mk
-PKG_NAME:= u-boot
-# last working hash fa0e8426833edc1be3c2ea3acaf248157048a15a
-PKG_VERSION:= h8300
-PKG_GIT:= branch
+PKG_NAME:= u-boot-h8300
+PKG_VERSION:= 0.1
PKG_RELEASE:= 1
+PKG_HASH:= 65461cc0cab37251e2487c0f5d4ae34c7ca89767bdf790b9a863800206b83539
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
-HOST_BUILDDEP:= libressl-host dtc-host
+HOST_BUILDDEP:= openssl-host dtc-host
PKG_BUILDDEP:= u-boot-h8300-host
-PKG_SITES:= git://git.pf.osdn.jp/gitroot/y/ys/ysato/uboot.git
+PKG_SITES:= https://distfiles.openadk.org/
PKG_SYSTEM_DEPENDS:= hitachi-edosk2674
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call HOST_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,U_BOOT,u-boot,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+$(eval $(call HOST_template,U_BOOT_H8300,u-boot-h8300,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,U_BOOT_8300,u-boot-h8300,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
UBOOT:= u-boot.bin
@@ -37,7 +38,7 @@ host-build:
(cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
$(HOST_MAKE_FLAGS) tools $(MAKE_TRACE) )
-u-boot-hostinstall:
+u-boot-h8300-hostinstall:
$(INSTALL_BIN) $(WRKBUILD)/tools/mk{,env}image \
$(STAGING_HOST_DIR)/usr/bin
@@ -48,15 +49,15 @@ do-build:
(cd $(WRKBUILD) && env \
PATH='$(HOST_PATH)' \
CROSS_COMPILE='$(TARGET_CROSS)' \
- GCC_HONOUR_COPTS=s $(MAKE))
+ $(MAKE))
ifneq ($(OS_FOR_BUILD),Darwin)
(cd $(WRKBUILD) && env \
PATH='$(HOST_PATH)' \
CROSS_COMPILE='$(TARGET_CROSS)' \
- GCC_HONOUR_COPTS=s $(MAKE) env)
+ $(MAKE) env)
endif
-u-boot-install:
+u-boot-h8300-install:
$(CP) $(WRKBUILD)/$(UBOOT) $(FW_DIR)
$(INSTALL_DIR) $(IDIR_U_BOOT)/etc
$(CP) ./files/fw_env.config $(IDIR_U_BOOT)/etc