出错内容如下
Processing: u-boot-v2009.08
=============================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /opt/freescale_BSP/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /opt/freescale_BSP/ltib/rpm' --define '_prefix /usr' --define '_tmppath /opt/freescale_BSP/ltib/tmp' --define '_rpmdir /opt/freescale_BSP/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /opt/freescale_BSP/ltib/tmp/u-boot-v2009.08.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695
+ umask 022
+ cd /opt/freescale_BSP/ltib/rpm/BUILD
+ cd u-boot-2009.08
+ : mx6q_sabresd_config
+ eval echo
+ echo
+ PKG_U_BOOT_PATH_PRECONFIG=
+ SRC_DIR=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08
+ BUILD_DIR=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08
+ [ /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 != /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 ]
+ cd /opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08+ [ -n ]
+ make HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ CROSS_COMPILE=arm-none-linux-gnueabi- O=/opt/freescale_BSP/ltib/rpm/BUILD/u-boot-2009.08 mx6q_sabresd_config
make: *** No rule to make target `mx6q_sabresd_config'. Stop.error: Bad exit status from /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695 (%build)
RPM build errors:
Bad exit status from /opt/freescale_BSP/ltib/tmp/rpm-tmp.26695 (%build)
Build time for u-boot-v2009.08: 0 seconds
Failed building u-boot-v2009.08
f_buildrpms() returned an error, exiting
traceback:
main:572
Started: Wed Mar 18 21:41:11 2015
Ended: Wed Mar 18 21:41:12 2015
Elapsed: 1 seconds
These packages failed to build:
u-boot-v2009.08
Build Failed
Exiting on error or interrupt
根据加粗的语句,
可以判断是u-boot-2009.08在执行make mx6q_sabresd_config是Makefile里面没有mx6q_sabresd相关的配置
但是该如何解决编译出错的问题
麻烦论坛的大神帮忙解决下 |