Alexander Dahl wrote:
> On Tue, 14 Jun 2011 15:54:19 +0200, Juergen Beisert wrote:
> > Known bug (hit me a few days before). Just enable also opkg for your
> > target. This issue will be fixed in the next PTXdist release.
>
> How?

It is a dependency issue. The host-opkg package depends on the target-opkg
package. And if the target-opkg package is disabled the host-opkg will fail.

You can solve it in your project with enabling the target-opkg.

Or add patch 09d288e224d904d804b8cea7120b1f1ff083b5b4 from the ptxdist
repository (here for reference):

commit 09d288e224d904d804b8cea7120b1f1ff083b5b4
Author: Michael Olbrich <m.olbr...@pengutronix.de>
Date:   Fri Jun 10 13:55:26 2011 +0200

    ptxd_lib_dgen: generate source rule for all packages
    
    this is necessary in case the only the host package is selected
    
    Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>

diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index e9e6f79..1c0093b 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -286,6 +286,11 @@ function import_PKG(this_PKG,      this_pkg) {
                        print this_PKG "_DEVPKG = cross-" this_devpkg   > 
DGEN_DEPS_PRE;
                }
        }
+       if ((this_PKG in PKG_source_url) && !(this_PKG in PKG_source_rule)) {
+               print "$(" this_PKG "_SOURCE):"                                 
                        > DGEN_DEPS_POST;
+               print " @$(call targetinfo)"                                    
                        > DGEN_DEPS_POST;
+               print " @$(call get, " this_PKG ")"                             
                        > DGEN_DEPS_POST;
+       }
 }
 
 END {
@@ -315,11 +320,6 @@ END {
                        print "$(STATEDIR)/" this_pkg ".targetinstall: "      
"$(STATEDIR)/" this_pkg ".install.post"   > DGEN_DEPS_POST;
                        print "$(STATEDIR)/" this_pkg ".targetinstall.post: " 
"$(STATEDIR)/" this_pkg ".targetinstall"  > DGEN_DEPS_POST;
                }
-               if ((this_PKG in PKG_source_url) && !(this_PKG in 
PKG_source_rule)) {
-                       print "$(" this_PKG "_SOURCE):"                         
                                > DGEN_DEPS_POST;
-                       print " @$(call targetinfo)"                            
                                > DGEN_DEPS_POST;
-                       print " @$(call get, " this_PKG ")"                     
                                > DGEN_DEPS_POST;
-               }
 
                #
                # conditional dependencies

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to