diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-29 14:38:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-02-29 14:38:54 +0100 |
commit | f0fc4828501e7e393ce52a311bef249b0c9ec236 (patch) | |
tree | 9e16a57f422e0768313b62e97f15a7a5a6196be4 /package/u-boot-git | |
parent | 6873c8d1e2410d147bd4d687123a8d878b9b2aa4 (diff) |
add new PKG_GIT variable
We can now clone git tags and branches in a more performant
way. No change for specific hashes, other then PKG_GIT is required
now. Do not remove .git dirs, as the downloaded code might be
used to add a patch and send upstream.
Add git as requirement for downloading.
Remove unmaintained u-boot-git package.
Diffstat (limited to 'package/u-boot-git')
-rw-r--r-- | package/u-boot-git/Makefile | 81 | ||||
-rw-r--r-- | package/u-boot-git/files/boot.script.bpi | 5 | ||||
-rw-r--r-- | package/u-boot-git/files/fw_env.config | 1 | ||||
-rwxr-xr-x | package/u-boot-git/files/uboot_print_env | 5 | ||||
-rwxr-xr-x | package/u-boot-git/files/uboot_set_env | 5 | ||||
-rw-r--r-- | package/u-boot-git/patches/patch-common_image_c | 10 | ||||
-rw-r--r-- | package/u-boot-git/patches/patch-include_image_h | 10 | ||||
-rw-r--r-- | package/u-boot-git/patches/patch-tools_Makefile | 11 |
8 files changed, 0 insertions, 128 deletions
diff --git a/package/u-boot-git/Makefile b/package/u-boot-git/Makefile deleted file mode 100644 index 8cc220cfd..000000000 --- a/package/u-boot-git/Makefile +++ /dev/null @@ -1,81 +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-git -PKG_VERSION:= 3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a -PKG_RELEASE:= 2 -PKG_DESCR:= portable bootloader -PKG_SECTION:= base/boot -HOST_BUILDDEP:= openssl-host device-tree-compiler-host -PKG_BUILDDEP:= u-boot-git-host -PKG_URL:= http://www.denx.de/wiki/U-Boot -PKG_SITES:= git://git.denx.de/u-boot.git - -PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 atmel-ngw100 - -include $(ADK_TOPDIR)/mk/host.mk -include $(ADK_TOPDIR)/mk/package.mk - -$(eval $(call HOST_template,U_BOOT_GIT,u-boot-git,$(PKG_VERSION)-$(PKG_RELEASE))) -$(eval $(call PKG_template,U_BOOT_GIT,u-boot-git,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) - -UBOOT:= u-boot.bin -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) -CONFIG:= rpi_defconfig -endif -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y) -CONFIG:= rpi_defconfig -endif -ifeq ($(ADK_TARGET_SYSTEM_ATMEL_NGW100),y) -CONFIG:= atngw100_defconfig -endif -ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) -CONFIG:= Bananapro_defconfig -UBOOT:= u-boot-sunxi-with-spl.bin -endif - -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-git-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)) - #(cd $(WRKBUILD) && env CROSS_COMPILE='$(TARGET_CROSS)' \ - # GCC_HONOUR_COPTS=s $(MAKE) env) - -u-boot-git-install: - $(CP) $(WRKBUILD)/$(UBOOT) $(FW_DIR) - $(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/etc - #$(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/boot - $(CP) ./files/fw_env.config $(IDIR_U_BOOT_GIT)/etc - $(INSTALL_DIR) $(IDIR_U_BOOT_GIT)/usr/bin - #$(INSTALL_BIN) $(WRKBUILD)/tools/env/fw_printenv \ - # $(IDIR_U_BOOT_GIT)/usr/bin - #(cd $(IDIR_U_BOOT_GIT)/usr/bin && ln -sf fw_printenv fw_setenv) - #$(INSTALL_BIN) ./files/uboot_print_env $(IDIR_U_BOOT_GIT)/usr/bin - #$(INSTALL_BIN) ./files/uboot_set_env $(IDIR_U_BOOT_GIT)/usr/bin - $(INSTALL_BIN) ./files/boot.script.bpi $(FW_DIR) - -include $(ADK_TOPDIR)/mk/host-bottom.mk -include $(ADK_TOPDIR)/mk/pkg-bottom.mk diff --git a/package/u-boot-git/files/boot.script.bpi b/package/u-boot-git/files/boot.script.bpi deleted file mode 100644 index e18e1b334..000000000 --- a/package/u-boot-git/files/boot.script.bpi +++ /dev/null @@ -1,5 +0,0 @@ -setenv bootargs 'console=ttyS0 root=/dev/mmcblk0p1' -ext4load mmc 0 0x43000000 boot/kernel -ext4load mmc 0 0x48000000 boot/sun7i-a20-bananapro.dtb -printenv -bootz 0x43000000 - 0x48000000
\ No newline at end of file diff --git a/package/u-boot-git/files/fw_env.config b/package/u-boot-git/files/fw_env.config deleted file mode 100644 index 5571d60e0..000000000 --- a/package/u-boot-git/files/fw_env.config +++ /dev/null @@ -1 +0,0 @@ -/mnt/uboot.env 0x0000 0x4000 diff --git a/package/u-boot-git/files/uboot_print_env b/package/u-boot-git/files/uboot_print_env deleted file mode 100755 index 7231e1a47..000000000 --- a/package/u-boot-git/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-git/files/uboot_set_env b/package/u-boot-git/files/uboot_set_env deleted file mode 100755 index 7b5a33ccc..000000000 --- a/package/u-boot-git/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-git/patches/patch-common_image_c b/package/u-boot-git/patches/patch-common_image_c deleted file mode 100644 index e10af8e3e..000000000 --- a/package/u-boot-git/patches/patch-common_image_c +++ /dev/null @@ -1,10 +0,0 @@ ---- u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a.orig/common/image.c 2015-05-22 17:03:30.000000000 -0500 -+++ u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a/common/image.c 2015-05-22 18:14:50.658865101 -0500 -@@ -87,6 +87,7 @@ static const table_entry_t uimage_arch[] - { IH_ARCH_ARM64, "arm64", "AArch64", }, - { IH_ARCH_ARC, "arc", "ARC", }, - { IH_ARCH_X86_64, "x86_64", "AMD x86_64", }, -+ { IH_ARCH_XTENSA, "xtensa", "Xtensa", }, - { -1, "", "", }, - }; - diff --git a/package/u-boot-git/patches/patch-include_image_h b/package/u-boot-git/patches/patch-include_image_h deleted file mode 100644 index 20f331a5a..000000000 --- a/package/u-boot-git/patches/patch-include_image_h +++ /dev/null @@ -1,10 +0,0 @@ ---- u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a.orig/include/image.h 2015-05-22 17:03:31.000000000 -0500 -+++ u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a/include/image.h 2015-05-22 17:33:55.950887553 -0500 -@@ -182,6 +182,7 @@ struct lmb; - #define IH_ARCH_ARM64 22 /* ARM64 */ - #define IH_ARCH_ARC 23 /* Synopsys DesignWare ARC */ - #define IH_ARCH_X86_64 24 /* AMD x86_64, Intel and Via */ -+#define IH_ARCH_XTENSA 25 /* Xtensa */ - - /* - * Image Types diff --git a/package/u-boot-git/patches/patch-tools_Makefile b/package/u-boot-git/patches/patch-tools_Makefile deleted file mode 100644 index 8c106d33d..000000000 --- a/package/u-boot-git/patches/patch-tools_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a.orig/tools/Makefile 2015-05-27 15:07:12.000000000 +0200 -+++ u-boot-git-3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a/tools/Makefile 2015-05-27 20:09:17.000000000 +0200 -@@ -122,7 +122,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) |