2010-12-31 04:59:57     Please help to add the two packages into blackfin uClinux-dist trunk

Document created by Aaronwu Employee on Aug 25, 2013
Version 1Show Document
  • View in full screen mode

2010-12-31 04:59:57     Please help to add the two packages into blackfin uClinux-dist trunk

Zechao Wang (AFGHANISTAN)

Message: 97107   

 

Hello !

 

I have ported the "v4l-test" application and its dependent library "CUnit".

Please help to add the two packages into blackfin uClinux-dist trunk ?

 

All files see attachment, after unzip the tarball:

 

$ ls uc_ports -l

    Kconfig.local.patch

    Kconfig.patch

    libcunit/

    Makefile.local.patch

    Makefile.patch

    v4l-test/

 

 

For CUnit:

 

  $ cd uClinux-dist/lib/

  $ cp -r uc_ports/libcunit .

  $ patch -p0 -i Kconfig.local.patch

  $ patch -p0 -i Makefile.local.patch

 

For v4l-test:

 

  $ cd uClinux-dist/user

  $ cp -r uc_ports/v4l-test .

  $ patch -p0 -i Kconfig.patch

  $ patch -p0 -i Makefile.patch

 

Then "make menuconfig", enter "... /Miscellaneous Applications" select "v4l-test", then "libcunit" will auto be selected.

Then "make".

 

Package info/version:

 

v4l-test-0.19.tar.bz2       (  v4l-test.sourceforge.net/)

CUnit-2.1-2-src.tar.bz2    (  cunit.sourceforge.net/)

 

uc_ports.zip

TranslateQuoteReplyEditDelete

 

 

2010-12-31 13:04:54     Re: Please help to add the two packages into blackfin uClinux-dist trunk

Mike Frysinger (UNITED STATES)

Message: 97109   

 

your header changes to CUnit should be using $top_srcdir instead of hardcoding paths

 

v4l-test should be in a subdir like CUnit:

user/v4l-test/Makefile

user/v4l-test/v4l-test-0.19/....

QuoteReplyEditDelete

 

 

2010-12-31 22:53:22     Re: Please help to add the two packages into blackfin uClinux-dist trunk

Zechao Wang (AFGHANISTAN)

Message: 97110   

 

I can find the defination of top_srcdir in Makefile.in: top_srcdir = @top_srcdir@

 

But ${top_srcdir} in configure displayed as empty.

 

How to use this variable ?

TranslateQuoteReplyEditDelete

 

 

2011-01-03 09:16:36     Re: Please help to add the two packages into blackfin uClinux-dist trunk

Mike Frysinger (UNITED STATES)

Message: 97137   

 

dont expand top_srcdir in configure.  it is expanded in the Makefile already.

QuoteReplyEditDelete

Attachments

Outcomes