On Thu, Apr 05, 2012 at 09:42:27AM -0600, Gary Thomas wrote: > On 2012-04-04 14:51, Gary Thomas wrote: > >On 2012-04-04 10:06, Gary Thomas wrote: > >>| > >>| Executing make in subdirectory Makefile... > >>| make: Entering an unknown directory > >>| make: *** Makefile: Not a directory. Stop. > >>| make: Leaving an unknown directory > >>| make[1]: *** [Makefile] Error 2 > >>| make[1]: Leaving directory > >>`/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-dmai-1_2_10_00_01+svnr642-r118o/trunk/davinci_multimedia_application_interface/dmai_2_10_00_01+svnr642/dmai/packages/ti/sdo/dmai/apps' > >> > >> > > > >This line in the Makefile is getting strange/different results: > >SUBDIRS = $(sort $(dir $(wildcard */))) > > > >I've found the weirdness, but I don't understand what's going on. I changed > >the Makefile to print $(SUBDIRS) to try and figure it out. > > > >When bitbake runs make in > >/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/ti-dmai-1_2_10_00_01+svnr642-r118o/trunk/davinci_multimedia_application_interface/dmai_2_10_00_01+svnr642/dmai/packages/ti/sdo/dmai/apps > > > >the result is > >Makefile.app/ Makefile/ Makefile~/ app_common.cfg/ app_common.tci/ > >audio_decode1/ audio_decode_io/ audio_decode_io1/ audio_encode1/ > >audio_encode_io1/ dmai.gel/ fc_common.cfg/ > >image_decode_io/ image_decode_io1/ image_encode_io/ image_encode_io1/ > >speech_decode1/ speech_decode_io1/ speech_encode1/ speech_encode_io1/ > >video_decode_io/ video_decode_io2/ > >video_display/ video_encode_io/ video_encode_io1/ video_encode_io_multich1/ > >video_loopback/ video_loopback_blend/ video_loopback_convert/ > >video_loopback_copy/ video_loopback_resize/ > > > >the real result should be > >audio_decode1/ audio_decode_io/ audio_decode_io1/ audio_encode1/ > >audio_encode_io1/ image_decode_io/ image_decode_io1/ image_encode_io/ > >image_encode_io1/ speech_decode1/ > >speech_decode_io1/ speech_encode1/ speech_encode_io1/ video_decode_io/ > >video_decode_io2/ video_display/ video_encode_io/ video_encode_io1/ > >video_encode_io_multich1/ video_loopback/ > >video_loopback_blend/ video_loopback_convert/ video_loopback_copy/ > >video_loopback_resize/ > > > >which I get if I execute make in that directory maually! The bitbake build > >is failing because files are being treated as directories (listed in > >$(SUBDIRS)) > > > >Can someone explain this? I also had the Makefile print the > >value of $(MAKE) and it's always /usr/bin/make > > It seems to be a bug (or change in behaviour) in make 3.82 which > is on Fedora 16. When I use make 3.81, the build succeeds.
Gary, I've seen similar issues with make 3.82 here: http://thread.gmane.org/gmane.linux.embedded.yocto.meta-ti/9/focus=25 I fixed it with this patch: http://thread.gmane.org/gmane.linux.embedded.yocto.meta-ti/27 It probaly won't help with your problem though, maybe just a pointer... I won't be able to look into ti-dmai issues right away, but hopefully soon. Please let me know and/or send a patch if you find the solution for this yourself. Thanks. -- Denys _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
