zoukankan      html  css  js  c++  java
  • LTIB for ubuntu12.04

     在 ltib 目录中执行以下代码:

    cd <your ltib folder>
    ./patch-ltib-ubuntu12.04.sh
    patch -p1 < patch-dist-ubuntu12.04.patch

    其中 patch-ltib-ubuntu12.04.sh 与 patch-dist-ubuntu12.04.patch 见下文

    patch-ltib-ubuntu12.04.sh

    #!/usr/bin/env bash
    
    # get the patch tarball and untar it
    wget -O ubuntu-ltib-patch.tgz https://community.freescale.com/servlet/JiveServlet/downloadBody/93454-102-3-2834/ubuntu-ltib-patch.tgz
    tar -xzvf ubuntu-ltib-patch.tgz
    
    # execute the script which do the patching
    ltibDir=`pwd`
    cd ubuntu-ltib-patch
    ./install-patches.sh $ltibDir

    patch-dist-ubuntu12.04.patch

    diff -uNr old/dist/lfs-5.1/base_libs/base_libs.spec new/dist/lfs-5.1/base_libs/base_libs.spec
    --- old/dist/lfs-5.1/base_libs/base_libs.spec    2013-11-09 11:08:21.897348939 +0800
    +++ new/dist/lfs-5.1/base_libs/base_libs.spec    2013-11-08 15:18:58.175937281 +0800
    @@ -296,7 +296,7 @@
     
     # remove absolute paths from text search files (if they exist)
     perl -w -e '
    -    @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
    +    @ARGV = grep { `file $_` =~ m,ASCIIs+.*text, } @ARGV;
         exit(0) unless @ARGV;
         $^I = ".bak";
         while(<>) {
    diff -uNr old/dist/lfs-5.1/glibc/glibc-2.3.2.spec new/dist/lfs-5.1/glibc/glibc-2.3.2.spec
    --- old/dist/lfs-5.1/glibc/glibc-2.3.2.spec    2013-11-09 11:08:13.149349103 +0800
    +++ new/dist/lfs-5.1/glibc/glibc-2.3.2.spec    2013-11-08 15:19:22.835937109 +0800
    @@ -192,7 +192,7 @@
     
     # remove absolute paths from text search files (if they exist)
     perl -w -e '
    -    @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
    +    @ARGV = grep { `file $_` =~ m,ASCIIs+.*text, } @ARGV;
         exit(0) unless @ARGV;
         $^I = ".bak";
         while(<>) {
    diff -uNr old/dist/lfs-5.1/glibc/glibc.spec new/dist/lfs-5.1/glibc/glibc.spec
    --- old/dist/lfs-5.1/glibc/glibc.spec    2013-11-09 11:08:13.145349103 +0800
    +++ new/dist/lfs-5.1/glibc/glibc.spec    2013-11-08 15:19:48.431936930 +0800
    @@ -97,7 +97,7 @@
     
     # remove absolute paths from text search files (if they exist)
     perl -w -e '
    -    @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;
    +    @ARGV = grep { `file $_` =~ m,ASCIIs+.*text, } @ARGV;
         exit(0) unless @ARGV;
         $^I = ".bak";
         while(<>) {
    diff -uNr old/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec new/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec
    --- old/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec    2013-11-09 11:07:59.141349366 +0800
    +++ new/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec    2013-11-08 17:40:10.143878188 +0800
    @@ -21,9 +21,6 @@
     %patch1 -p1
     
     %Build
    -#export CAIRO_CFLAGS="-I${DEV_IMAGE}/usr/include/cairo"
    -#export CAIRO_LIBS="-L${DEV_IMAGE}/usr/lib/cairo"
    -#export LIBS="-lcairo"
     
     ./configure --prefix=%{_prefix} --host=$CFGHOST 
             --build=%{_build} --without-check 
  • 相关阅读:
    codesmith 连接mysql
    数据库 价格字段 设置 decimal(8,2),价格为100W,只显示999999.99
    AOP和IOC
    Android Studio 每次运行都会再下载一遍,修改
    gradle 的jar下载到哪里了
    遇到的坑
    Error:Failed to resolve: :Base:
    re-download dependencies and 无法下载jar 的解决
    DI是实现面向切面和面向抽象的前提
    基础才是重中之重~ConcurrentDictionary让你的多线程代码更优美
  • 原文地址:https://www.cnblogs.com/ouuy/p/3415443.html
Copyright © 2011-2022 走看看