diff options
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-ti.inc | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc index 4fd3529c..61bf990d 100644 --- a/recipes-bsp/u-boot/u-boot-ti.inc +++ b/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -35,6 +35,8 @@ PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os" | |||
35 | # optee-os is not a direct dependency, do not enable optee by default | 35 | # optee-os is not a direct dependency, do not enable optee by default |
36 | PACKAGECONFIG_append_k3 = " atf" | 36 | PACKAGECONFIG_append_k3 = " atf" |
37 | 37 | ||
38 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" | ||
39 | |||
38 | PROVIDES += "u-boot" | 40 | PROVIDES += "u-boot" |
39 | PKG_${PN} = "u-boot" | 41 | PKG_${PN} = "u-boot" |
40 | PKG_${PN}-dev = "u-boot-dev" | 42 | PKG_${PN}-dev = "u-boot-dev" |
@@ -107,25 +109,6 @@ UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND" | |||
107 | UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}" | 109 | UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}" |
108 | UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}" | 110 | UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}" |
109 | 111 | ||
110 | do_compile_k3 () { | ||
111 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then | ||
112 | sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' ${S}/config.mk | ||
113 | fi | ||
114 | |||
115 | unset LDFLAGS | ||
116 | unset CFLAGS | ||
117 | unset CPPFLAGS | ||
118 | |||
119 | if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ] | ||
120 | then | ||
121 | echo ${UBOOT_LOCALVERSION} > ${B}/.scmversion | ||
122 | echo ${UBOOT_LOCALVERSION} > ${S}/.scmversion | ||
123 | fi | ||
124 | |||
125 | oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} | ||
126 | oe_runmake -C ${S} O=${B} ${PACKAGECONFIG_CONFARGS} ${UBOOT_MAKE_TARGET} | ||
127 | } | ||
128 | |||
129 | do_install_append () { | 112 | do_install_append () { |
130 | if [ -n "${UBOOT_CONFIG}" ] | 113 | if [ -n "${UBOOT_CONFIG}" ] |
131 | then | 114 | then |