Makefile规则


Learn Makefiles

例解 Linux 下 Make 命令
在这里插入图片描述
在这里插入图片描述

Makefile








all: y1 y3                 
                           
y2:                        
        echo 22222222222222
                           
y1:                        
        echo 111111111111111 
                           
y3:                        
        echo 33333333333333                                                                                                                   
y4:                        
        echo 44444444444444

make 命令的时候,直接执行了 all选项,执行了依赖y1 y3

yukang.zhong@droid13-code$ make
echo 111111111111111 
111111111111111
echo 33333333333333 
33333333333333

执行make y1只执行y1的选项

yukang.zhong@droid13-code$ make y1
echo 111111111111111 
111111111111111

改了makefile:

all: y1 y3
       
y2:   
       echo 22222222222222
     
y1:   
       echo 111111111111111 
     
y3:   
       echo 33333333333333 
y4: y1                                                                                                                                        
       
       echo 44444444444444

执行make y4时,先执行依赖y1的选项,再执行操作命令

code$ make y4
echo 111111111111111 
111111111111111
echo 44444444444444
44444444444444

如果没有all选项,则执行第一个选项(有依赖就执行依赖)就完毕

 y2:                                                                                                                                                            
         echo 22222222222222
  
 y1:
         echo 111111111111111 
  
 y3:
         echo 33333333333333 
 y4: y1
         
         echo 44444444444444
执行结果
echo 22222222222222
22222222222222

Makefile 自动变量

在这里插入图片描述

Makefile目标,伪目标,头文件自动依赖

**makefile中打印信息**
$(warning  $(SOC))
$(warning zyk----------------)

$(warning  $(targetComplier))
$(error zyk----------------)#停止到这里

查看kernel编译相关的一些信息

make help 

Cleaning targets:
  clean           - Remove most generated files but keep the config and
                    enough build support to build external modules
  mrproper        - Remove all generated files + config + various backup files
  distclean       - mrproper + remove editor backup and patch files


Configuration targets:
  config          - Update current config utilising a line-oriented program
  nconfig         - Update current config utilising a ncurses menu based program
  menuconfig      - Update current config utilising a menu based program
  xconfig         - Update current config utilising a QT based front-end
  gconfig         - Update current config utilising a GTK based front-end
  oldconfig       - Update current config utilising a provided .config as base
  localmodconfig  - Update current config disabling modules not loaded
  localyesconfig  - Update current config converting local mods to core
  silentoldconfig - Same as oldconfig, but quietly, additionally update deps
  defconfig       - New config with default from ARCH supplied defconfig
  savedefconfig   - Save current config as ./defconfig (minimal config)
  allnoconfig     - New config where all options are answered with no
  allyesconfig    - New config where all options are accepted with yes
  allmodconfig    - New config selecting modules when possible
  alldefconfig    - New config with all symbols set to default
  randconfig      - New config with random answer to all options
  listnewconfig   - List new options
  oldnoconfig     - Same as silentoldconfig but set new symbols to n (unset)


Other generic targets:
  all             - Build all targets marked with [*]
* vmlinux         - Build the bare kernel
* modules         - Build all modules
  modules_install - Install all modules to INSTALL_MOD_PATH (default: /)
  firmware_install- Install all firmware to INSTALL_FW_PATH
                    (default: $(INSTALL_MOD_PATH)/lib/firmware)
  dir/            - Build all files in dir and below
  dir/file.[oisS] - Build specified target only
  dir/file.lst    - Build specified mixed source/assembly target only
                    (requires a recent binutils and recent build (System.map))
  dir/file.ko     - Build module including final link
  modules_prepare - Set up for building external modules
  tags/TAGS       - Generate tags file for editors
  cscope          - Generate cscope index
  gtags           - Generate GNU GLOBAL index
  kernelrelease   - Output the release version string
  kernelversion   - Output the version stored in Makefile
  headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH
                    (default: /home/book/workspace/kernel/linux-3.4.2_jz2440/usr)


Static analysers
  checkstack      - Generate a list of stack hogs
  namespacecheck  - Name space analysis on compiled kernel
  versioncheck    - Sanity check on version.h usage
  includecheck    - Check for duplicate included header files
  export_report   - List the usages of all exported symbols
  headers_check   - Sanity check on exported headers
  headerdep       - Detect inclusion cycles in headers
  coccicheck      - Check with Coccinelle.


Kernel packaging:
  rpm-pkg             - Build both source and binary RPM kernel packages
  binrpm-pkg          - Build only the binary kernel package
  deb-pkg             - Build the kernel as a deb package
  tar-pkg             - Build the kernel as an uncompressed tarball
  targz-pkg           - Build the kernel as a gzip compressed tarball
  tarbz2-pkg          - Build the kernel as a bzip2 compressed tarball
  tarxz-pkg           - Build the kernel as a xz compressed tarball
  perf-tar-src-pkg    - Build perf-3.4.2.tar source tarball
  perf-targz-src-pkg  - Build perf-3.4.2.tar.gz source tarball
  perf-tarbz2-src-pkg - Build perf-3.4.2.tar.bz2 source tarball
  perf-tarxz-src-pkg  - Build perf-3.4.2.tar.xz source tarball


Documentation targets:
 Linux kernel internal documentation in different formats:
  htmldocs        - HTML
  pdfdocs         - PDF
  psdocs          - Postscript
  xmldocs         - XML DocBook
  mandocs         - man pages
  installmandocs  - install man pages generated by mandocs
  cleandocs       - clean all generated DocBook files


Architecture specific targets (arm):
* zImage        - Compressed kernel image (arch/arm/boot/zImage)
  Image         - Uncompressed kernel image (arch/arm/boot/Image)
* xipImage      - XIP kernel image, if configured (arch/arm/boot/xipImage)
  uImage        - U-Boot wrapped zImage
  bootpImage    - Combined zImage and initial RAM disk
                  (supply initrd image via make variable INITRD=<path>)
  dtbs          - Build device tree blobs for enabled boards
  install       - Install uncompressed kernel
  zinstall      - Install compressed kernel
  uinstall      - Install U-Boot wrapped compressed kernel
                  Install using (your) ~/bin/installkernel or
                  (distribution) /sbin/installkernel or
                  install to $(INSTALL_PATH) and run lilo


一个ko使用另外一个ko导出的函数,编译时应该将头文件与库链接进来

在这里插入图片描述

linux 内核模块 gpl,Linux内核模块EXPORT_SYMBOL和EXPORT_SYMBOL_GPL使用说明

diff --git a/hardware/wifi/uwe5621ds/unisocwifi/Makefile b/hardware/wifi/uwe5621ds/unisocwifi/Makefile
index 786be79346..a3732d31f7 100755
--- a/hardware/wifi/uwe5621ds/unisocwifi/Makefile
+++ b/hardware/wifi/uwe5621ds/unisocwifi/Makefile
@@ -5,6 +5,7 @@ UNISOC_BSP_INCLUDE := $(shell pwd)/../../../../../../hardware/wifi/uwe5621ds/unisocwcn/include/
 # $(warning  $(UNISOC_BSP_INCLUDE))
 # $(warning zyk----------------)
 # UNISOC_MODULE_NAME := uwe5621ds
+KBUILD_EXTRA_SYMBOLS += $(shell pwd)/../../../../../../hardware/wifi/uwe5621ds/unisocwcn/Module.symvers
 ifneq ($(UNISOC_BSP_INCLUDE),)
 ccflags-y += -I$(UNISOC_BSP_INCLUDE)
 endif

make的使用和Makefile规则和编程及其基本命令(简单)

make命令参数详解
-C dir:在读取Makefile文件前,先切换到“dir”目录下,也就是把dir作为当前目录
-d :make执行时打印出所有的调试信息
-e :不允许在Makefile中对系统环境变量进行重新赋值
-f filename:使用指定文件作为Makefile文件
-i :忽略执行Makefile中命令时产生的错误,不退出make
-h :打印出帮助信息
-k :执行命令遇到错误时,不终止make的执行,make尽最大的可能执行所有的命令,知道出现致命错误才终止
-n :只打印出要执行的命令,但不执行命令
-o filename :指定文件filename不需要重建
-p :执行命令之前,打印出make读取的makefile的所有数据,同时打印出make 的版本信息
-t :将所有的目标文件的最后修改时间设置为当前系统时间

-d调试


all: y1 y3                 
                                   
y2:                        
                echo 22222222222222
                                                   
y1:                        
                echo 111111111111111 
                                                   
y3:                        
                echo 33333333333333                                                                                                                   
y4:                        
                echo 44444444444444

make y1 -f xmakefile


GNU Make 4.1
为 x86_64-pc-linux-gnu 编译
Copyright (C) 1988-2014 Free Software Foundation, Inc.
许可证:GPLv3+:GNU 通用公共许可证第 3 版或更新版本<http://gnu.org/licenses/gpl.html>。
本软件是自由软件:您可以自由修改和重新发布它。
在法律允许的范围内没有其他保证。
正在读入 makefiles...
正在读入 makefile “xmakefile”...
正在更新 makefile....
 正在考虑目标文件“xmakefile”。
  正在为“xmakefile”寻找隐含规则。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.o”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.c”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.cc”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.C”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.cpp”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.p”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.f”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.F”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.m”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.r”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.s”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.S”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.mod”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.sh”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile,v”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“RCS/xmakefile,v”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“RCS/xmakefile”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“s.xmakefile”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“SCCS/s.xmakefile”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.o”。
  正在寻找包含中间文件“xmakefile.o”的规则。
   避免隐含规则递归。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.c”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.cc”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.C”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.cpp”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.p”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.f”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.F”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.m”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.r”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.s”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.S”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.mod”。
   用主干“xmakefile.o”尝试匹配模式规则。
   尝试隐含前提“xmakefile.o,v”。
   用主干“xmakefile.o”尝试匹配模式规则。
   尝试隐含前提“RCS/xmakefile.o,v”。
   用主干“xmakefile.o”尝试匹配模式规则。
   尝试隐含前提“RCS/xmakefile.o”。
   用主干“xmakefile.o”尝试匹配模式规则。
   尝试隐含前提“s.xmakefile.o”。
   用主干“xmakefile.o”尝试匹配模式规则。
   尝试隐含前提“SCCS/s.xmakefile.o”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.c”。
   正在寻找包含中间文件“xmakefile.c”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.y”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.l”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.w”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.w”。
    用主干“xmakefile.c”尝试匹配模式规则。
    尝试隐含前提“xmakefile.c,v”。
    用主干“xmakefile.c”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.c,v”。
    用主干“xmakefile.c”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.c”。
    用主干“xmakefile.c”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.c”。
    用主干“xmakefile.c”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.c”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.y”。
    正在寻找包含中间文件“xmakefile.y”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.y”尝试匹配模式规则。
     尝试隐含前提“xmakefile.y,v”。
     用主干“xmakefile.y”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.y,v”。
     用主干“xmakefile.y”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.y”。
     用主干“xmakefile.y”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.y”。
     用主干“xmakefile.y”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.y”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.l”。
    正在寻找包含中间文件“xmakefile.l”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.l”尝试匹配模式规则。
     尝试隐含前提“xmakefile.l,v”。
     用主干“xmakefile.l”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.l,v”。
     用主干“xmakefile.l”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.l”。
     用主干“xmakefile.l”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.l”。
     用主干“xmakefile.l”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.l”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.w”。
    正在寻找包含中间文件“xmakefile.w”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.w”尝试匹配模式规则。
     尝试隐含前提“xmakefile.w,v”。
     用主干“xmakefile.w”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.w,v”。
     用主干“xmakefile.w”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.w”。
     用主干“xmakefile.w”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.w”。
     用主干“xmakefile.w”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.w”。
    用主干“xmakefile”尝试匹配模式规则。
    拒绝不可能的隐含前提“xmakefile.w”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.cc”。
   正在寻找包含中间文件“xmakefile.cc”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile.cc”尝试匹配模式规则。
    尝试隐含前提“xmakefile.cc,v”。
    用主干“xmakefile.cc”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.cc,v”。
    用主干“xmakefile.cc”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.cc”。
    用主干“xmakefile.cc”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.cc”。
    用主干“xmakefile.cc”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.cc”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.C”。
   正在寻找包含中间文件“xmakefile.C”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile.C”尝试匹配模式规则。
    尝试隐含前提“xmakefile.C,v”。
    用主干“xmakefile.C”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.C,v”。
    用主干“xmakefile.C”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.C”。
    用主干“xmakefile.C”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.C”。
    用主干“xmakefile.C”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.C”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.cpp”。
   正在寻找包含中间文件“xmakefile.cpp”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile.cpp”尝试匹配模式规则。
    尝试隐含前提“xmakefile.cpp,v”。
    用主干“xmakefile.cpp”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.cpp,v”。
    用主干“xmakefile.cpp”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.cpp”。
    用主干“xmakefile.cpp”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.cpp”。
    用主干“xmakefile.cpp”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.cpp”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.p”。
   正在寻找包含中间文件“xmakefile.p”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.web”。
    用主干“xmakefile.p”尝试匹配模式规则。
    尝试隐含前提“xmakefile.p,v”。
    用主干“xmakefile.p”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.p,v”。
    用主干“xmakefile.p”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.p”。
    用主干“xmakefile.p”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.p”。
    用主干“xmakefile.p”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.p”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.web”。
    正在寻找包含中间文件“xmakefile.web”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.web”尝试匹配模式规则。
     尝试隐含前提“xmakefile.web,v”。
     用主干“xmakefile.web”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.web,v”。
     用主干“xmakefile.web”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.web”。
     用主干“xmakefile.web”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.web”。
     用主干“xmakefile.web”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.web”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.f”。
   正在寻找包含中间文件“xmakefile.f”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.F”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.r”。
    用主干“xmakefile.f”尝试匹配模式规则。
    尝试隐含前提“xmakefile.f,v”。
    用主干“xmakefile.f”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.f,v”。
    用主干“xmakefile.f”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.f”。
    用主干“xmakefile.f”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.f”。
    用主干“xmakefile.f”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.f”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.F”。
    正在寻找包含中间文件“xmakefile.F”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.F”尝试匹配模式规则。
     尝试隐含前提“xmakefile.F,v”。
     用主干“xmakefile.F”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.F,v”。
     用主干“xmakefile.F”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.F”。
     用主干“xmakefile.F”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.F”。
     用主干“xmakefile.F”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.F”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.r”。
    正在寻找包含中间文件“xmakefile.r”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile”尝试匹配模式规则。
     拒绝不可能的隐含前提“xmakefile.l”。
     用主干“xmakefile.r”尝试匹配模式规则。
     尝试隐含前提“xmakefile.r,v”。
     用主干“xmakefile.r”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.r,v”。
     用主干“xmakefile.r”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.r”。
     用主干“xmakefile.r”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.r”。
     用主干“xmakefile.r”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.r”。
   用主干“xmakefile”尝试匹配模式规则。
   拒绝不可能的隐含前提“xmakefile.F”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.m”。
   正在寻找包含中间文件“xmakefile.m”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.ym”。
    用主干“xmakefile.m”尝试匹配模式规则。
    尝试隐含前提“xmakefile.m,v”。
    用主干“xmakefile.m”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.m,v”。
    用主干“xmakefile.m”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.m”。
    用主干“xmakefile.m”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.m”。
    用主干“xmakefile.m”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.m”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.ym”。
    正在寻找包含中间文件“xmakefile.ym”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.ym”尝试匹配模式规则。
     尝试隐含前提“xmakefile.ym,v”。
     用主干“xmakefile.ym”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.ym,v”。
     用主干“xmakefile.ym”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.ym”。
     用主干“xmakefile.ym”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.ym”。
     用主干“xmakefile.ym”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.ym”。
   用主干“xmakefile”尝试匹配模式规则。
   拒绝不可能的隐含前提“xmakefile.r”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.s”。
   正在寻找包含中间文件“xmakefile.s”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.S”。
    用主干“xmakefile.s”尝试匹配模式规则。
    尝试隐含前提“xmakefile.s,v”。
    用主干“xmakefile.s”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.s,v”。
    用主干“xmakefile.s”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.s”。
    用主干“xmakefile.s”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.s”。
    用主干“xmakefile.s”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.s”。
    用主干“xmakefile”尝试匹配模式规则。
    尝试隐含前提“xmakefile.S”。
    正在寻找包含中间文件“xmakefile.S”的规则。
     避免隐含规则递归。
     避免隐含规则递归。
     避免隐含规则递归。
     用主干“xmakefile.S”尝试匹配模式规则。
     尝试隐含前提“xmakefile.S,v”。
     用主干“xmakefile.S”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.S,v”。
     用主干“xmakefile.S”尝试匹配模式规则。
     尝试隐含前提“RCS/xmakefile.S”。
     用主干“xmakefile.S”尝试匹配模式规则。
     尝试隐含前提“s.xmakefile.S”。
     用主干“xmakefile.S”尝试匹配模式规则。
     尝试隐含前提“SCCS/s.xmakefile.S”。
   用主干“xmakefile”尝试匹配模式规则。
   拒绝不可能的隐含前提“xmakefile.S”。
   用主干“xmakefile”尝试匹配模式规则。
   尝试隐含前提“xmakefile.mod”。
   正在寻找包含中间文件“xmakefile.mod”的规则。
    避免隐含规则递归。
    避免隐含规则递归。
    用主干“xmakefile.mod”尝试匹配模式规则。
    尝试隐含前提“xmakefile.mod,v”。
    用主干“xmakefile.mod”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.mod,v”。
    用主干“xmakefile.mod”尝试匹配模式规则。
    尝试隐含前提“RCS/xmakefile.mod”。
    用主干“xmakefile.mod”尝试匹配模式规则。
    尝试隐含前提“s.xmakefile.mod”。
    用主干“xmakefile.mod”尝试匹配模式规则。
    尝试隐含前提“SCCS/s.xmakefile.mod”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.c”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.cc”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.C”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.cpp”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.p”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.f”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.F”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.m”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.r”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.s”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.S”。
  用主干“xmakefile”尝试匹配模式规则。
  拒绝不可能的隐含前提“xmakefile.mod”。
  用主干“xmakefile”尝试匹配模式规则。
  尝试隐含前提“xmakefile.sh”。
  正在寻找包含中间文件“xmakefile.sh”的规则。
   避免隐含规则递归。
   用主干“xmakefile.sh”尝试匹配模式规则。
   尝试隐含前提“xmakefile.sh,v”。
   用主干“xmakefile.sh”尝试匹配模式规则。
   尝试隐含前提“RCS/xmakefile.sh,v”。
   用主干“xmakefile.sh”尝试匹配模式规则。
   尝试隐含前提“RCS/xmakefile.sh”。
   用主干“xmakefile.sh”尝试匹配模式规则。
   尝试隐含前提“s.xmakefile.sh”。
   用主干“xmakefile.sh”尝试匹配模式规则。
   尝试隐含前提“SCCS/s.xmakefile.sh”。
  找不到关于“xmakefile”的隐含规则。
  目标文件“xmakefile”的前提已完成。
 不需要重新制作目标“xmakefile”.
更新目标....
正在考虑目标文件“y1”。
 文件“y1”不存在。
 目标文件“y1”的前提已完成。
必须重新制作目标“y1”。
echo 111111111111111 
将子进程 0x5619a2a163f0 (y1) PID 2073 放入链。
活跃子进程 0x5619a2a163f0 (y1) PID 2073 
111111111111111
正在中止获胜的子进程 0x5619a2a163f0 PID 2073 
从链中删除子进程 0x5619a2a163f0 PID 2073。
重新制作目标文件“y1”成功。



zyk@aitronx-System-Product-Name:~/Log$ 
zyk@aitronx-System-Product-Name:~/Log$ 
zyk@aitronx-System-Product-Name:~/Log$ make y1 -f xmakefile 
echo 111111111111111 
111111111111111
zyk@aitronx-System-Product-Name:~/Log$ 

如下:

	$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm64 CROSS_COMPILE=$(CROSS_COMPILE) $(DEFCONFIG)

make[1]: 进入目录“/ti_vh/git/ti-processor-sdk-linux-j784s4-evm-08_06_00_12/board-support/linux-kernel”
make[1]: 离开目录“/ti_vh/git/ti-processor-sdk-linux-j784s4-evm-08_06_00_12/board-support/linux-kernel”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值