summaryrefslogtreecommitdiff
path: root/meta/classes/binconfig-disabled.bbclass
blob: 1308358fecba429bf45eed34720834a631be48d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# Class to disable binconfig files instead of installing them
#

FILES_${PN}-dev += "${bindir}/*-config"

do_install_append () {
	for x in ${BINCONFIG}; do
		echo "#!/bin/sh" > ${D}$x
		echo "exit 1" >> ${D}$x
	done
}