summaryrefslogtreecommitdiff
path: root/classes/native.bbclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-09 22:40:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-09 22:40:46 +0000
commitcc66d34e4a411ce7e105df2ecb3d95265157f267 (patch)
treeb18e2d1bb8174fa6192339cf343ea90350e0b38c /classes/native.bbclass
parent25dadfa89ec600d7e78598006215a7e7cac12655 (diff)
autotools.bbclass: add INHIBIT_AUTO_STAGE_INCLUDES
native.bbclass: add INHIBIT_NATIVE_STAGE_INSTALL
Diffstat (limited to 'classes/native.bbclass')
-rw-r--r--classes/native.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/native.bbclass b/classes/native.bbclass
index 3391694838..955a8ae646 100644
--- a/classes/native.bbclass
+++ b/classes/native.bbclass
@@ -50,14 +50,17 @@ libdir = "${exec_prefix}/lib"
includedir = "${exec_prefix}/include"
oldincludedir = "${exec_prefix}/include"
-# Datadir is made arch depenedent here, primarily
+# Datadir is made arch dependent here, primarily
# for autoconf macros, and other things that
# may be manipulated to handle crosscompilation
# issues.
datadir = "${exec_prefix}/share"
do_stage () {
- oe_runmake install
+ if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
+ then
+ oe_runmake install
+ fi
}
do_install () {