[OpenWrt-Users] how does one use the DUMP feature?

Oliver Ertl owrt-2008 at gmx.de
Thu May 8 12:38:04 CEST 2008


>   i've noticed the DUMP environment variable in the makefiles, which
> appears to support a debugging pass of the build, rather than an
> actual build.  but i've yet to figure out how to use it properly.  can
> someone supply an example of its use?  thanks.

Felix told me this:

For standard packages:
$ make -C package/<name> DUMP=1 TOPDIR=$PWD

For extra packages (feeds):
$ make -C feeds/<feed>/<section>/<name> DUMP=1 TOPDIR=$PWD


Example:

$ make -C feeds/packages/admin/htop DUMP=1 TOPDIR=$PWD
make: Entering directory `/home/<username>/openwrt/builds/trunk/feeds/packages/admin/htop'
Package: htop
Version: 0.7-1
Depends: +libncurses
Provides: 
Build-Depends: 
Section: admin
Category: Administration
Title: Interactive processes viewer
Maintainer: OpenWrt Developers Team <openwrt-devel at openwrt.org>
Type: ipkg
Description:  Htop is an ncursed-based process viewer similar to top, but
 it allows to scroll the list vertically and horizontally to
 see all processes and their full command lines. 

http://htop.sourceforge.net/
@@
make: Leaving directory `/home/<username>/openwrt/builds/trunk/feeds/packages/admin/htop'


More information about the openwrt-users mailing list