Here is output of the "debian" target (with clean tree). After that debian/control contains:
Source: linux-source-.. Section: devel Priority: optional Maintainer: Eugeniy Meshcheryakov <eu...@debian.org> Build-Depends: po-debconf, gettext, file Standards-Version: 3.5.9.0 Package: linux-headers-.. Architecture: any Depends: ${shlibs:Depends} Section: devel Priority: optional Recommends: libc6-dev | libc-dev, gcc | c-compiler, make (>= 3.80-10), binutils (>= 2.12), util-linux (>= 2.10o) Suggests: module-init-tools (>= 0.9.10), e2fsprogs (>= 1.29) Provides: linux-headers, linux-headers-. Description: Header files related to Linux kernel, specifically, version .. % fakeroot make-kpkg --initrd --arch=armel debian exec make kpkg_version=12.009 -f /usr/share/kernel-package/ruleset/minimal.mk debian KPKG_ARCH=armel INITRD=YES dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. ====== making target debian/stamp/conf/minimal_debian [new prereqs: ]====== This is kernel package version 12.009. test -d debian || mkdir debian test ! -e stamp-building || rm -f stamp-building install -p -m 755 /usr/share/kernel-package/rules debian/rules for file in ChangeLog Control Control.bin86 config templates.in rules; do \ cp -f /usr/share/kernel-package/$file ./debian/; \ done for dir in Config docs examples ruleset scripts pkg po; do \ cp -af /usr/share/kernel-package/$dir ./debian/; \ done test -f debian/control || sed -e 's/=V/2.6.30-rc3/g' \ -e 's/=D/2.6.30-rc3-10.00.Custom/g' -e 's/=A/armel/g' \ -e 's/=SA//g' \ -e 's/=I//g' \ -e 's/=CV/2.6/g' \ -e 's/=M/Eugeniy Meshcheryakov <eu...@debian.org>/g' \ -e 's/=ST/linux/g' -e 's/=B/arm/g' \ /usr/share/kernel-package/Control > debian/control test -f debian/changelog || sed -e 's/=V/2.6.30-rc3/g' \ -e 's/=D/2.6.30-rc3-10.00.Custom/g' -e 's/=A/armel/g' \ -e 's/=ST/linux/g' -e 's/=B/arm/g' \ -e 's/=M/Eugeniy Meshcheryakov <eu...@debian.org>/g' \ /usr/share/kernel-package/changelog > debian/changelog chmod 0644 debian/control debian/changelog test -d ./debian/stamp || mkdir debian/stamp make -f debian/rules debian/stamp/conf/kernel-conf dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -gt: unexpected operator [: 1: -ge: unexpected operator [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -ge: unexpected operator make[1]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" ====== making target debian/stamp/conf/kernel-conf [new prereqs: ]====== make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm \ oldconfig; make[2]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" scripts/kconfig/conf -o arch/arm/Kconfig # # configuration written to .config # make[2]: Залишаю каталог "/home/eugen/work/linux/linux-arm" make CROSS_COMPILE=arm-linux-gnueabi- \ ARCH=arm dep make[2]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" scripts/kconfig/conf -s arch/arm/Kconfig make[2]: Залишаю каталог "/home/eugen/work/linux/linux-arm" make[2]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" *** Warning: make dep is unnecessary now. make[2]: Залишаю каталог "/home/eugen/work/linux/linux-arm" make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm clean make[2]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" make[2]: Залишаю каталог "/home/eugen/work/linux/linux-arm" echo done > debian/stamp/conf/kernel-conf make[1]: Залишаю каталог "/home/eugen/work/linux/linux-arm" make -f debian/rules debian/stamp/conf/full-changelog dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -gt: unexpected operator [: 1: -ge: unexpected operator [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -ge: unexpected operator make[1]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" ====== making target debian/stamp/conf/full-changelog [new prereqs: ]====== for file in ChangeLog Control Control.bin86 config templates.in rules; do \ cp -f /usr/share/kernel-package/$file ./debian/; \ done for dir in Config docs examples ruleset scripts pkg po; do \ cp -af /usr/share/kernel-package/$dir ./debian/; \ done install -p -m 755 /usr/share/kernel-package/rules debian/rules sed -e 's/=V/../g' \ -e 's/=D/..-10.00.Custom/g' -e 's/=A/armel/g' \ -e 's/=SA//g' \ -e 's/=I//g' \ -e 's/=CV/./g' \ -e 's/=M/Eugeniy Meshcheryakov <eu...@debian.org>/g' \ -e 's/=ST/linux/g' -e 's/=B/arm/g' \ /usr/share/kernel-package/Control > debian/control sed -e 's/=V/../g' -e 's/=D/..-10.00.Custom/g' \ -e 's/=A/armel/g' -e 's/=M/Eugeniy Meshcheryakov <eu...@debian.org>/g' \ -e 's/=ST/linux/g' -e 's/=B/arm/g' \ /usr/share/kernel-package/changelog > debian/changelog chmod 0644 debian/control debian/changelog make -f debian/rules debian/stamp/conf/kernel-conf dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -gt: unexpected operator [: 1: -ge: unexpected operator [: 1: -lt: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -eq: unexpected operator [: 1: -ge: unexpected operator make[2]: Вхожу у каталог "/home/eugen/work/linux/linux-arm" make[2]: "debian/stamp/conf/kernel-conf" не вимагає оновлення. make[2]: Залишаю каталог "/home/eugen/work/linux/linux-arm" make[1]: Залишаю каталог "/home/eugen/work/linux/linux-arm" echo done > debian/stamp/conf/minimal_debian % 23 квітня 2009 о 17:45 -0500 Manoj Srivastava написав(-ла): > tags 525352 +moreinfo > thanks > > Hi, > > Try starting with no ./debian: rm -rf ./debian, and > then try again; this might make a difference if you had built a native > kernel there. Indeed, make-kpkg clean is better in this regard. > > I think that is the likely cause; the cross compile bit is a red > herring. > > manoj > -- > There are always alternatives. Spock, "The Galileo Seven", stardate > 2822.3 > Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/> > 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C >
signature.asc
Description: Digital signature