Hi all,
Will anyone help me solve this problem -
I'm building busybox into my ltib package list but keep coming up against the following. I know there are issues with the makefile in /opt/freescale/packages/busybox-1.15.0 but I don't know how to fix them.
[david@localhost ltib]$ ./ltib
Processing platform: Freescale iMX233/stmp3780 Based Boards
=============================================================
using config/platform/imx/.config
Processing: fake-provides
===========================
Processing: u-boot
====================
Processing: kernel-2.6.31
===========================
Processing: skell
===================
Processing: base_libs
=======================
Processing: busybox
=====================
Build path taken because: directory build, no prebuilt rpm,
scbuild/scdeploy already unpacked package
Processing: busybox
=====================
Build path taken because: directory build, build key set, no prebuilt rpm,
rpmbuild --dbpath /home/david/Freescale/new/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/david/Freescale/new/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/david/Freescale/new/ltib/tmp' --define '_rpmdir /home/david/Freescale/new/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/david/Freescale/new/ltib/dist/lfs-5.1/busybox/busybox.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/david/Freescale/new/ltib/tmp/rpm-tmp.27768
+ umask 022
+ cd /home/david/Freescale/new/ltib/rpm/BUILD
+ cd busybox-1.15.0
+ PKG_BUSYBOX_PRECONFIG=busybox.config
+ '[' -f /home/david/Freescale/new/ltib/config/platform/imx/busybox.config ']'
+ cp /home/david/Freescale/new/ltib/config/platform/imx/busybox.config .config
+ '[' -n '' -o -n '' ']'
+ yes ''
+ make config 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/'
Makefile:1270: *** mixed implicit and normal rules. Stop.
error: Bad exit status from /home/david/Freescale/new/ltib/tmp/rpm-tmp.27768 (%build)
RPM build errors:
Bad exit status from /home/david/Freescale/new/ltib/tmp/rpm-tmp.27768 (%build)
Build time for busybox: 0 seconds
Failed building busybox
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Mon Oct 17 14:20:43 2011
Ended: Mon Oct 17 14:20:44 2011
Elapsed: 1 seconds
These packages failed to build:
busybox
Build Failed
Thanks Patrick. As I said I'm aware the Makefile needs changing. When I attepmt to save the file and update the archive, an error occurs and the archive will no longer load;
/bin/gtar: Skipping to next header.
/bin/gtar: Exiting with failure status due to previous error.
Patrick Chau said:
HI
Edit the Makefile for busybox, change:
line 1270: / %/: prepare scripts FORCE
to
line 1270: %/: prepare scripts FORCE
Patrick
HI
Edit the Makefile for busybox, change:
line 1270: / %/: prepare scripts FORCE
to
line 1270: %/: prepare scripts FORCE
Patrick