xyzjr 发表于 2018-5-15 08:31:34

嵌入式debian构建cubieboard

  http://forum.cubietech.com/forum.php?mod=viewthread&tid=420&extra=page%3D1新鲜出炉:从零构建CubieBoard Debian Linux
  http://onefishum.blog.163.com/blog/static/5184730520131151385937/   安装Cubieboard最小系统来自onefish的blog
  http://linux-sunxi.org/Building_on_Debian来自cubieboard的wiki
  http://wiki.debian.org/EmDebian/CrossDebootstrap
  http://tinkering-is-fun.blogspot.jp/2009/12/running-arm-linux-on-your-desktop-pc_12.html
  https://wiki.ubuntu.com/ARM/BuildEABIChroot
  

  http://www.cnx-software.com/2012/05/02/getting-started-with-multiarch-armel-armhf-in-ubuntu/
  https://wiki.linaro.org/Platform/DevPlatform/CrossBuildd
  https://wiki.debian.org/Multiarch/HOWTO
  https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/UsingMultiArch
  https://wiki.debian.org/BuildingCrossCompilers
  https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuilding
  

#!/bin/bash
# debootstrap --foreign --arch armhf wheezy .
#cp /usr/bin/qemu-arm-static usr/bin
#LC_ALL=C LANGUAGE=C LANG=C chroot . /debootstrap/debootstrap --second-stage
#LC_ALL=C LANGUAGE=C LANG=C chroot . dpkg --configure -a
#debootstrap --arch=armhf --variant=buildd --foreign wheezy/home/zlb/debian_develop http://ftp.cn.debian.org/debian
sudo debootstrap --arch=armhf --variant=buildd --foreign wheezy/home/zlb/debian_develop/cubieboard_armhfhttp://mirrors.163.com/debian
#sudo LC_ALL=C LANGUAGE=C LANG=C chroot cubieboard_armhf/ /debootstrap/debootstrap --second-stage
#sudo LC_ALL=C LANGUAGE=C LANG=C chroot cubieboard_armhf/ dpkg-reconfigure -a  

  建立链接
  for i in arm-linux-gnueabihf*-4.7 ; do sudo ln -sfv $i ${i%%-4.7} ; done
$ dpkg -S /usr/share/lintian/checks/xdeb
xdeb: /usr/share/lintian/checks/xdeb
I can fix the error by manually editing line 28 like this:
-use Util;
+use Lintian::Util;$ DEB_CPPFLAGS_SET="-I/foo/bar/baz" DEB_CFLAGS_SET="-g -O6" DEB_LDFLAGS_SET="-L/fruzzel/frazzel/" dpkg-buildpackage -uc -us -j8 -rfakeroot  
页: [1]
查看完整版本: 嵌入式debian构建cubieboard