All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Gary Thomas <gary@mlbassoc.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: Can't build ti-dmai
Date: Sun, 08 Apr 2012 21:54:44 -0400	[thread overview]
Message-ID: <20120409015444.GE10246@denix.org> (raw)
In-Reply-To: <4F7DBD63.1060105@mlbassoc.com>

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


      reply	other threads:[~2012-04-09  1:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 16:06 Can't build ti-dmai Gary Thomas
2012-04-04 20:51 ` Gary Thomas
2012-04-05 15:42   ` Gary Thomas
2012-04-09  1:54     ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120409015444.GE10246@denix.org \
    --to=denis@denix.org \
    --cc=gary@mlbassoc.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.