diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-03 16:46:25 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-19 09:53:49 +0100 |
commit | a241ccfff97441eba2ff500f675ef0fc0022e992 (patch) | |
tree | d87870de7e93f8a8b42ee5625b3360632e422728 /bin | |
parent | f6488bbd0dc8e360bcfae952f8be78f82e57bf63 (diff) | |
download | ptxdist-a241ccfff97441eba2ff500f675ef0fc0022e992.tar.gz ptxdist-a241ccfff97441eba2ff500f675ef0fc0022e992.tar.xz |
[ptxdist] fix broken existing target detection
PROJECTRULESDIR has been removed. Use PTXDIST_PATH_RULES to look for
existing rules.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 5b28f91ac..7d9b8595b 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1095,8 +1095,7 @@ newpackage() { # for host and cross packages, find out if there is already an # existing target # - if [ -f "${PROJECTRULESDIR}/${package_name}.make" -o \ - -f "${RULESDIR}/${package_name}.make" ]; then + if ptxd_in_path PTXDIST_PATH_RULES "${package_name}.make"; then case "${action}" in host|cross) action=class-existing-target |