summaryrefslogtreecommitdiffstats
path: root/meta/classes/utils.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r--meta/classes/utils.bbclass30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index ab06019560..b4eb3d38ab 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -154,36 +154,6 @@ oe_libinstall() {
154 __runcmd cd "$olddir" 154 __runcmd cd "$olddir"
155} 155}
156 156
157oe_machinstall() {
158 # Purpose: Install machine dependent files, if available
159 # If not available, check if there is a default
160 # If no default, just touch the destination
161 # Example:
162 # $1 $2 $3 $4
163 # oe_machinstall -m 0644 fstab ${D}/etc/fstab
164 #
165 # TODO: Check argument number?
166 #
167 filename=`basename $3`
168 dirname=`dirname $3`
169
170 for o in `echo ${OVERRIDES} | tr ':' ' '`; do
171 if [ -e $dirname/$o/$filename ]; then
172 bbnote $dirname/$o/$filename present, installing to $4
173 install $1 $2 $dirname/$o/$filename $4
174 return
175 fi
176 done
177# bbnote overrides specific file NOT present, trying default=$3...
178 if [ -e $3 ]; then
179 bbnote $3 present, installing to $4
180 install $1 $2 $3 $4
181 else
182 bbnote $3 NOT present, touching empty $4
183 touch $4
184 fi
185}
186
187create_cmdline_wrapper () { 157create_cmdline_wrapper () {
188 # Create a wrapper script where commandline options are needed 158 # Create a wrapper script where commandline options are needed
189 # 159 #