This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| docs:guide-developer:dependencies [2019/05/31 18:57] – Add boolean operator caveats cotequeiroz | docs:guide-developer:dependencies [2022/03/21 21:43] (current) – [Bugs] why not use the same environment variable the build system uses? russellsenior |
|---|
| |
| There is also a ''default 'y' SYMBOL'' directive but the author is hazy on the details. | There is also a ''default 'y' SYMBOL'' directive but the author is hazy on the details. |
| | |
| | :!: It is important to note that using ''select bar'' in ''Package/foo/config'' directives will select ''bar'' for building, but it will not be included in the dependencies when ''opkg'' installs ''foo'', nor will it guarantee that ''bar'' will be built before ''foo''. Using ''DEPENDS'' will take care of all that. |
| |
| ===== Caveats ===== | ===== Caveats ===== |
| There may be bugs in the OpenWrt build system wrt to dependencies. If you can confirm that you have a dependency problem, please report a bug. The developers would appreciate the following information: | There may be bugs in the OpenWrt build system wrt to dependencies. If you can confirm that you have a dependency problem, please report a bug. The developers would appreciate the following information: |
| |
| * the relevant portions of ''$ROOTDIR/tmp/.config-package.in'' (where $ROOTDIR is your OpenWrt source root dir) | * the relevant portions of ''$TOPDIR/tmp/.config-package.in'' (where $TOPDIR is the directory where you checked out OpenWrt and where you initiate your builds) |
| |
| **NB** Many apparent bugs are caused by circular dependencies. The OpenWrt build system doesn't like circular dependencies. | **NB** Many apparent bugs are caused by circular dependencies. The OpenWrt build system doesn't like circular dependencies. |