summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2009-02-09 10:42:37 -0500
committerCliff Brake <cbrake@bec-systems.com>2009-02-09 10:42:37 -0500
commit68e1ea7aeddc4f7efc621558dfd424cd2fe22674 (patch)
tree14bbcb046384962f5a0e58cb21f627d8e36a1401 /classes
parentcd0a56bb41942c6bc470a3ec0e2d080fba95ef80 (diff)
parent0d09acc3587baf6981b4f787b021499eeb5f4a6e (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes')
-rw-r--r--classes/autotools_stage.bbclass6
-rw-r--r--classes/insane.bbclass2
-rw-r--r--classes/sanity.bbclass3
3 files changed, 11 insertions, 0 deletions
diff --git a/classes/autotools_stage.bbclass b/classes/autotools_stage.bbclass
new file mode 100644
index 0000000000..3007eef969
--- /dev/null
+++ b/classes/autotools_stage.bbclass
@@ -0,0 +1,6 @@
+inherit autotools
+
+do_stage () {
+ autotools_stage_all
+}
+
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 3a2cadcaff..5b31a0123d 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -359,6 +359,8 @@ def package_qa_hash_style(path, name, d, elf):
elf = True
if "GNU_HASH" in line:
sane = True
+ if "[mips32]" in line or "[mips64]" in line:
+ sane = True
if elf and not sane:
error_msg = "No GNU_HASH in the elf binary: '%s'" % path
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index e442bf1807..da3e630445 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -112,6 +112,9 @@ def check_sanity(e):
missing = missing.rstrip(',')
messages = messages + "Please install following missing utilities: %s\n" % missing
+ if os.path.basename(os.readlink('/bin/sh')) == 'dash':
+ messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead.\n"
+
omask = os.umask(022)
if omask & 0755:
messages = messages + "Please use a umask which allows a+rx and u+rwx\n"