[oe-commits] Stefan Schmidt : linux.inc: Check if Makefile.fwinst actually exist.

git version control git at git.openembedded.org
Fri Aug 7 13:03:25 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 56f1c9612766af0245bda5074c8ccd6d9a869995
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=56f1c9612766af0245bda5074c8ccd6d9a869995

Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date:   Wed Jul 15 14:46:24 2009 +0200

linux.inc: Check if Makefile.fwinst actually exist.

This fixes the linux-openmoko-2.6.24 build.

---

 recipes/linux/linux.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 5e714e1..581b33a 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -132,7 +132,9 @@ do_configure_append_avr32() {
 }
 
 do_configure_append() {
+        if [ -e scripts/Makefile.fwinst ]; then
         sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst
+        fi
 }
 
 do_compile_append() {





More information about the Openembedded-commits mailing list