From f0fc4828501e7e393ce52a311bef249b0c9ec236 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 29 Feb 2016 14:38:54 +0100 Subject: 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. --- package/u-boot-git/Makefile | 81 --------------------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 package/u-boot-git/Makefile (limited to 'package/u-boot-git/Makefile') 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 -- cgit v1.2.3