[package - 120i386-default][sysutils/u-boot-rockpro64] Failed for u-boot-rockpro64-2019.07 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Mon Jul 29 00:16:24 UTC 2019


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     uboot at FreeBSD.org
Last committer: manu at FreeBSD.org
Ident:          $FreeBSD: head/sysutils/u-boot-rockpro64/Makefile 507459 2019-07-27 14:55:59Z manu $
Log URL:        http://beefy5.nyi.freebsd.org/data/120i386-default/507489/logs/u-boot-rockpro64-2019.07.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=120i386-default&build=507489
Log:

=>> Building sysutils/u-boot-rockpro64
build started at Mon Jul 29 00:09:31 UTC 2019
port directory: /usr/ports/sysutils/u-boot-rockpro64
package name: u-boot-rockpro64-2019.07
building for: FreeBSD 120i386-default-job-24 12.0-RELEASE-p8 FreeBSD 12.0-RELEASE-p8 i386
maintained by: uboot at FreeBSD.org
Makefile ident:      $FreeBSD: head/sysutils/u-boot-rockpro64/Makefile 507459 2019-07-27 14:55:59Z manu $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300031
Jail OSVERSION: 1200086
Job Id: 24

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p8
UNAME_r=12.0-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/120i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
uboot at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work  HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
BL31=/usr/local/share/atf-rk3399/bl31.elf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work  HOME=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/u-boot"  EXAMPLESDIR="share/examples/u-boot"  DATADIR="share/u-boot"  WWWDIR="www/u-boot"  ETCDIR="etc/u-boot"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/u-boot DOCSDIR=/usr/local/share/doc/u-boot EXAMPLESDIR=/usr/local/share/examples/u-boot  WWWDIR=/usr/local/www/u-boot ETCDIR=/usr/local/etc/u-boot
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p8
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   u-boot-rockpro64-2019.07 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[120i386-default-job-24] Installing pkg-1.11.1...
[120i386-default-job-24] Extracting pkg-1.11.1: .......... done
===>   u-boot-rockpro64-2019.07 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of u-boot-rockpro64-2019.07
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by u-boot-rockpro64-2019.07 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by u-boot-rockpro64-2019.07 for building
=> SHA256 Checksum OK for u-boot/u-boot-2019.07.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by u-boot-rockpro64-2019.07 for building
===>  Extracting for u-boot-rockpro64-2019.07
=> SHA256 Checksum OK for u-boot/u-boot-2019.07.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for u-boot-rockpro64-2019.07
===>  Applying FreeBSD patches for u-boot-rockpro64-2019.07
cp -f /usr/ports/sysutils/u-boot-rockpro64/../u-boot-master/files/boot.cmd /wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2019.07/
===========================================================================
=======================<phase: build-depends  >============================
===>   u-boot-rockpro64-2019.07 depends on executable: gsed - not found
===>   Installing existing package /packages/All/gsed-4.7.txz
[120i386-default-job-24] Installing gsed-4.7...
[120i386-default-job-24] `-- Installing gettext-runtime-0.20.1...
[120i386-default-job-24] |   `-- Installing indexinfo-0.3.1...
[120i386-default-job-24] |   `-- Extracting indexinfo-0.3.1: .... done
[120i386-default-job-24] `-- Extracting gettext-runtime-0.20.1: .......... done
[120i386-default-job-24] Extracting gsed-4.7: .......... done
<snip>
gmake -f ./scripts/Makefile.build obj=spl/dts
   rm -f spl/dts/built-in.o; aarch64-none-elf-ar rcs spl/dts/built-in.o
gmake -f ./scripts/Makefile.build obj=spl/fs
  aarch64-none-elf-gcc -Wp,-MD,spl/fs/.fs_internal.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fs_internal)"  -D"KBUILD_MODNAME=KBUILD_STR(fs_internal)" -c -o spl/fs/fs_internal.o fs/fs_internal.c
   aarch64-none-elf-ld.bfd     -r -o spl/fs/built-in.o spl/fs/fs_internal.o 
  aarch64-none-elf-gcc -E -Wp,-MD,spl/.u-boot-spl.lds.d -D__KERNEL__ -D__UBOOT__  -DCONFIG_SPL_BUILD  -D__ARM__          -mstrict-align  -ffunction-sections -fdata-sections -fno-common -ffixed-r9     -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8  -I./arch/arm/mach-rockchip/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -include ./include/u-boot/u-boot.lds.h -include ./include/config.h -DCPUDIR=arch/arm/cpu/armv8  -DIMAGE_MAX_SIZE=0x100000 -DIMAGE_TEXT_BASE=0x0 -ansi -D__ASSEMBLY__ -x assembler-with-cpp -std=c99 -P -o spl/u-boot-spl.lds arch/arm/cpu/armv8/u-boot-spl.lds
  (cd spl && aarch64-none-elf-ld.bfd   -T u-boot-spl.lds  --gc-sections -Bstatic --gc-sections  --no-dynamic-linker -Ttext 0x0 arch/arm/cpu/armv8/start.o --start-group arch/arm/mach-rockchip/built-in.o arch/arm/cpu/armv8/built-in.o arch/arm/cpu/built-in.o arch/arm/lib/built-in.o board/rockchip/evb_rk3399/built-in.o common/spl/built-in.o common/init/built-in.o common/built-in.o cmd/built-in.o env/built-in.o lib/built-in.o disk/built-in.o drivers/built-in.o dts/built-in.o fs/built-in.o  --end-group -L /usr/local/lib/gcc/aarch64-none-elf/6.4.0 -lgcc -Map u-boot-spl.map -o u-boot-spl)
  aarch64-none-elf-objcopy  -j .text -j .secure_text -j .secure_data -j .rodata -j .data -j .u_boot_list -j .rela.dyn -j .got -j .got.plt -j .binman_sym_table -j .text_rest -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel  -O binary  spl/u-boot-spl spl/u-boot-spl-nodtb.bin
  cp dts/dt-spl.dtb spl/u-boot-spl.dtb
  cat spl/u-boot-spl-nodtb.bin spl/u-boot-spl.dtb > spl/u-boot-spl-dtb.bin
  cp spl/u-boot-spl-dtb.bin spl/u-boot-spl.bin
  ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x00200000 -e 0 -n "U-Boot 2019.07"" for evb_rk3399 board" -E -b arch/arm/dts/rk3399-rockpro64.dtb -d u-boot-nodtb.bin u-boot.img >/dev/null  && cat /dev/null
gmake obj=tpl -f ./scripts/Makefile.spl all
gmake -f ./scripts/Makefile.build obj=tpl/arch/arm/mach-rockchip
gmake -f ./scripts/Makefile.build obj=tpl/arch/arm/mach-rockchip/rk3399
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/rk3399/.clk_rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clk_rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(clk_rk3399)" -c -o tpl/arch/arm/mach-rockchip/rk3399/clk_rk3399.o arch/arm/mach-rockchip/rk3399/clk_rk3399.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/rk3399/.rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(rk3399)" -c -o tpl/arch/arm/mach-rockchip/rk3399/rk3399.o arch/arm/mach-rockchip/rk3399/rk3399.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/rk3399/.syscon_rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(syscon_rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(syscon_rk3399)" -c -o tpl/arch/arm/mach-rockchip/rk3399/syscon_rk3399.o arch/arm/mach-rockchip/rk3399/syscon_rk3399.c
   aarch64-none-elf-ld.bfd     -r -o tpl/arch/arm/mach-rockchip/rk3399/built-in.o tpl/arch/arm/mach-rockchip/rk3399/clk_rk3399.o tpl/arch/arm/mach-rockchip/rk3399/rk3399.o tpl/arch/arm/mach-rockchip/rk3399/syscon_rk3399.o 
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/.sdram_common.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sdram_common)"  -D"KBUILD_MODNAME=KBUILD_STR(sdram_common)" -c -o tpl/arch/arm/mach-rockchip/sdram_common.o arch/arm/mach-rockchip/sdram_common.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/.bootrom.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bootrom)"  -D"KBUILD_MODNAME=KBUILD_STR(bootrom)" -c -o tpl/arch/arm/mach-rockchip/bootrom.o arch/arm/mach-rockchip/bootrom.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/mach-rockchip/.rk3399-board-tpl.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(rk3399_board_tpl)"  -D"KBUILD_MODNAME=KBUILD_STR(rk3399_board_tpl)" -c -o tpl/arch/arm/mach-rockchip/rk3399-board-tpl.o arch/arm/mach-rockchip/rk3399-board-tpl.c
   aarch64-none-elf-ld.bfd     -r -o tpl/arch/arm/mach-rockchip/built-in.o tpl/arch/arm/mach-rockchip/sdram_common.o tpl/arch/arm/mach-rockchip/rk3399/built-in.o tpl/arch/arm/mach-rockchip/bootrom.o tpl/arch/arm/mach-rockchip/rk3399-board-tpl.o 
gmake -f ./scripts/Makefile.build obj=tpl/arch/arm/cpu/armv8
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.cpu.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cpu)"  -D"KBUILD_MODNAME=KBUILD_STR(cpu)" -c -o tpl/arch/arm/cpu/armv8/cpu.o arch/arm/cpu/armv8/cpu.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.generic_timer.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(generic_timer)"  -D"KBUILD_MODNAME=KBUILD_STR(generic_timer)" -c -o tpl/arch/arm/cpu/armv8/generic_timer.o arch/arm/cpu/armv8/generic_timer.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.cache_v8.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cache_v8)"  -D"KBUILD_MODNAME=KBUILD_STR(cache_v8)" -c -o tpl/arch/arm/cpu/armv8/cache_v8.o arch/arm/cpu/armv8/cache_v8.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.cache.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/cpu/armv8/cache.o arch/arm/cpu/armv8/cache.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.tlb.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/cpu/armv8/tlb.o arch/arm/cpu/armv8/tlb.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.transition.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/cpu/armv8/transition.o arch/arm/cpu/armv8/transition.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.fwcall.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fwcall)"  -D"KBUILD_MODNAME=KBUILD_STR(fwcall)" -c -o tpl/arch/arm/cpu/armv8/fwcall.o arch/arm/cpu/armv8/fwcall.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.cpu-dt.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cpu_dt)"  -D"KBUILD_MODNAME=KBUILD_STR(cpu_dt)" -c -o tpl/arch/arm/cpu/armv8/cpu-dt.o arch/arm/cpu/armv8/cpu-dt.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.smccc-call.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/cpu/armv8/smccc-call.o arch/arm/cpu/armv8/smccc-call.S
   aarch64-none-elf-ld.bfd     -r -o tpl/arch/arm/cpu/armv8/built-in.o tpl/arch/arm/cpu/armv8/cpu.o tpl/arch/arm/cpu/armv8/generic_timer.o tpl/arch/arm/cpu/armv8/cache_v8.o tpl/arch/arm/cpu/armv8/cache.o tpl/arch/arm/cpu/armv8/tlb.o tpl/arch/arm/cpu/armv8/transition.o tpl/arch/arm/cpu/armv8/fwcall.o tpl/arch/arm/cpu/armv8/cpu-dt.o tpl/arch/arm/cpu/armv8/smccc-call.o 
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/cpu/armv8/.start.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/cpu/armv8/start.o arch/arm/cpu/armv8/start.S
gmake -f ./scripts/Makefile.build obj=tpl/arch/arm/cpu
   rm -f tpl/arch/arm/cpu/built-in.o; aarch64-none-elf-ar rcs tpl/arch/arm/cpu/built-in.o
gmake -f ./scripts/Makefile.build obj=tpl/arch/arm/lib
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.crt0_64.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/lib/crt0_64.o arch/arm/lib/crt0_64.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.setjmp_aarch64.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/lib/setjmp_aarch64.o arch/arm/lib/setjmp_aarch64.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.spl.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(spl)"  -D"KBUILD_MODNAME=KBUILD_STR(spl)" -c -o tpl/arch/arm/lib/spl.o arch/arm/lib/spl.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.zimage.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(zimage)"  -D"KBUILD_MODNAME=KBUILD_STR(zimage)" -c -o tpl/arch/arm/lib/zimage.o arch/arm/lib/zimage.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.bootm-fdt.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bootm_fdt)"  -D"KBUILD_MODNAME=KBUILD_STR(bootm_fdt)" -c -o tpl/arch/arm/lib/bootm-fdt.o arch/arm/lib/bootm-fdt.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.sections.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sections)"  -D"KBUILD_MODNAME=KBUILD_STR(sections)" -c -o tpl/arch/arm/lib/sections.o arch/arm/lib/sections.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.stack.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(stack)"  -D"KBUILD_MODNAME=KBUILD_STR(stack)" -c -o tpl/arch/arm/lib/stack.o arch/arm/lib/stack.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.interrupts_64.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(interrupts_64)"  -D"KBUILD_MODNAME=KBUILD_STR(interrupts_64)" -c -o tpl/arch/arm/lib/interrupts_64.o arch/arm/lib/interrupts_64.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.cache.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cache)"  -D"KBUILD_MODNAME=KBUILD_STR(cache)" -c -o tpl/arch/arm/lib/cache.o arch/arm/lib/cache.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.psci-dt.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(psci_dt)"  -D"KBUILD_MODNAME=KBUILD_STR(psci_dt)" -c -o tpl/arch/arm/lib/psci-dt.o arch/arm/lib/psci-dt.c
   aarch64-none-elf-ld.bfd     -r -o tpl/arch/arm/lib/built-in.o tpl/arch/arm/lib/crt0_64.o tpl/arch/arm/lib/setjmp_aarch64.o tpl/arch/arm/lib/spl.o tpl/arch/arm/lib/zimage.o tpl/arch/arm/lib/bootm-fdt.o tpl/arch/arm/lib/sections.o tpl/arch/arm/lib/stack.o tpl/arch/arm/lib/interrupts_64.o tpl/arch/arm/lib/cache.o tpl/arch/arm/lib/psci-dt.o 
  rm -f tpl/arch/arm/lib/lib.a; aarch64-none-elf-ar rcs tpl/arch/arm/lib/lib.a 
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.crt0_aarch64_efi.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -D__ASSEMBLY__ -fno-PIE -g -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include   -c -o tpl/arch/arm/lib/crt0_aarch64_efi.o arch/arm/lib/crt0_aarch64_efi.S
  aarch64-none-elf-gcc -Wp,-MD,tpl/arch/arm/lib/.reloc_aarch64_efi.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -mstrict-align -fno-common -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include -fpic -fshort-wchar    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(reloc_aarch64_efi)"  -D"KBUILD_MODNAME=KBUILD_STR(reloc_aarch64_efi)" -c -o tpl/arch/arm/lib/reloc_aarch64_efi.o arch/arm/lib/reloc_aarch64_efi.c
gmake -f ./scripts/Makefile.build obj=tpl/board/rockchip/evb_rk3399
  aarch64-none-elf-gcc -Wp,-MD,tpl/board/rockchip/evb_rk3399/.evb-rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(evb_rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(evb_rk3399)" -c -o tpl/board/rockchip/evb_rk3399/evb-rk3399.o board/rockchip/evb_rk3399/evb-rk3399.c
   aarch64-none-elf-ld.bfd     -r -o tpl/board/rockchip/evb_rk3399/built-in.o tpl/board/rockchip/evb_rk3399/evb-rk3399.o 
gmake -f ./scripts/Makefile.build obj=tpl/common/spl
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/spl/.spl.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(spl)"  -D"KBUILD_MODNAME=KBUILD_STR(spl)" -c -o tpl/common/spl/spl.o common/spl/spl.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/spl/.spl_bootrom.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(spl_bootrom)"  -D"KBUILD_MODNAME=KBUILD_STR(spl_bootrom)" -c -o tpl/common/spl/spl_bootrom.o common/spl/spl_bootrom.c
   aarch64-none-elf-ld.bfd     -r -o tpl/common/spl/built-in.o tpl/common/spl/spl.o tpl/common/spl/spl_bootrom.o 
gmake -f ./scripts/Makefile.build obj=tpl/common/init
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/init/.board_init.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(board_init)"  -D"KBUILD_MODNAME=KBUILD_STR(board_init)" -c -o tpl/common/init/board_init.o common/init/board_init.c
   aarch64-none-elf-ld.bfd     -r -o tpl/common/init/built-in.o tpl/common/init/board_init.o 
gmake -f ./scripts/Makefile.build obj=tpl/common
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.common_fit.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(common_fit)"  -D"KBUILD_MODNAME=KBUILD_STR(common_fit)" -c -o tpl/common/common_fit.o common/common_fit.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.fdt_support.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_support)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_support)" -c -o tpl/common/fdt_support.o common/fdt_support.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.bouncebuf.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bouncebuf)"  -D"KBUILD_MODNAME=KBUILD_STR(bouncebuf)" -c -o tpl/common/bouncebuf.o common/bouncebuf.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.console.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(console)"  -D"KBUILD_MODNAME=KBUILD_STR(console)" -c -o tpl/common/console.o common/console.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.dlmalloc.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(dlmalloc)"  -D"KBUILD_MODNAME=KBUILD_STR(dlmalloc)" -c -o tpl/common/dlmalloc.o common/dlmalloc.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.malloc_simple.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(malloc_simple)"  -D"KBUILD_MODNAME=KBUILD_STR(malloc_simple)" -c -o tpl/common/malloc_simple.o common/malloc_simple.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.image.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(image)"  -D"KBUILD_MODNAME=KBUILD_STR(image)" -c -o tpl/common/image.o common/image.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.image-fdt.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(image_fdt)"  -D"KBUILD_MODNAME=KBUILD_STR(image_fdt)" -c -o tpl/common/image-fdt.o common/image-fdt.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.memsize.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(memsize)"  -D"KBUILD_MODNAME=KBUILD_STR(memsize)" -c -o tpl/common/memsize.o common/memsize.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.stdio.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(stdio)"  -D"KBUILD_MODNAME=KBUILD_STR(stdio)" -c -o tpl/common/stdio.o common/stdio.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.cli.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cli)"  -D"KBUILD_MODNAME=KBUILD_STR(cli)" -c -o tpl/common/cli.o common/cli.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.command.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(command)"  -D"KBUILD_MODNAME=KBUILD_STR(command)" -c -o tpl/common/command.o common/command.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.s_record.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(s_record)"  -D"KBUILD_MODNAME=KBUILD_STR(s_record)" -c -o tpl/common/s_record.o common/s_record.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/common/.xyzModem.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(xyzModem)"  -D"KBUILD_MODNAME=KBUILD_STR(xyzModem)" -c -o tpl/common/xyzModem.o common/xyzModem.c
   aarch64-none-elf-ld.bfd     -r -o tpl/common/built-in.o tpl/common/common_fit.o tpl/common/fdt_support.o tpl/common/bouncebuf.o tpl/common/console.o tpl/common/dlmalloc.o tpl/common/malloc_simple.o tpl/common/image.o tpl/common/image-fdt.o tpl/common/memsize.o tpl/common/stdio.o tpl/common/cli.o tpl/common/command.o tpl/common/s_record.o tpl/common/xyzModem.o 
gmake -f ./scripts/Makefile.build obj=tpl/cmd
  aarch64-none-elf-gcc -Wp,-MD,tpl/cmd/.nvedit.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvedit)"  -D"KBUILD_MODNAME=KBUILD_STR(nvedit)" -c -o tpl/cmd/nvedit.o cmd/nvedit.c
   aarch64-none-elf-ld.bfd     -r -o tpl/cmd/built-in.o tpl/cmd/nvedit.o 
gmake -f ./scripts/Makefile.build obj=tpl/env
  aarch64-none-elf-gcc -Wp,-MD,tpl/env/.common.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(common)"  -D"KBUILD_MODNAME=KBUILD_STR(common)" -c -o tpl/env/common.o env/common.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/env/.env.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(env)"  -D"KBUILD_MODNAME=KBUILD_STR(env)" -c -o tpl/env/env.o env/env.c
   aarch64-none-elf-ld.bfd     -r -o tpl/env/built-in.o tpl/env/common.o tpl/env/env.o 
gmake -f ./scripts/Makefile.build obj=tpl/lib
gmake -f ./scripts/Makefile.build obj=tpl/lib/libfdt
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt)" -c -o tpl/lib/libfdt/fdt.o lib/libfdt/fdt.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_wip.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_wip)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_wip)" -c -o tpl/lib/libfdt/fdt_wip.o lib/libfdt/fdt_wip.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_strerror.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_strerror)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_strerror)" -c -o tpl/lib/libfdt/fdt_strerror.o lib/libfdt/fdt_strerror.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_sw.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_sw)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_sw)" -c -o tpl/lib/libfdt/fdt_sw.o lib/libfdt/fdt_sw.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_rw.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_rw)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_rw)" -c -o tpl/lib/libfdt/fdt_rw.o lib/libfdt/fdt_rw.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_empty_tree.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_empty_tree)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_empty_tree)" -c -o tpl/lib/libfdt/fdt_empty_tree.o lib/libfdt/fdt_empty_tree.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_addresses.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_addresses)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_addresses)" -c -o tpl/lib/libfdt/fdt_addresses.o lib/libfdt/fdt_addresses.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_ro.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_ro)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_ro)" -c -o tpl/lib/libfdt/fdt_ro.o lib/libfdt/fdt_ro.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/libfdt/.fdt_region.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -I./scripts/dtc/libfdt -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdt_region)"  -D"KBUILD_MODNAME=KBUILD_STR(fdt_region)" -c -o tpl/lib/libfdt/fdt_region.o lib/libfdt/fdt_region.c
   aarch64-none-elf-ld.bfd     -r -o tpl/lib/libfdt/built-in.o tpl/lib/libfdt/fdt.o tpl/lib/libfdt/fdt_wip.o tpl/lib/libfdt/fdt_strerror.o tpl/lib/libfdt/fdt_sw.o tpl/lib/libfdt/fdt_rw.o tpl/lib/libfdt/fdt_empty_tree.o tpl/lib/libfdt/fdt_addresses.o tpl/lib/libfdt/fdt_ro.o tpl/lib/libfdt/fdt_region.o 
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.sha1.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sha1)"  -D"KBUILD_MODNAME=KBUILD_STR(sha1)" -c -o tpl/lib/sha1.o lib/sha1.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.sha256.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sha256)"  -D"KBUILD_MODNAME=KBUILD_STR(sha256)" -c -o tpl/lib/sha256.o lib/sha256.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.fdtdec_common.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdtdec_common)"  -D"KBUILD_MODNAME=KBUILD_STR(fdtdec_common)" -c -o tpl/lib/fdtdec_common.o lib/fdtdec_common.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.fdtdec.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdtdec)"  -D"KBUILD_MODNAME=KBUILD_STR(fdtdec)" -c -o tpl/lib/fdtdec.o lib/fdtdec.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.qsort.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qsort)"  -D"KBUILD_MODNAME=KBUILD_STR(qsort)" -c -o tpl/lib/qsort.o lib/qsort.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.hashtable.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hashtable)"  -D"KBUILD_MODNAME=KBUILD_STR(hashtable)" -c -o tpl/lib/hashtable.o lib/hashtable.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.errno.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(errno)"  -D"KBUILD_MODNAME=KBUILD_STR(errno)" -c -o tpl/lib/errno.o lib/errno.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.display_options.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(display_options)"  -D"KBUILD_MODNAME=KBUILD_STR(display_options)" -c -o tpl/lib/display_options.o lib/display_options.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.crc32.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crc32)"  -D"KBUILD_MODNAME=KBUILD_STR(crc32)" -c -o tpl/lib/crc32.o lib/crc32.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.ctype.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ctype)"  -D"KBUILD_MODNAME=KBUILD_STR(ctype)" -c -o tpl/lib/ctype.o lib/ctype.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.div64.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(div64)"  -D"KBUILD_MODNAME=KBUILD_STR(div64)" -c -o tpl/lib/div64.o lib/div64.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.hang.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hang)"  -D"KBUILD_MODNAME=KBUILD_STR(hang)" -c -o tpl/lib/hang.o lib/hang.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.linux_compat.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(linux_compat)"  -D"KBUILD_MODNAME=KBUILD_STR(linux_compat)" -c -o tpl/lib/linux_compat.o lib/linux_compat.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.linux_string.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(linux_string)"  -D"KBUILD_MODNAME=KBUILD_STR(linux_string)" -c -o tpl/lib/linux_string.o lib/linux_string.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.lmb.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lmb)"  -D"KBUILD_MODNAME=KBUILD_STR(lmb)" -c -o tpl/lib/lmb.o lib/lmb.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.membuff.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(membuff)"  -D"KBUILD_MODNAME=KBUILD_STR(membuff)" -c -o tpl/lib/membuff.o lib/membuff.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.slre.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(slre)"  -D"KBUILD_MODNAME=KBUILD_STR(slre)" -c -o tpl/lib/slre.o lib/slre.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.string.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(string)"  -D"KBUILD_MODNAME=KBUILD_STR(string)" -c -o tpl/lib/string.o lib/string.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.tables_csum.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tables_csum)"  -D"KBUILD_MODNAME=KBUILD_STR(tables_csum)" -c -o tpl/lib/tables_csum.o lib/tables_csum.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.time.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(time)"  -D"KBUILD_MODNAME=KBUILD_STR(time)" -c -o tpl/lib/time.o lib/time.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.hexdump.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hexdump)"  -D"KBUILD_MODNAME=KBUILD_STR(hexdump)" -c -o tpl/lib/hexdump.o lib/hexdump.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.uuid.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(uuid)"  -D"KBUILD_MODNAME=KBUILD_STR(uuid)" -c -o tpl/lib/uuid.o lib/uuid.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.rand.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(rand)"  -D"KBUILD_MODNAME=KBUILD_STR(rand)" -c -o tpl/lib/rand.o lib/rand.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.panic.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(panic)"  -D"KBUILD_MODNAME=KBUILD_STR(panic)" -c -o tpl/lib/panic.o lib/panic.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.tiny-printf.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tiny_printf)"  -D"KBUILD_MODNAME=KBUILD_STR(tiny_printf)" -c -o tpl/lib/tiny-printf.o lib/tiny-printf.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/lib/.strto.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(strto)"  -D"KBUILD_MODNAME=KBUILD_STR(strto)" -c -o tpl/lib/strto.o lib/strto.c
   aarch64-none-elf-ld.bfd     -r -o tpl/lib/built-in.o tpl/lib/sha1.o tpl/lib/sha256.o tpl/lib/libfdt/built-in.o tpl/lib/fdtdec_common.o tpl/lib/fdtdec.o tpl/lib/qsort.o tpl/lib/hashtable.o tpl/lib/errno.o tpl/lib/display_options.o tpl/lib/crc32.o tpl/lib/ctype.o tpl/lib/div64.o tpl/lib/hang.o tpl/lib/linux_compat.o tpl/lib/linux_string.o tpl/lib/lmb.o tpl/lib/membuff.o tpl/lib/slre.o tpl/lib/string.o tpl/lib/tables_csum.o tpl/lib/time.o tpl/lib/hexdump.o tpl/lib/uuid.o tpl/lib/rand.o tpl/lib/panic.o tpl/lib/tiny-printf.o tpl/lib/strto.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers
gmake -f ./scripts/Makefile.build obj=tpl/drivers/clk
gmake -f ./scripts/Makefile.build obj=tpl/drivers/clk/imx
   rm -f tpl/drivers/clk/imx/built-in.o; aarch64-none-elf-ar rcs tpl/drivers/clk/imx/built-in.o
gmake -f ./scripts/Makefile.build obj=tpl/drivers/clk/rockchip
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/clk/rockchip/.clk_rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clk_rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(clk_rk3399)" -c -o tpl/drivers/clk/rockchip/clk_rk3399.o drivers/clk/rockchip/clk_rk3399.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/clk/rockchip/built-in.o tpl/drivers/clk/rockchip/clk_rk3399.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/clk/tegra
   rm -f tpl/drivers/clk/tegra/built-in.o; aarch64-none-elf-ar rcs tpl/drivers/clk/tegra/built-in.o
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/clk/.clk-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clk_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(clk_uclass)" -c -o tpl/drivers/clk/clk-uclass.o drivers/clk/clk-uclass.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/clk/.clk_fixed_rate.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clk_fixed_rate)"  -D"KBUILD_MODNAME=KBUILD_STR(clk_fixed_rate)" -c -o tpl/drivers/clk/clk_fixed_rate.o drivers/clk/clk_fixed_rate.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/clk/.clk_fixed_factor.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(clk_fixed_factor)"  -D"KBUILD_MODNAME=KBUILD_STR(clk_fixed_factor)" -c -o tpl/drivers/clk/clk_fixed_factor.o drivers/clk/clk_fixed_factor.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/clk/built-in.o tpl/drivers/clk/clk-uclass.o tpl/drivers/clk/clk_fixed_rate.o tpl/drivers/clk/clk_fixed_factor.o tpl/drivers/clk/imx/built-in.o tpl/drivers/clk/tegra/built-in.o tpl/drivers/clk/rockchip/built-in.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/core
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.device.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(device)"  -D"KBUILD_MODNAME=KBUILD_STR(device)" -c -o tpl/drivers/core/device.o drivers/core/device.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.fdtaddr.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fdtaddr)"  -D"KBUILD_MODNAME=KBUILD_STR(fdtaddr)" -c -o tpl/drivers/core/fdtaddr.o drivers/core/fdtaddr.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.lists.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lists)"  -D"KBUILD_MODNAME=KBUILD_STR(lists)" -c -o tpl/drivers/core/lists.o drivers/core/lists.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.root.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(root)"  -D"KBUILD_MODNAME=KBUILD_STR(root)" -c -o tpl/drivers/core/root.o drivers/core/root.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(uclass)" -c -o tpl/drivers/core/uclass.o drivers/core/uclass.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.util.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(util)"  -D"KBUILD_MODNAME=KBUILD_STR(util)" -c -o tpl/drivers/core/util.o drivers/core/util.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.simple-bus.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(simple_bus)"  -D"KBUILD_MODNAME=KBUILD_STR(simple_bus)" -c -o tpl/drivers/core/simple-bus.o drivers/core/simple-bus.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.dump.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(dump)"  -D"KBUILD_MODNAME=KBUILD_STR(dump)" -c -o tpl/drivers/core/dump.o drivers/core/dump.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.regmap.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(regmap)"  -D"KBUILD_MODNAME=KBUILD_STR(regmap)" -c -o tpl/drivers/core/regmap.o drivers/core/regmap.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.syscon-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(syscon_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(syscon_uclass)" -c -o tpl/drivers/core/syscon-uclass.o drivers/core/syscon-uclass.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.of_extra.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(of_extra)"  -D"KBUILD_MODNAME=KBUILD_STR(of_extra)" -c -o tpl/drivers/core/of_extra.o drivers/core/of_extra.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.ofnode.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ofnode)"  -D"KBUILD_MODNAME=KBUILD_STR(ofnode)" -c -o tpl/drivers/core/ofnode.o drivers/core/ofnode.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/core/.read_extra.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(read_extra)"  -D"KBUILD_MODNAME=KBUILD_STR(read_extra)" -c -o tpl/drivers/core/read_extra.o drivers/core/read_extra.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/core/built-in.o tpl/drivers/core/device.o tpl/drivers/core/fdtaddr.o tpl/drivers/core/lists.o tpl/drivers/core/root.o tpl/drivers/core/uclass.o tpl/drivers/core/util.o tpl/drivers/core/simple-bus.o tpl/drivers/core/dump.o tpl/drivers/core/regmap.o tpl/drivers/core/syscon-uclass.o tpl/drivers/core/of_extra.o tpl/drivers/core/ofnode.o tpl/drivers/core/read_extra.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/firmware
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/firmware/.firmware-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(firmware_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(firmware_uclass)" -c -o tpl/drivers/firmware/firmware-uclass.o drivers/firmware/firmware-uclass.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/firmware/built-in.o tpl/drivers/firmware/firmware-uclass.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/misc
   rm -f tpl/drivers/misc/built-in.o; aarch64-none-elf-ar rcs tpl/drivers/misc/built-in.o
gmake -f ./scripts/Makefile.build obj=tpl/drivers/ram
gmake -f ./scripts/Makefile.build obj=tpl/drivers/ram/rockchip
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/ram/rockchip/.sdram_rk3399.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sdram_rk3399)"  -D"KBUILD_MODNAME=KBUILD_STR(sdram_rk3399)" -c -o tpl/drivers/ram/rockchip/sdram_rk3399.o drivers/ram/rockchip/sdram_rk3399.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/ram/rockchip/built-in.o tpl/drivers/ram/rockchip/sdram_rk3399.o 
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/ram/.ram-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ram_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(ram_uclass)" -c -o tpl/drivers/ram/ram-uclass.o drivers/ram/ram-uclass.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/ram/built-in.o tpl/drivers/ram/ram-uclass.o tpl/drivers/ram/rockchip/built-in.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/serial
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/serial/.serial-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(serial_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(serial_uclass)" -c -o tpl/drivers/serial/serial-uclass.o drivers/serial/serial-uclass.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/serial/.ns16550.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ns16550)"  -D"KBUILD_MODNAME=KBUILD_STR(ns16550)" -c -o tpl/drivers/serial/ns16550.o drivers/serial/ns16550.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/serial/built-in.o tpl/drivers/serial/serial-uclass.o tpl/drivers/serial/ns16550.o 
gmake -f ./scripts/Makefile.build obj=tpl/drivers/sysreset
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/sysreset/.sysreset-uclass.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sysreset_uclass)"  -D"KBUILD_MODNAME=KBUILD_STR(sysreset_uclass)" -c -o tpl/drivers/sysreset/sysreset-uclass.o drivers/sysreset/sysreset-uclass.c
  aarch64-none-elf-gcc -Wp,-MD,tpl/drivers/sysreset/.sysreset_rockchip.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(sysreset_rockchip)"  -D"KBUILD_MODNAME=KBUILD_STR(sysreset_rockchip)" -c -o tpl/drivers/sysreset/sysreset_rockchip.o drivers/sysreset/sysreset_rockchip.c
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/sysreset/built-in.o tpl/drivers/sysreset/sysreset-uclass.o tpl/drivers/sysreset/sysreset_rockchip.o 
   aarch64-none-elf-ld.bfd     -r -o tpl/drivers/built-in.o tpl/drivers/clk/built-in.o tpl/drivers/core/built-in.o tpl/drivers/misc/built-in.o tpl/drivers/sysreset/built-in.o tpl/drivers/firmware/built-in.o tpl/drivers/ram/built-in.o tpl/drivers/serial/built-in.o 
gmake -f ./scripts/Makefile.build obj=tpl/dts
   rm -f tpl/dts/built-in.o; aarch64-none-elf-ar rcs tpl/dts/built-in.o
gmake -f ./scripts/Makefile.build obj=tpl/fs
  aarch64-none-elf-gcc -Wp,-MD,tpl/fs/.fs_internal.o.d  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -ffunction-sections -fdata-sections -D__ARM__ -mstrict-align -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8 -I./arch/arm/mach-rockchip/include    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(fs_internal)"  -D"KBUILD_MODNAME=KBUILD_STR(fs_internal)" -c -o tpl/fs/fs_internal.o fs/fs_internal.c
   aarch64-none-elf-ld.bfd     -r -o tpl/fs/built-in.o tpl/fs/fs_internal.o 
  aarch64-none-elf-gcc -E -Wp,-MD,tpl/.u-boot-spl.lds.d -D__KERNEL__ -D__UBOOT__  -DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD  -D__ARM__          -mstrict-align  -ffunction-sections -fdata-sections -fno-common -ffixed-r9     -fno-common -ffixed-x18 -pipe -march=armv8-a -D__LINUX_ARM_ARCH__=8  -I./arch/arm/mach-rockchip/include -Iinclude   -I./arch/arm/include -include ./include/linux/kconfig.h  -nostdinc -isystem /usr/local/lib/gcc/aarch64-none-elf/6.4.0/include -include ./include/u-boot/u-boot.lds.h -include ./include/config.h -DCPUDIR=arch/arm/cpu/armv8  -DIMAGE_MAX_SIZE=188416 -DIMAGE_TEXT_BASE=0xff8c2000 -ansi -D__ASSEMBLY__ -x assembler-with-cpp -std=c99 -P -o tpl/u-boot-spl.lds arch/arm/mach-rockchip/u-boot-tpl-v8.lds
  (cd tpl && aarch64-none-elf-ld.bfd   -T u-boot-spl.lds  --gc-sections -Bstatic --gc-sections  --no-dynamic-linker -Ttext 0xff8c2000 arch/arm/cpu/armv8/start.o --start-group arch/arm/mach-rockchip/built-in.o arch/arm/cpu/armv8/built-in.o arch/arm/cpu/built-in.o arch/arm/lib/built-in.o board/rockchip/evb_rk3399/built-in.o common/spl/built-in.o common/init/built-in.o common/built-in.o cmd/built-in.o env/built-in.o lib/built-in.o drivers/built-in.o dts/built-in.o fs/built-in.o  --end-group -L /usr/local/lib/gcc/aarch64-none-elf/6.4.0 -lgcc -Map u-boot-tpl.map -o u-boot-tpl)
  aarch64-none-elf-objcopy  -j .text -j .secure_text -j .secure_data -j .rodata -j .data -j .u_boot_list -j .rela.dyn -j .got -j .got.plt -j .binman_sym_table -j .text_rest -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel  -O binary  tpl/u-boot-tpl tpl/u-boot-tpl-nodtb.bin
  cp dts/dt-spl.dtb tpl/u-boot-tpl.dtb
  cat tpl/u-boot-tpl-nodtb.bin tpl/u-boot-tpl.dtb > tpl/u-boot-tpl-dtb.bin
  cp tpl/u-boot-tpl-dtb.bin tpl/u-boot-tpl.bin
  cp dts/dt.dtb u-boot.dtb
  ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x00200000 -e 0 -n "U-Boot 2019.07"" for evb_rk3399 board" -E -b arch/arm/dts/rk3399-rockpro64.dtb -d u-boot-nodtb.bin u-boot-dtb.img >/dev/null  && cat /dev/null
./"arch/arm/mach-rockchip/make_fit_atf.py" \
arch/arm/dts/rk3399-rockpro64.dtb > u-boot.its
  ./tools/mkimage -E -f u-boot.its -p 0x0 u-boot.itb >/dev/null  && cat /dev/null
  ./scripts/check-config.sh u-boot.cfg ./scripts/config_whitelist.txt .
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2019.07'
mkimage -n rk3399 -T rksd -d /usr/local/share/linux-rkbin/bin/rk33/rk3399_ddr_800MHz_v1.23.bin /wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2019.07/idbloader.img
Image Type:   Rockchip RK33 (SD/MMC) boot image
Data Size:    79872 bytes
cat /usr/local/share/linux-rkbin/bin/rk33/rk3399_miniloader_v1.19.bin >> /wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2019.07/idbloader.img
(cd /wrkdirs/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2019.07 && rk-trust_merger /usr/local/share/linux-rkbin/rktrust/RK3399TRUST.ini)
/bin/sh: rk-trust_merger: Exec format error
*** Error code 126

Stop.
make: stopped in /usr/ports/sysutils/u-boot-rockpro64


More information about the freebsd-uboot mailing list