05.11.2010 13:19, KP Kirchdoerfer пишет: > Am Donnerstag, 4. November 2010, 22:19:43 schrieb Andrew: >> 04.11.2010 22:32, KP Kirchdoerfer пишет: >>> Hi Andrew; >>> >>> I'd say the "unoptimized" 486 kernel should be the base, but that's >>> nitpicking. >>> >>> ok, I start to get it :)) >>> >>> I've managed to build the necessary patch, removed kernel and linux >>> (including .source by hand) and to rebuild the kernel with 486 process >>> support for the start. >>> >>> I'm wondering why I just built one kernel, I thought >>> >>> "(for i in $(KARCHS); do \ " (from buildtool.mk in source/linux) >>> >>> loops over the archs to build every arch added in make/Masterinclude.mk. >>> >>> Either I'm still doing something wrong, or I'm misleaded. >>> >>> kp >> Can you write step-by-step what you did? >> For building another kernel you must: >> 1) Create .config for it >> 2) Make diff between 'main' config and your modified one (diff -au >> Bering-uClibc-2.6.35.8 .config>Bering-uClibc-2.6.35.8-newarch.patch) >> 3) Add 'newarch' into make/Masterinclude.mk >> 4) Build linux and kernel packages >> And then - modify modules& etc packages for .lrp creation for new arch... > Hi Andrew; > > it finally worked for the kernel and initrd. I've made an error in > make/Masterinclude.mk... > > Now I can't build accel-pptp (see below) and therefor not packaging kmodules. > > kp > > *** > Configuration chosen: > PPPD: 2.4.5 > linux kernel : 2.6.35.8 at /opt/buildtool-2.6.35.8/source/linux/linux- > i686/ > configure.3: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > (for i in i686 i486; do export LOCALVERSION="-$i" ; \ > mkdir -p /opt/buildtool-2.6.35.8/build/accel- > pptp/lib/modules/2.6.35.8-$i/net ; \ > cd accel-pptp-0.8.5/kernel/driver&& make > KDIR=/opt/buildtool-2.6.35.8/source/linux/linux-$i CC=gcc&& \ > cp -a pptp.ko /opt/buildtool-2.6.35.8/build/accel- > pptp/lib/modules/2.6.35.8-$i/net ||\ > exit 1 ; done) > make[1]: Entering directory `/opt/buildtool-2.6.35.8/source/accel-pptp/accel- > pptp-0.8.5/kernel/driver' > using "/opt/buildtool-2.6.35.8/source/linux/linux-i686" kernel headers > make -C /opt/buildtool-2.6.35.8/source/linux/linux-i686 > SUBDIRS=/opt/buildtool-2.6.35.8/source/accel-pptp/accel- > pptp-0.8.5/kernel/driver modules > make[2]: Entering directory `/opt/buildtool-2.6.35.8/source/linux/linux-i686' > make -C /opt/buildtool-2.6.35.8/source/linux/linux-2.6.35.8 > O=/opt/buildtool-2.6.35.8/source/linux/linux-i686/. modules > Building modules, stage 2. > MODPOST 1 modules > make[2]: Leaving directory `/opt/buildtool-2.6.35.8/source/linux/linux-i686' > make[1]: Leaving directory `/opt/buildtool-2.6.35.8/source/accel-pptp/accel- > pptp-0.8.5/kernel/driver' > cd: 5: can't cd to accel-pptp-0.8.5/kernel/driver > make: *** [accel-pptp-0.8.5/.build] Fehler 1 Fixed.
------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel