linux/usr/Makefile
<<
>>
Prefs
   1#
   2# kbuild file for usr/ - including initramfs image
   3#
   4
   5klibcdirs:;
   6PHONY += klibcdirs
   7
   8
   9# Gzip
  10suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP)   = .gz
  11
  12# Bzip2
  13suffix_$(CONFIG_INITRAMFS_COMPRESSION_BZIP2)  = .bz2
  14
  15# Lzma
  16suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZMA)   = .lzma
  17
  18# XZ
  19suffix_$(CONFIG_INITRAMFS_COMPRESSION_XZ)     = .xz
  20
  21# Lzo
  22suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZO)   = .lzo
  23
  24AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/initramfs_data.cpio$(suffix_y)"
  25
  26# Generate builtin.o based on initramfs_data.o
  27obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o
  28
  29# initramfs_data.o contains the compressed initramfs_data.cpio image.
  30# The image is included using .incbin, a dependency which is not
  31# tracked automatically.
  32$(obj)/initramfs_data.o: $(obj)/initramfs_data.cpio$(suffix_y) FORCE
  33
  34#####
  35# Generate the initramfs cpio archive
  36
  37hostprogs-y := gen_init_cpio
  38initramfs   := $(CONFIG_SHELL) $(sr9tree)-"
	  >efile#L11" id="L11" class="line" name="L0" clac  >efile#L11" id"1v="lzC" name="L38">  38inititramfs_3ata.o contains the comp3essed3initr1" id-lookupd="L1if"L1/a>ter-okup="line="line,href="usr/Makefile#SOUine)), \name="L4">   4
   4
   4
   4
   4
  15# L4nerate t4e initramfs cpio archiv4
  15# L4href="us4/Makefile#L37" id="L37"4class46nitramfs6" id="L36"anletssdetect if"anyef="unoare adhre/removede" name="L32">  32$(o4progs-y 4= gen_init_cpio
  15# L4ramfs   4= $(CONFIG_SHELL) $(sr94ree)-48endency wh1" id="L31"1v="s="lgMakefildeby efile#L11" idlzC -l" name="L15">  15# L4itramfs_4ata.o contains the comp4essed4initrifneq ($(wildcardhref="us.r/Makefile#L33" id=.d),)name="L4">   4
   4
   4
   5klibcdihref="us5/Makefile#L34" id="L34"5class53endequie="lmdle#L136"= GEN     L@name="L5">   5klibcdief="usr/5Makefile#L5" id="L5" cl5L35" 54ende      lmdle#L136"= L1i/Makefil) -o h@ L11" id-args) L11" id-looku)name="L4">   4
  26# G5href="us5/Makefile#L37" id="L37"5class56nitrsearchsid="L28" class="lincked gz" class="lincked gz" bzl))namn
	  >
  w 19
  w 19  32doich 1# L4href)namn
	  >
  w 19  32# Ls94ree)-48e): )"
  32# Ls94ree)-48e): NY += klibcdirs
  31We re/a># kessed initramfs_data.f:bcdirs
  121) A idr.r/Make5buildwhicewerneraased on initramfsbzl))namn
	  >
  w 19    2)5hang"usr.ndency progs-y 4= .r/Make5(ss46n or># lefi            " nhell echo h6quie="lm6le#L136"= GEN     L@nam6="L5"64">  3 3) Ifs-y := gen_ini-y 4=cewerneraased on initramfsbzl))namn
	  >
  w 19  154)-y gume_co4/Ma(sr94ree)-48enden>hang"u)namn
	  >
  w 19  32$(obj)/initramfs_data.cpio$(sufdata.o: $-y := gen_ini-32# Ls94ree)-48e) NY += klibcdirs
  <

      
ile#L33foocon"> original LXR softwy 4=) $erata> LXR commuf="y"> , earc experime_cal vers lxn@f="...no"> .
ile#L33subfoocon"> lxn.f="...no kindly 37 Redpill L="pro AS"> , prov ger of L="uxdatarch_Remo"us4opG_SH <