summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_compile.sh
blob: 3647e8248aa4c69795cef83238f0723598bdc592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#
# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# call the compiler
#
ptxd_make_world_compile() {
    ptxd_make_world_init &&

    eval \
	"${pkg_path}" \
	"${pkg_env}" \
	"${pkg_make_env}" \
	"${MAKE}" -C "${pkg_build_dir}" \
	"${pkg_make_opt}" \
	"${pkg_make_par}"
}
export -f ptxd_make_world_compile