Make clear why that error happens, just in case someone decides to
create a target package named "image-viewer".

Signed-off-by: Roland Hieber <[email protected]>
---
 scripts/lib/ptxd_lib_dgen.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index 1e01939d8018..8a08bcc44e8e 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -100,7 +100,7 @@ $0 ~ /^include[[:space:]]+\/.*\.make$/ {
 $1 ~ /^\$\(STATEDIR\)\/(image-.*|host-.*|cross-.*)\.targetinstall(.post)?:/ {
        match($0, 
/\$\(STATEDIR\)\/((image-.*|host-.*|cross-.*)\.targetinstall(.post)?):/, m);
        print "\nError in " old_filename " line " lineno ":\n" \
-               "  '" m[1] "' stage will be ignored.\n" \
+               "  '" m[1] "' stage in host/cross/image rule will be 
ignored.\n" \
                "  See section 'Rule File Layout' in the PTXdist reference for 
more info:\n" \
                "  https://www.ptxdist.org/doc/ref_manual.html#rule-file-layout";
        exit 1;
-- 
2.39.2


Reply via email to