diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-05 21:46:02 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-06 09:39:46 +0100 |
commit | 5b09a36173b2bbd4f418fad9bdab9aef981e3435 (patch) | |
tree | 3d73d7ba186dc29d05609b979bed04192f0ea94b /scripts/lib/ptxd_make_world_common.sh | |
parent | 34133b78484f2cb3ef5b42943143758933569193 (diff) | |
download | ptxdist-5b09a36173b2bbd4f418fad9bdab9aef981e3435.tar.gz ptxdist-5b09a36173b2bbd4f418fad9bdab9aef981e3435.tar.xz |
[ptxd_make_world_tags] add generic "tags" target
To generate tag for a certain pacakge, call ptxdist this way:
$ ptxdist tags <package>
PTXdist basically runs:
$ make <PKG>_TAGS_OPT
<PKG>_TAGS_OPT default to "tags", which is a good default for
autotoolizised packages. Of course it can be overwritten on a per
package base, e.g.:
BUSYBOX_TAGS_OPT := tags TAGS scope
Why:
1) non autotool based build system, that has cscope support.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index b163a692d..bfc0d0f60 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -123,6 +123,14 @@ ptxd_make_world_init_compat() { esac + # + # pkg_tags_opt + # + # default: "tags" + # + pkg_tags_opt="${pkg_tags_opt:-tags}" + + # pkg_env case "${pkg_type}" in target) pkg_env="${PTXDIST_CROSS_ENV_PKG_CONFIG}" ;; |