summaryrefslogtreecommitdiff
path: root/package/u-boot-imx6/Makefile
blob: df0a22d165bddecc3e0aed517e2ac31a1611c850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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-imx6
PKG_VERSION:=		20140819
PKG_RELEASE:=		1
PKG_HASH:=		a4e1202241d9a1035217fcd5c4c8bc999c606a3628b4dbf7b0f7ab5260385a29
PKG_DESCR:=		bootloader for imx6 (cubox-i/hummingboard)
PKG_SECTION:=		base/boot
PKG_URL:=		https://github.com/SolidRun/u-boot-imx6.git
PKG_SITES:=		http://distfiles.openadk.org/

PKG_SYSTEM_DEPENDS:=	solidrun-imx6

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,U_BOOT_IMX6,u-boot-imx6,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
# u-boot uses ld directly
TARGET_LDFLAGS:=
INSTALL_STYLE:=		manual

do-configure:
	cd ${WRKBUILD}; $(MAKE) mx6_cubox-i_config

u-boot-imx6-install:
	$(INSTALL_DIR) ${FW_DIR}
	$(CP) ${WRKBUILD}/SPL ${FW_DIR}
	$(CP) ${WRKBUILD}/u-boot.img ${FW_DIR}

include ${ADK_TOPDIR}/mk/pkg-bottom.mk