|
@@ -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
|