summaryrefslogtreecommitdiff
path: root/package/u-boot-xtensa
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-07-18 00:14:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-07-18 00:14:35 +0200
commit4295cbd3fe88e204d5f6bcf5d2dfc80e47bba8dc (patch)
treedba5a198ee8b65b43496552c1179844dd995f881 /package/u-boot-xtensa
parentb903b90039acd8468f9dfd7b3b8f9cf9e028c00a (diff)
xtensa: no extra u-boot required anymore
Diffstat (limited to 'package/u-boot-xtensa')
-rw-r--r--package/u-boot-xtensa/Makefile58
-rw-r--r--package/u-boot-xtensa/files/fw_env.config1
-rwxr-xr-xpackage/u-boot-xtensa/files/uboot_print_env5
-rwxr-xr-xpackage/u-boot-xtensa/files/uboot_set_env5
-rw-r--r--package/u-boot-xtensa/patches/patch-Makefile12
-rw-r--r--package/u-boot-xtensa/patches/patch-tools_Makefile11
6 files changed, 0 insertions, 92 deletions
diff --git a/package/u-boot-xtensa/Makefile b/package/u-boot-xtensa/Makefile
deleted file mode 100644
index 4cbf32dd0..000000000
--- a/package/u-boot-xtensa/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:= u-boot-xtensa
-PKG_VERSION:= fe85520cfb23b815207fa1a0ad840ec795eecedf
-PKG_GIT:= hash
-PKG_RELEASE:= 1
-PKG_DESCR:= portable bootloader
-PKG_SECTION:= base/boot
-HOST_BUILDDEP:= openssl-host device-tree-compiler-host
-PKG_BUILDDEP:= u-boot-xtensa-host
-PKG_URL:= https://github.com/jcmvbkbc/u-boot-xtensa/tree/xtensa-for-mainline
-PKG_SITES:= https://github.com/jcmvbkbc/u-boot-xtensa.git
-
-PKG_SYSTEM_DEPENDS:= xilinx-kintex7
-
-include $(ADK_TOPDIR)/mk/host.mk
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call HOST_template,U_BOOT_XTENSA,u-boot-xtensa,$(PKG_VERSION)-$(PKG_RELEASE)))
-$(eval $(call PKG_template,U_BOOT_XTENSA,u-boot-xtensa,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
-
-UBOOT:= u-boot.bin
-CONFIG:= xtfpga_defconfig
-
-HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \
- HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl"
-HOST_STYLE:= manual
-CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
-
-host-build:
- (cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
- $(HOST_MAKE_FLAGS) sandbox_defconfig )
- (cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
- $(HOST_MAKE_FLAGS) tools $(MAKE_TRACE) )
-
-u-boot-xtensa-hostinstall:
- $(INSTALL_BIN) $(WRKBUILD)/tools/mk{,env}image \
- $(STAGING_HOST_DIR)/usr/bin
-
-do-configure:
- (cd $(WRKBUILD) && $(MAKE) $(CONFIG))
-
-do-build:
- (cd $(WRKBUILD) && env \
- PATH='$(HOST_PATH)' \
- CROSS_COMPILE='$(TARGET_CROSS)' \
- GCC_HONOUR_COPTS=s $(MAKE))
-
-u-boot-xtensa-install:
- $(CP) $(WRKBUILD)/$(UBOOT) $(FW_DIR)
-
-include $(ADK_TOPDIR)/mk/host-bottom.mk
-include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/u-boot-xtensa/files/fw_env.config b/package/u-boot-xtensa/files/fw_env.config
deleted file mode 100644
index 5571d60e0..000000000
--- a/package/u-boot-xtensa/files/fw_env.config
+++ /dev/null
@@ -1 +0,0 @@
-/mnt/uboot.env 0x0000 0x4000
diff --git a/package/u-boot-xtensa/files/uboot_print_env b/package/u-boot-xtensa/files/uboot_print_env
deleted file mode 100755
index 7231e1a47..000000000
--- a/package/u-boot-xtensa/files/uboot_print_env
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-mount -r /dev/mmcblk0p1 /mnt
-fw_printenv "$@"
-umount /mnt
diff --git a/package/u-boot-xtensa/files/uboot_set_env b/package/u-boot-xtensa/files/uboot_set_env
deleted file mode 100755
index 7b5a33ccc..000000000
--- a/package/u-boot-xtensa/files/uboot_set_env
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-mount /dev/mmcblk0p1 /mnt
-fw_setenv "$@"
-umount /mnt
diff --git a/package/u-boot-xtensa/patches/patch-Makefile b/package/u-boot-xtensa/patches/patch-Makefile
deleted file mode 100644
index bf15f64b7..000000000
--- a/package/u-boot-xtensa/patches/patch-Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
---- u-boot-xtensa-fe85520cfb23b815207fa1a0ad840ec795eecedf.orig/Makefile 2015-05-27 14:16:15.000000000 -0500
-+++ u-boot-xtensa-fe85520cfb23b815207fa1a0ad840ec795eecedf/Makefile 2015-05-27 14:48:47.588823659 -0500
-@@ -561,9 +561,6 @@ KBUILD_AFLAGS += -Wa,-gstabs,-S
- endif
- endif
-
--# Prohibit date/time macros, which would make the build non-deterministic
--KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
--
- ifneq ($(CONFIG_SYS_TEXT_BASE),)
- KBUILD_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE)
- endif
diff --git a/package/u-boot-xtensa/patches/patch-tools_Makefile b/package/u-boot-xtensa/patches/patch-tools_Makefile
deleted file mode 100644
index b1c97995d..000000000
--- a/package/u-boot-xtensa/patches/patch-tools_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- u-boot-xtensa-fe85520cfb23b815207fa1a0ad840ec795eecedf.orig/tools/Makefile 2015-07-06 13:09:06.000000000 +0200
-+++ u-boot-xtensa-fe85520cfb23b815207fa1a0ad840ec795eecedf/tools/Makefile 2015-07-06 13:13:09.274561163 +0200
-@@ -114,7 +114,7 @@ endif
-
- # MXSImage needs LibSSL
- ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
--HOSTLOADLIBES_mkimage += -lssl -lcrypto
-+HOSTLOADLIBES_mkimage += -lssl -lcrypto -ldl
- endif
-
- HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)