diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-04 17:07:11 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-11-06 09:39:45 +0100 |
commit | 090094f85317cd9de45e0ff611dbf3fb38daee85 (patch) | |
tree | 2af37c3683f6cf1ae12f01b7c5237ef8d4c2d3a4 /scripts/lib/ptxd_make_world_common.sh | |
parent | 049856511fd1ba8b99efb388d6ae557ae90a55d7 (diff) | |
download | ptxdist-090094f85317cd9de45e0ff611dbf3fb38daee85.tar.gz ptxdist-090094f85317cd9de45e0ff611dbf3fb38daee85.tar.xz |
[ptxd_make_world] new variable <PKG>_MAKE_OPT
In the compile stage no agrument is passed to <make>.
Use the variable <PKG>_MAKE_OPT to pass additional arguments.
example:
MII_DIAG_MAKE_OPT := $(CROSS_ENV_CC) mii-diag
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 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index ef2adcc2b..e7422cfca 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -94,11 +94,12 @@ ptxd_make_world_init_compat() { # makevars - if [ -n "${pkg_deprecated_makevars}" -a -n "${pkg_make_opt}" ]; then - ptxd_bailout "${FUNCNAME}: <PKG>_MAKEVARS is incompatibel with <PKG>_MAKE_OPT" + if [ -n "${pkg_deprecated_makevars}" ]; then + if [ -n "${pkg_make_opt}" ]; then + ptxd_bailout "${FUNCNAME}: <PKG>_MAKEVARS is incompatibel with <PKG>_MAKE_OPT" + fi + pkg_make_opt="${pkg_deprecated_makevars}" fi - pkg_make_opt="${pkg_deprecated_makevars}" - # install_opt pkg_install_opt="${pkg_deprecated_makevars}${pkg_deprecated_makevars:+${pkg_deprecated_install_opt:+ }}${pkg_deprecated_install_opt}" |