From e0ed375a8dfb292bdd72f5891917ef81f361f15c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 4 Feb 2009 12:11:27 +0100 Subject: sanity.bbclass: make a warning about dash being used as /bin/sh (from Poky) gtk+ fails with dash --- classes/sanity.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'classes') 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" -- cgit v1.2.3 From e16a44c08abde9d85276d12120dbbd37cf980fee Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 4 Feb 2009 15:47:28 -0500 Subject: insane.bbclass: Fix MIPS and GNU_HASH check. MIPS doesn't do GNU_HASH so if objdump tells us "[mips32]" or "[mips64]" then set sane = True --- classes/insane.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes') 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 -- cgit v1.2.3 From f9380580de7f50adf8c12e7bf72d37465e7f6406 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 7 Feb 2009 21:41:40 +0100 Subject: autotools_stage.bbclass: merge from poky --- classes/autotools_stage.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 classes/autotools_stage.bbclass (limited to 'classes') 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 +} + -- cgit v1.2.3