Skip to content

list-packageconfig-flags.py: add a script to list all PACKAGECONFIG flags

Hongxu Jia openembedded-core 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 0 repliesNew
  2. v21 patch 0 repliesSuperseded
  3. v11 patch 9 repliesSuperseded

Changes in v3 from the cover letter

* Reference Paul's bitbake parser examples to redesign the script
* Add '-a' option to list all pkgs and PACKAGECONFIG information

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1list-packageconfig-flags.py: add a script to list all PACKAGECONFIG flagsscripts/contrib/list-packageconfig-flags.py+191 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 0/1] list-packageconfig-flags.py: add a script to list all PACKAGECONFIG flags

Change in V3:
* Reference Paul's bitbake parser examples to redesign the script
* Add '-a' option to list all pkgs and PACKAGECONFIG information

Usage: list-packageconfig-flags.py [-f|-a] [-p]
list available pkgs which have PACKAGECONFIG flags

OPTION:

  -h, --help    display this help and exit
  -f, --flag    list available PACKAGECONFIG flags and all affected pkgs
  -a, --all     list all pkgs and PACKAGECONFIG information
  -p, --prefer  list pkgs with preferred version

EXAMPLE:
Enter the build directory and setup OE Build Environment

list-packageconfig-flags.py
PACKAGE NAME PACKAGECONFIG FLAGS
==============================================================

alsa-tools-1.0.26.1                        defaultval gtk+
avahi-ui-0.6.31                            defaultval python
bluez4-4.101                               alsa defaultval pie

list-packageconfig-flags.py -f
PACKAGECONFIG FLAG PACKAGE NAMES
====================================

3g                     connman-1.16        
avahi                  cups-1.6.3  pulseaudio-4.0
beecrypt               rpm-5.4.9  rpm-native-5.4.9

list-packageconfig-flags.py -a
==================================================
gtk+-2.24.18 /home/jiahongxu/yocto/poky/meta/recipes-gnome/gtk+/gtk+_2.24.18.bb PACKAGECONFIG x11
PACKAGECONFIG[x11] --with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}

xf86-video-intel-2.21.9 /home/jiahongxu/yocto/poky/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.9.bb PACKAGECONFIG None
PACKAGECONFIG[xvmc] --enable-xvmc,--disable-xvmc,libxvmc PACKAGECONFIG[sna] --enable-sna,--disable-sna

//Hongxu

The following changes since commit 9de0ad47462c13ac4a2d73e12e92be6c1b4e0415:

genericx86: ship all the driver firmware by default (2013-07-31 07:00:00 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/list-pkgconfigflag
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/list-pkgconfigflag

Hongxu Jia (1):
list-packageconfig-flags.py: add a script to list all PACKAGECONFIG
flags

 scripts/contrib/list-packageconfig-flags.py | 191 ++++++++++++++++++++++++++++
 1 file changed, 191 insertions(+)
 create mode 100755 scripts/contrib/list-packageconfig-flags.py
Signature · 1 line
1.8.1.2