summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-20 13:15:18 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-20 13:15:18 +0000
commit4a6c854463213736493392541b0ef5b7706f3436 (patch)
treeae3ddf8a9b423052983cce513d8f324f6b9fcd45
parent3cb946597ed916b167109b9faecb8c6eb0a695e8 (diff)
base.bbclass: whitespace cleanup, remove unneeded stage addtask call
-rw-r--r--classes/base.bbclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 5404b5f9b2..4c88e9a6b7 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -195,10 +195,10 @@ oe_libinstall() {
lafile=$libname.la
# If such file doesn't exist, try to cut version suffix
- if [ ! -f "$lafile" ]; then
- libname=`echo "$libname" | sed 's/-[0-9.]*$//'`
- lafile=$libname.la
- fi
+ if [ ! -f "$lafile" ]; then
+ libname=`echo "$libname" | sed 's/-[0-9.]*$//'`
+ lafile=$libname.la
+ fi
if [ -f "$lafile" ]; then
# libtool archive
@@ -562,8 +562,6 @@ base_do_compile() {
fi
}
-
-addtask stage after do_compile
base_do_stage () {
:
}
@@ -581,7 +579,7 @@ python do_populate_staging () {
bb.build.exec_func('do_stage', d)
}
-addtask install after do_compile
+addtask install after do_compile
do_install[dirs] = "${D} ${S} ${B}"
base_do_install() {