AnsweredAssumed Answered

LTIB build errors i.MX6Q

Question asked by jeffrey coffman on Jan 29, 2013
Latest reply on Jan 30, 2013 by jeffrey coffman



I've installed installed LTIB on a Ubuntu 9.04 host following the host setup instructions to the letter.  I've run ./ltib -m config and picked the Platform "Freescale iMX reference boards".    Selected iMX6 for the platform and mx6q_sabreauto for the uboot.  Pretty much exactly like the instruction indicate.  When I run ./ltib I get a build error failed to build u-boot as follows:




Processing platform: Freescale iMX6x Based Boards


using config/platform/imx/.config


Processing: fake-provides



Processing: u-boot


Build path taken because: directory build, no prebuilt rpm,

scbuild/scdeploy already unpacked package


Processing: u-boot


Build path taken because: directory build, build key set, no prebuilt rpm,


rpmbuild --dbpath /home/jcoffman/freescale/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/jcoffman/freescale/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/jcoffman/freescale/ltib/tmp' --define '_rpmdir /home/jcoffman/freescale/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  /home/jcoffman/freescale/ltib/tmp/u-boot.spec

Building target platforms: arm

Building for target arm

Executing(%build): /bin/sh -e /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421

+ umask 022

+ cd /home/jcoffman/freescale/ltib/rpm/BUILD

+ cd u-boot-2009.08

+ : mx6q_sabreauto_config

+ eval echo

+ echo


+ SRC_DIR=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ BUILD_DIR=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ [ /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 != /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 ]

+ cd /home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08

+ [ -n  ]

+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/jcoffman/freescale/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabreauto_config

make: *** No rule to make target `mx6q_sabreauto_config'.  Stop.

error: Bad exit status from /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421 (%build)



RPM build errors:

    Bad exit status from /home/jcoffman/freescale/ltib/tmp/rpm-tmp.69421 (%build)

Build time for u-boot: 0 seconds


Failed building u-boot



f_buildrpms() returned an error, exiting





Started: Tue Jan 29 20:03:16 2013

Ended:   Tue Jan 29 20:03:16 2013

Elapsed: 0 seconds


These packages failed to build:



Build Failed