fix configuration of older kernels
authorThomas Kunze <thommycheck@gmx.de>
Thu, 5 Mar 2009 23:22:58 +0000 (00:22 +0100)
committerThomas Kunze <thommycheck@gmx.de>
Thu, 5 Mar 2009 23:22:58 +0000 (00:22 +0100)
Was broken from commit b697819f7e84e19ca2adc9846421c8c8137b8fca
for  kernels that have no scripts/Makefile.fwinst (<=2.6.26 or so)

packages/linux/linux-2.6.24/simpad/defconfig
packages/linux/linux.inc

index 2e7352b..a86c365 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.24
-# Thu Mar  5 21:54:07 2009
+# Thu Mar  5 23:29:13 2009
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
index 5e714e1..f3d3bf8 100644 (file)
@@ -124,7 +124,6 @@ do_configure_prepend() {
                 echo "CONFIG_ROOT_NFS=y"                 >> ${S}/.config
                 echo "CONFIG_CMDLINE=\"${CMDLINE_NFSROOT_USB}\"" >> ${S}/.config
         fi
-        yes '' | oe_runmake oldconfig
 }
 
 do_configure_append_avr32() {
@@ -132,7 +131,9 @@ do_configure_append_avr32() {
 }
 
 do_configure_append() {
-        sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst
+        if test -e scripts/Makefile.fwinst ; then
+               sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst
+       fi
 }
 
 do_compile_append() {