system: ubuntu10.04
lib: L2.6.35_1.1.0_130130_source
ERR:No rule to make target `mx28evk_nand_defconfig'
ethan@ubuntu:~/Desktop/ltib$ ./ltib
Processing platform: Freescale iMX28 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/ethan/Desktop/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/ethan/Desktop/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/ethan/Desktop/ltib/tmp' --define '_rpmdir /home/ethan/Desktop/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/ethan/Desktop/ltib/tmp/u-boot.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/ethan/Desktop/ltib/tmp/rpm-tmp.36157
+ umask 022
+ cd /home/ethan/Desktop/ltib/rpm/BUILD
+ cd u-boot-2009.08
+ : mx28_evk_config
+ eval echo
+ echo
+ PKG_U_BOOT_PATH_PRECONFIG=
+ SRC_DIR=/home/ethan/Desktop/ltib/rpm/BUILD/u-boot-2009.08
+ BUILD_DIR=/home/ethan/Desktop/ltib/rpm/BUILD/u-boot-2009.08
+ [ /home/ethan/Desktop/ltib/rpm/BUILD/u-boot-2009.08 != /home/ethan/Desktop/ltib/rpm/BUILD/u-boot-2009.08 ]
+ cd /home/ethan/Desktop/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/ethan/Desktop/ltib/rpm/BUILD/u-boot-2009.08 mx28_evk_config
make: *** No rule to make target `mx28_evk_config'. Stop.
error: Bad exit status from /home/ethan/Desktop/ltib/tmp/rpm-tmp.36157 (%build)
RPM build errors:
Bad exit status from /home/ethan/Desktop/ltib/tmp/rpm-tmp.36157 (%build)
Build time for u-boot: 0 seconds
Failed building u-boot
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Sun Jul 3 18:28:37 2016
Ended: Sun Jul 3 18:28:37 2016
Elapsed: 0 seconds
These packages failed to build:
u-boot
Build Failed
Exiting on error or interrupt
Solved! Go to Solution.
Hi Ethan
please look at solution for this error
Also if there are several builds for other processors, recommended
to try fresh VM for building with i.MX28 processor.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ethan
please look at solution for this error
Also if there are several builds for other processors, recommended
to try fresh VM for building with i.MX28 processor.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for the answer, it maybe useful.But, I try on the ubuntu 12.04,it`s ok now.:smileyhappy: