segher@gcc12:~/buildall/powerpc/kernel$ ARCH=powerpc CROSS_COMPILE=powerpc-linux- make help
make -C /home/segher/src/kernel O=/home/segher/buildall/powerpc/kernel/. 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
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
silentoldconfig - Same as oldconfig, but quietly
randconfig - New config with random answer to all options
defconfig - New config with default answer to all options
allmodconfig - New config selecting modules when possible
allyesconfig - New config where all options are accepted with yes
allnoconfig - New config where all options are answered with no
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: /)
dir/ - Build all files in dir and below
dir/file.[ois] - Build specified target only
dir/file.ko - Build module including final link
prepare - Set up for building external modules
tags/TAGS - Generate tags file for editors
cscope - Generate cscope 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/segher/buildall/powerpc/kernel/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
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 an 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
Documentation targets:
Linux kernel internal documentation in different formats:
htmldocs - HTML
installmandocs - install man pages generated by mandocs
mandocs - man pages
pdfdocs - PDF
psdocs - Postscript
xmldocs - XML DocBook
Architecture specific targets (powerpc):
* zImage - Compressed kernel image (arch/powerpc/boot/zImage.*)
install - Install kernel using
(your) ~/bin/installkernel or
(distribution) /sbin/installkernel or
install to $(INSTALL_PATH) and run lilo
*_defconfig - Select default config from arch/powerpc/configs
adder875_defconfig - Build for adder875
cell_defconfig - Build for cell
celleb_defconfig - Build for celleb
chrp32_defconfig - Build for chrp32
ep8248e_defconfig - Build for ep8248e
ep88xc_defconfig - Build for ep88xc
g5_defconfig - Build for g5
holly_defconfig - Build for holly
iseries_defconfig - Build for iseries
linkstation_defconfig - Build for linkstation
maple_defconfig - Build for maple
mpc5200_defconfig - Build for mpc5200
mpc7448_hpc2_defconfig - Build for mpc7448_hpc2
mpc8272_ads_defconfig - Build for mpc8272_ads
mpc8313_rdb_defconfig - Build for mpc8313_rdb
mpc8315_rdb_defconfig - Build for mpc8315_rdb
mpc832x_mds_defconfig - Build for mpc832x_mds
mpc832x_rdb_defconfig - Build for mpc832x_rdb
mpc834x_itx_defconfig - Build for mpc834x_itx
mpc834x_itxgp_defconfig - Build for mpc834x_itxgp
mpc834x_mds_defconfig - Build for mpc834x_mds
mpc836x_mds_defconfig - Build for mpc836x_mds
mpc837x_mds_defconfig - Build for mpc837x_mds
mpc837x_rdb_defconfig - Build for mpc837x_rdb
mpc83xx_defconfig - Build for mpc83xx
mpc8540_ads_defconfig - Build for mpc8540_ads
mpc8544_ds_defconfig - Build for mpc8544_ds
mpc8560_ads_defconfig - Build for mpc8560_ads
mpc8568mds_defconfig - Build for mpc8568mds
mpc8572_ds_defconfig - Build for mpc8572_ds
mpc85xx_cds_defconfig - Build for mpc85xx_cds
mpc85xx_defconfig - Build for mpc85xx
mpc8610_hpcd_defconfig - Build for mpc8610_hpcd
mpc8641_hpcn_defconfig - Build for mpc8641_hpcn
mpc866_ads_defconfig - Build for mpc866_ads
mpc885_ads_defconfig - Build for mpc885_ads
pasemi_defconfig - Build for pasemi
pmac32_defconfig - Build for pmac32
ppc44x_defconfig - Build for ppc44x
ppc64_defconfig - Build for ppc64
pq2fads_defconfig - Build for pq2fads
prpmc2800_defconfig - Build for prpmc2800
ps3_defconfig - Build for ps3
pseries_defconfig - Build for pseries
sbc834x_defconfig - Build for sbc834x
sbc8548_defconfig - Build for sbc8548
sbc8560_defconfig - Build for sbc8560
storcenter_defconfig - Build for storcenter
stx_gp3_defconfig - Build for stx_gp3
tqm8540_defconfig - Build for tqm8540
tqm8541_defconfig - Build for tqm8541
tqm8555_defconfig - Build for tqm8555
tqm8560_defconfig - Build for tqm8560
help-40x - Show 40x-specific targets
help-44x - Show 44x-specific targets
help-bla - Show bla-specific targets
help-boards - Show all of the above
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
Execute "make" or "make all" to build all targets marked with [*]
For further info see the ./README file
segher@gcc12:~/buildall/powerpc/kernel$ ARCH=powerpc CROSS_COMPILE=powerpc-linux- make help-boards
make -C /home/segher/src/kernel O=/home/segher/buildall/powerpc/kernel/. help-boards
Architecture specific targets (powerpc 40x):
40x/ep405_defconfig - Build for ep405
40x/kilauea_defconfig - Build for kilauea
40x/makalu_defconfig - Build for makalu
40x/walnut_defconfig - Build for walnut
Architecture specific targets (powerpc 44x):
44x/bamboo_defconfig - Build for bamboo
44x/canyonlands_defconfig - Build for canyonlands
44x/ebony_defconfig - Build for ebony
44x/katmai_defconfig - Build for katmai
44x/rainier_defconfig - Build for rainier
44x/sequoia_defconfig - Build for sequoia
44x/taishan_defconfig - Build for taishan
44x/warp_defconfig - Build for warp
Architecture specific targets (powerpc bla):
bla/bombom_defconfig - Build for bombom
segher@gcc12:~/buildall/powerpc/kernel$ ARCH=powerpc CROSS_COMPILE=powerpc-linux- make help-40x
make -C /home/segher/src/kernel O=/home/segher/buildall/powerpc/kernel/. help-40x
Architecture specific targets (powerpc 40x):
40x/ep405_defconfig - Build for ep405
40x/kilauea_defconfig - Build for kilauea
40x/makalu_defconfig - Build for makalu
40x/walnut_defconfig - Build for walnut
segher@gcc12:~/buildall/powerpc/kernel$