diff options
Diffstat (limited to 'meta/classes/binconfig-disabled.bbclass')
-rw-r--r-- | meta/classes/binconfig-disabled.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass index 27f904eb42..4c42ae22e4 100644 --- a/meta/classes/binconfig-disabled.bbclass +++ b/meta/classes/binconfig-disabled.bbclass | |||
@@ -10,6 +10,9 @@ FILES_${PN}-dev += "${bindir}/*-config" | |||
10 | do_install_append () { | 10 | do_install_append () { |
11 | for x in ${BINCONFIG}; do | 11 | for x in ${BINCONFIG}; do |
12 | echo "#!/bin/sh" > ${D}$x | 12 | echo "#!/bin/sh" > ${D}$x |
13 | # Make the disabled script emit invalid parameters for those configure | ||
14 | # scripts which call it without checking the return code. | ||
15 | echo "echo '--should-not-have-used-$x'" > ${D}$x | ||
13 | echo "exit 1" >> ${D}$x | 16 | echo "exit 1" >> ${D}$x |
14 | done | 17 | done |
15 | } | 18 | } |