diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/classes/binconfig-disabled.bbclass | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/binconfig-disabled.bbclass')
-rw-r--r-- | meta/classes/binconfig-disabled.bbclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass new file mode 100644 index 0000000000..27f904eb42 --- /dev/null +++ b/meta/classes/binconfig-disabled.bbclass | |||
@@ -0,0 +1,15 @@ | |||
1 | # | ||
2 | # Class to disable binconfig files instead of installing them | ||
3 | # | ||
4 | |||
5 | # The list of scripts which should be disabled. | ||
6 | BINCONFIG ?= "" | ||
7 | |||
8 | FILES_${PN}-dev += "${bindir}/*-config" | ||
9 | |||
10 | do_install_append () { | ||
11 | for x in ${BINCONFIG}; do | ||
12 | echo "#!/bin/sh" > ${D}$x | ||
13 | echo "exit 1" >> ${D}$x | ||
14 | done | ||
15 | } | ||