ltp-ddt env.sh

export PATH=/opt/gcc-linaro-7.3.-2018.05-x86_64_arm-linux-gnueabihf/bin:$PATH

export CROSS_COMPILER=arm-linux-gnueabihf-
export CC=${CROSS_COMPILER}gcc
export LD=${CROSS_COMPILER}ld
export AR=${CROSS_COMPILER}ar
export STRIP=${CROSS_COMPILER}strip
export RANLIB=${CROSS_COMPILER}ranlib # cd ../linux-4.14.-fmxx ; make headers_install; cd -
make autotools
./configure --host=arm-linux-gnueabihf make SKIP_IDCHECK= KERNEL_USR_INC=/home/liu/work/linux-4.14.-fmxx/usr/include CROSS_COMPILE=arm-linux-gnueabihf- clean
make SKIP_IDCHECK= KERNEL_USR_INC=/home/liu/work/linux-4.14.-fmxx/usr/include CROSS_COMPILE=arm-linux-gnueabihf- -j16
if [ $? -eq ]; then
# make DESTDIR=<destination directory> SKIP_IDCHECK= PLATFORM=<Platform name> install
make DESTDIR=$(pwd)/install_dir SKIP_IDCHECK= PLATFORM=fmxx-psoc-db install
fi
make autotools

在Makefile中
include $(top_srcdir)/include/mk/automake.mk
automake.mk中有autotools目标
./configure --host=arm-linux-gnueabihf

checking for struct xt_entry_match... yes
checking for struct xt_entry_target... yes
checking for __atomic_* compiler builtins... yes
checking for struct tpacket_req3... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/mk/config.mk
config.status: creating include/mk/config-openposix.mk
config.status: creating include/mk/features.mk
config.status: creating lib/ltp.pc
config.status: creating m4/Makefile
config.status: creating execltp
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing syscalls.h commands
Generating data for arch aarch64 ...
Generating data for arch arm ...
Generating data for arch hppa ...
Generating data for arch i386 ...
Generating data for arch ia64 ...
Generating data for arch powerpc64 ...
Generating data for arch powerpc ...
Generating data for arch s390x ...
Generating data for arch s390 ...
Generating data for arch sh ...
Generating data for arch sparc64 ...
Generating data for arch sparc ...
Generating stub list ...
Generating data for arch x86_64 ...
Combining them all ... OK!
=== configuring in utils/ffsb-6.0-rc2 (/home/zhangyi/work/psoc_ltp/ltp-ddt-fmxx-psoc-bkup/utils/ffsb-6.0-rc2)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/opt/ltp'  '--host=arm-linux-gnueabihf' 'host_alias=arm-linux-gnueabihf' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p



checking for lrand48_r... yes
checking for srand48_r... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands 看了一下生成的时间和内容,貌似是config.status: creating m4/Makefile这个Makefile
但是找遍代码,没有看到哪里用到了,高度怀疑配置的内容在include/mk/config.mk和include/mk/features.mk中 而Makefile还是用的自己的那套系统。

ltp-ddt makefile的思考的更多相关文章

  1. ltp makefile 解析

    困惑于 /include/mk/automake.mk中出现了第一个目标 而makefile却任然将all当做最终目标 测试了一番后发觉: ifeq ($(MAKE_3_80_COMPAT),1)# ...

  2. Linux就这个范儿 第8章 我是Makefile

    Linux就这个范儿 第8章 我是Makefile P287 Makefile的作用就是——自动化编译,一旦写好,只需要一个make命令(解析Makefile,执行Makefile中描述的操作),整个 ...

  3. 一个通用的Makefile (转)

    据http://bbs.chinaunix.net/thread-2300778-1-1.html的讨论,发现还是有很多人在问通用Makefile的问题,这里做一个总结.也作为以后的参考.       ...

  4. Makefile第四讲:include 引用其它makefile文件

    main.cpp #include "classes/fun.h" int main() { Test::display("Hello makefile"); ...

  5. GCC、GDB、Makefile

    1.GCC程序编译 Linux系统下的gcc(GNUCCompiler)是GNU推出的功能强大.性能优越的多平台编译器,是GNU的代表作之一.gcc可以在多种硬体平台上编译出可执行程序,其执行效率与一 ...

  6. makefile死磕笔记

    开始我会插播一段我如何学习makefile的废话,如果不想听的话,请直接跳到我的makefile教程. 首先得先说明学习makefile真是一个痛苦的过程,尤其是用干巴巴的看书来学习的过程,简直可以用 ...

  7. LTP介绍

    1.LTP介绍    LTP--linut test project ,ltp套件是由Linux Test Project所开发的一套系统測试套件.它基于系统资源的利用率统计开发了一个測试的组合,为系 ...

  8. Ubuntu下比较通用的makefile实例

    本文转自http://blog.chinaunix.net/uid-20608849-id-360294.html  笔者在写程序的时候会遇到这样的烦恼:一个项目中可能会有很多个应用程序,而新建一个应 ...

  9. make,makefile,cmake“暴力编译法”的个人经验或理解。

    通常我们在本地编译库(opecv.pcl)等我们喜欢使用make -jN  (N代表线程数)这样可以加速编译过程, 但是,这不一定是“线程安全”的,因为当某个线程在编译时,经常其他线程编译依赖本线程的 ...

随机推荐

  1. xdebug php 运行效率分析工具

    Xdebug是一个开放源代码的PHP程序调试器(即一个Debug工具),可以用来跟踪,调试和分析PHP程序的运行状况. 官网:https://xdebug.org/index.php 安装方法: ht ...

  2. Tensorflow Seq2seq attention decode解析

    tensorflow基于 Grammar as a Foreign Language实现,这篇论文给出的公式也比较清楚. 这里关注seq2seq.attention_decode函数, 主要输入 de ...

  3. python @staticmethod和@classmethod的作用

    一般来说,要使用某个类的方法,需要先实例化一个对象再调用方法. 而使用@staticmethod或@classmethod,就可以不需要实例化,直接类名.方法名()来调用. 这有利于组织代码,把某些应 ...

  4. Qt编写自定义控件3-速度仪表盘

    前言 速度仪表盘,写作之初的本意是用来展示当前测试的网速用的,三色圆环+数码管显示当前速度,Qt自带了数码管控件QLCDNumber,直接集成即可,同时还带有动画功能,其实也可以用在汽车+工业领域等, ...

  5. 线程的简述Thread

    为什么有进程? 原来操作系统只能处理一件任务,有了进程就可以让操作系统处理多个任务.因为进程与进程之间是完全隔离的,涉及到了内存空间.数据的切换,所以就有了进程的概念. 已经有了进程,为什么还要线程? ...

  6. 安装 docker

    Image 仓库 配置国内镜像源 windows下载 Docker Desktop centos 安装 Docker yum install docker -y service docker star ...

  7. weapp-mobx

    // weapp-mobx.js const l = console.log; import { autorun } from "./mobx.umd.min"; function ...

  8. Winscp 密钥登录

    继前段时间,使用密钥SSH登录系统以后运维用着很爽,但是有一部分开发的同事反应使用Winscp添加私钥的时候,提示添加失败,原来Winscp使用的是putty作为SSH登录工具,而puttygen所生 ...

  9. 微信小程序之点赞和取消点赞

    wxml代码 <image wx:if="{{collection}}" src="/images/boy.png" bindtap="toCo ...

  10. php数组合并方法array_merge + 排序array_multisort方法 array_unique数组去重 array_values数组索引值重新从0开始递增

    $dingdan = array_merge($jie_dingdan,$user_dingdan);//数组合并方法 $orderFile = array(); foreach($dingdan a ...