Changeset 26491


Ignore:
Timestamp:
2011-04-05T21:03:51+02:00 (7 years ago)
Author:
nbd
Message:

add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package-defaults.mk

    r23172 r26491  
    1111  CATEGORY:=Extra packages 
    1212  DEPENDS:= 
     13  MDEPENDS:= 
    1314  PROVIDES:= 
    1415  EXTRA_DEPENDS:= 
  • trunk/include/package-dumpinfo.mk

    r23161 r26491  
    3232)Version: $(VERSION) 
    3333Depends: $(DEPENDS) 
     34Menu-Depends: $(MDEPENDS) 
    3435Provides: $(PROVIDES) 
    3536$(if $(VARIANT),Build-Variant: $(VARIANT) 
  • trunk/scripts/metadata.pl

    r25505 r26491  
    531531                        } 
    532532                        print mconf_depends($pkg->{name}, $pkg->{depends}, 0); 
     533                        print mconf_depends($pkg->{name}, $pkg->{mdepends}, 0); 
    533534                        print "\t\thelp\n"; 
    534535                        print $pkg->{description}; 
  • trunk/scripts/metadata.pm

    r19284 r26491  
    6767                        $pkg->{default} = "m if ALL"; 
    6868                        $pkg->{depends} = []; 
     69                        $pkg->{mdepends} = []; 
    6970                        $pkg->{builddepends} = []; 
    7071                        $pkg->{buildtypes} = []; 
     
    112113                        } 
    113114                }; 
     115                /^Menu-Depends: \s*(.+)\s*$/ and $pkg->{mdepends} = [ split /\s+/, $1 ]; 
    114116                /^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ]; 
    115117                /^Build-Variant: \s*([\w\-]+)\s*/ and $pkg->{variant} = $1; 
Note: See TracChangeset for help on using the changeset viewer.