最終更新:2017-07-06 (木) 15:26:38 (77d)  

Linuxカーネル/make help はてなブックマークを見る
Top / Linuxカーネル / make help

処理

make *configの一覧

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
      olddefconfig	  - Same as silentoldconfig but sets new symbols to their
                        default value
      kvmconfig	  - Enable additional options for kvm guest kernel support
      xenconfig       - Enable additional options for xen dom0 and guest kernel support
      tinyconfig	  - Configure the tiniest possible kernel
    
    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.[ois]  - 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 (use with make -s)
      kernelversion	  - Output the version stored in Makefile (use with make -s)
      image_name	  - Output the image name (use with make -s)
      headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH
                        (default: ./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 selftest
      kselftest       - Build and run kernel selftest (run as root)
                        Build, install, and boot kernel before
                        running kselftest on it
      kselftest-clean - Remove all generated kselftest files
      kselftest-merge - Merge all the config dependencies of kselftest to existed
                        .config.
    
    Kernel packaging:
      rpm-pkg             - Build both source and binary RPM kernel packages
      binrpm-pkg          - Build only the binary kernel RPM package
      deb-pkg             - Build both source and binary deb kernel packages
      bindeb-pkg          - Build only the binary kernel 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-4.8.17.tar source tarball
      perf-targz-src-pkg  - Build perf-4.8.17.tar.gz source tarball
      perf-tarbz2-src-pkg - Build perf-4.8.17.tar.bz2 source tarball
      perf-tarxz-src-pkg  - Build perf-4.8.17.tar.xz source tarball
    
    Documentation targets:
     Linux kernel internal documentation in different formats (Sphinx):
      htmldocs        - HTML
      pdfdocs         - PDF
      epubdocs        - EPUB
      xmldocs         - XML
      cleandocs       - clean all generated files
    
     Linux kernel internal documentation in different formats (DocBook):
      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
    
      make DOCBOOKS="s1.xml s2.xml" [target] Generate only docs s1.xml s2.xml
      valid values for DOCBOOKS are: z8530book.xml device-drivers.xml kernel-hacking.xml kernel-locking.xml deviceiobook.xml writing_usb_driver.xml networking.xml kernel-api.xml filesystems.xml lsm.xml usb.xml kgdb.xml gadget.xml libata.xml mtdnand.xml librs.xml rapidio.xml genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml 80211.xml debugobjects.xml sh.xml regulator.xml alsa-driver-api.xml writing-an-alsa-driver.xml tracepoint.xml w1.xml writing_musb_glue_layer.xml crypto-API.xml iio.xml
    
      make DOCBOOKS="" [target] Don't generate docs from Docbook
         This is useful to generate only the ReST docs (Sphinx)
    
    Architecture specific targets (x86):
    * bzImage      - Compressed kernel image (arch/x86/boot/bzImage)
      install      - Install kernel using
                      (your) ~/bin/installkernel or
                      (distribution) /sbin/installkernel or
                      install to $(INSTALL_PATH) and run lilo
      fdimage      - Create 1.4MB boot floppy image (arch/x86/boot/fdimage)
      fdimage144   - Create 1.4MB boot floppy image (arch/x86/boot/fdimage)
      fdimage288   - Create 2.8MB boot floppy image (arch/x86/boot/fdimage)
      isoimage     - Create a boot CD-ROM image (arch/x86/boot/image.iso)
                      bzdisk/fdimage*/isoimage also accept:
                      FDARGS="..."  arguments for the booted kernel
                      FDINITRD=file initrd for the booted kernel
    
      i386_defconfig           - Build for i386
      x86_64_defconfig         - Build for x86_64
    
      make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build
      make V=2   [targets] 2 => give reason for rebuild of target
      make O=dir [targets] Locate all output files in "dir", including .config
      make C=1   [targets] Check all c source with $CHECK (sparse by default)
      make C=2   [targets] Force check of all c source with $CHECK
      make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections
      make W=n   [targets] Enable extra gcc checks, n=1,2,3 where
    		1: warnings which may be relevant and do not occur too often
    		2: warnings which occur quite often but may still be relevant
    		3: more obscure warnings, can most likely be ignored
    		Multiple levels can be combined with W=12 or W=123
    
    Execute "make" or "make all" to build all targets marked with [*] 
    For further info see the ./README file
    

ARM (ARCH=arm make help)

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

  acs5k_defconfig          - Build for acs5k
  acs5k_tiny_defconfig     - Build for acs5k_tiny
  afeb9260_defconfig       - Build for afeb9260
  ag5evm_defconfig         - Build for ag5evm
  am200epdkit_defconfig    - Build for am200epdkit
  ap4evb_defconfig         - Build for ap4evb
  assabet_defconfig        - Build for assabet
  at91cap9_defconfig       - Build for at91cap9
  at91rm9200_defconfig     - Build for at91rm9200
  at91sam9260_defconfig    - Build for at91sam9260
  at91sam9261_defconfig    - Build for at91sam9261
  at91sam9263_defconfig    - Build for at91sam9263
  at91sam9g20_defconfig    - Build for at91sam9g20
  at91sam9g45_defconfig    - Build for at91sam9g45
  at91sam9rl_defconfig     - Build for at91sam9rl
  at91x40_defconfig        - Build for at91x40
  badge4_defconfig         - Build for badge4
  bcmring_defconfig        - Build for bcmring
  cam60_defconfig          - Build for cam60
  cerfcube_defconfig       - Build for cerfcube
  cm_x2xx_defconfig        - Build for cm_x2xx
  cm_x300_defconfig        - Build for cm_x300
  cns3420vb_defconfig      - Build for cns3420vb
  colibri_pxa270_defconfig - Build for colibri_pxa270
  colibri_pxa300_defconfig - Build for colibri_pxa300
  collie_defconfig         - Build for collie
  corgi_defconfig          - Build for corgi
  cpu9260_defconfig        - Build for cpu9260
  cpu9g20_defconfig        - Build for cpu9g20
  da8xx_omapl_defconfig    - Build for da8xx_omapl
  davinci_all_defconfig    - Build for davinci_all
  dove_defconfig           - Build for dove
  ebsa110_defconfig        - Build for ebsa110
  edb7211_defconfig        - Build for edb7211
  em_x270_defconfig        - Build for em_x270
  ep93xx_defconfig         - Build for ep93xx
  eseries_pxa_defconfig    - Build for eseries_pxa
  exynos4_defconfig        - Build for exynos4
  ezx_defconfig            - Build for ezx
  footbridge_defconfig     - Build for footbridge
  fortunet_defconfig       - Build for fortunet
  g3evm_defconfig          - Build for g3evm
  g4evm_defconfig          - Build for g4evm
  h3600_defconfig          - Build for h3600
  h5000_defconfig          - Build for h5000
  h7201_defconfig          - Build for h7201
  h7202_defconfig          - Build for h7202
  hackkit_defconfig        - Build for hackkit
  imote2_defconfig         - Build for imote2
  imx_v4_v5_defconfig      - Build for imx_v4_v5
  integrator_defconfig     - Build for integrator
  iop13xx_defconfig        - Build for iop13xx
  iop32x_defconfig         - Build for iop32x
  iop33x_defconfig         - Build for iop33x
  ixp2000_defconfig        - Build for ixp2000
  ixp23xx_defconfig        - Build for ixp23xx
  ixp4xx_defconfig         - Build for ixp4xx
  jornada720_defconfig     - Build for jornada720
  kirkwood_defconfig       - Build for kirkwood
  ks8695_defconfig         - Build for ks8695
  lart_defconfig           - Build for lart
  lpd270_defconfig         - Build for lpd270
  lubbock_defconfig        - Build for lubbock
  mackerel_defconfig       - Build for mackerel
  magician_defconfig       - Build for magician
  mainstone_defconfig      - Build for mainstone
  mini2440_defconfig       - Build for mini2440
  mmp2_defconfig           - Build for mmp2
  msm_defconfig            - Build for msm
  mv78xx0_defconfig        - Build for mv78xx0
  mx3_defconfig            - Build for mx3
  mx5_defconfig            - Build for mx5
  mxs_defconfig            - Build for mxs
  neponset_defconfig       - Build for neponset
  netwinder_defconfig      - Build for netwinder
  netx_defconfig           - Build for netx
  nhk8815_defconfig        - Build for nhk8815
  nuc910_defconfig         - Build for nuc910
  nuc950_defconfig         - Build for nuc950
  nuc960_defconfig         - Build for nuc960
  omap1_defconfig          - Build for omap1
  omap2plus_defconfig      - Build for omap2plus
  orion5x_defconfig        - Build for orion5x
  palmz72_defconfig        - Build for palmz72
  pcm027_defconfig         - Build for pcm027
  pcontrol_g20_defconfig   - Build for pcontrol_g20
  pleb_defconfig           - Build for pleb
  pnx4008_defconfig        - Build for pnx4008
  pxa168_defconfig         - Build for pxa168
  pxa255-idp_defconfig     - Build for pxa255-idp
  pxa3xx_defconfig         - Build for pxa3xx
  pxa910_defconfig         - Build for pxa910
  qil-a9260_defconfig      - Build for qil-a9260
  raumfeld_defconfig       - Build for raumfeld
  realview-smp_defconfig   - Build for realview-smp
  realview_defconfig       - Build for realview
  rpc_defconfig            - Build for rpc
  s3c2410_defconfig        - Build for s3c2410
  s3c6400_defconfig        - Build for s3c6400
  s5p64x0_defconfig        - Build for s5p64x0
  s5pc100_defconfig        - Build for s5pc100
  s5pv210_defconfig        - Build for s5pv210
  sam9_l9260_defconfig     - Build for sam9_l9260
  shannon_defconfig        - Build for shannon
  shark_defconfig          - Build for shark
  simpad_defconfig         - Build for simpad
  spear3xx_defconfig       - Build for spear3xx
  spear6xx_defconfig       - Build for spear6xx
  spitz_defconfig          - Build for spitz
  stamp9g20_defconfig      - Build for stamp9g20
  tct_hammer_defconfig     - Build for tct_hammer
  tegra_defconfig          - Build for tegra
  trizeps4_defconfig       - Build for trizeps4
  u300_defconfig           - Build for u300
  u8500_defconfig          - Build for u8500
  usb-a9260_defconfig      - Build for usb-a9260
  versatile_defconfig      - Build for versatile
  vexpress_defconfig       - Build for vexpress
  viper_defconfig          - Build for viper
  xcep_defconfig           - Build for xcep
  zeus_defconfig           - Build for zeus

メモ

  • Linux 2.4.37?だとmake helpは存在しなかった