diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-10-02 11:34:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-10-28 11:35:56 +0200 |
commit | 9333a284047a6c5551fdd1bff006fd51b3948422 (patch) | |
tree | d5f59895099ab6e57d22cd662d9ad37b4101d543 /scripts/lib/ptxd_lib_00-init.sh | |
parent | bf46911deb9c5ced647a006dff8fa2d9bb08f409 (diff) | |
download | ptxdist-9333a284047a6c5551fdd1bff006fd51b3948422.tar.gz ptxdist-9333a284047a6c5551fdd1bff006fd51b3948422.tar.xz |
[rules] define and use PTXDIST_PATH_(PRE|POST)RULES
Don't explicitly use workspace and ptxdist rules dirs when including
pre and post makefiles. Use a path variable instead.
It's now possible to add pre and post makefiles in the platform.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_00-init.sh')
-rw-r--r-- | scripts/lib/ptxd_lib_00-init.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_00-init.sh b/scripts/lib/ptxd_lib_00-init.sh index 42d982be0..17912969f 100644 --- a/scripts/lib/ptxd_lib_00-init.sh +++ b/scripts/lib/ptxd_lib_00-init.sh @@ -92,6 +92,12 @@ ptxd_init_ptxdist_path() { PTXDIST_PATH_RULES="${PTXDIST_PATH//://rules:}" export PTXDIST_PATH_RULES + PTXDIST_PATH_PRERULES="${PTXDIST_PATH_RULES//://pre:}" + export PTXDIST_PATH_PRERULES + + PTXDIST_PATH_POSTRULES="${PTXDIST_PATH_RULES//://post:}" + export PTXDIST_PATH_POSTRULES + ptxd_init_ptxdist_path_sysroot } |