mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/pkg-utils.mk: include package directory in show-info output
The new package_dir element contains the path of the package directory. For Buildroot packages this is a path relative to the main Buildroot directory, for packages from external trees an absolute path. Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Tested-by: Titouan Christophe <titouan.christophe@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
44bba49507
commit
b10f50399a
@@ -120,6 +120,7 @@ define _json-info-pkg
|
|||||||
"virtual": false$(comma)
|
"virtual": false$(comma)
|
||||||
$(call _json-info-pkg-details,$(1)) \
|
$(call _json-info-pkg-details,$(1)) \
|
||||||
)
|
)
|
||||||
|
"package_dir": $(call mk-json-str,$(patsubst $(CURDIR)/%,%,$($(1)_PKGDIR))),
|
||||||
"stamp_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))),
|
"stamp_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))),
|
||||||
"source_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))),
|
"source_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))),
|
||||||
"build_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_BUILDDIR))),
|
"build_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_BUILDDIR))),
|
||||||
|
|||||||
Reference in New Issue
Block a user