logo       

Re: Buildroot on OpenBSD: msg#00114

linux.distributions.gumstix.general

Subject: Re: Buildroot on OpenBSD

I spoke too soon, looks like I've got a bit of a script problem on top of needing GNU make. I'm running the following bash version:
GNU bash, version 3.00.16(1)-release (i386-unknown-openbsd3.7)
Copyright (C) 2004 Free Software Foundation, Inc.

Here's the last few pages of output before make exits back to the prompt.

Patching file util/mkfs.jffs2.c using Plan A...
Hunk #1 succeeded at 63 (offset 1 line).
Hunk #2 succeeded at 436 (offset 3 lines).
Hunk #3 succeeded at 577 (offset 1 line).
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /home/dgs/patchin.sh 2005-03-09 21:50:02.000000000 +0000
|+++ mtd/patches/patchin.sh 2005-03-09 21:57:03.883679352 +0000
--------------------------
Patching file patches/patchin.sh using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 50.
Hunk #3 succeeded at 80.
Hunk #4 succeeded at 204.
done
touch /home/jeremy/gumstix-buildroot/build_arm/mtd/Makefile
mkdir -p /home/jeremy/gumstix-buildroot/toolchain_build_arm
#mkdir -p /home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11gum
#rm -rf /home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11gum
echo DEPMOD3=/home/jeremy/gumstix-buildroot/build_arm/busybox-1.00/examples/depmod.pl
DEPMOD3=/home/jeremy/gumstix-buildroot/build_arm/busybox-1.00/examples/depmod.pl
echo DEPMOD_TMP=
DEPMOD_TMP=
bzcat /home/jeremy/gumstix-buildroot/sources/dl/linux-2.6.11.tar.bz2 | tar -C /home/jeremy/gumstix-buildroot/build_arm -xf -
# Rename the dir from the downloaded version to the AFTER patch version
mv -f /home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11 /home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11gum
# Insert latest MTD code to kernel tree
(cd /home/jeremy/gumstix-buildroot/build_arm/mtd; sh patches/patchin.sh -2 -y /home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11gum)
patches/patchin.sh[43]: syntax error: `(' unexpected
make: *** [/home/jeremy/gumstix-buildroot/build_arm/linux-2.6.11gum/Makefile] Error 1

--
Jeremy Grosser
www.runemonkey.com


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise