mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 18:11:47 +00:00
bab55417b1
Read block device partition table from command line. The partition used for fixed block device (eMMC) embedded device. It is no MBR, save storage space. Bootloader can be easily accessed by absolute address of data on the block device. Users can easily change the partition. This code reference MTD partition, source "drivers/mtd/cmdlinepart.c" About the partition verbose reference "Documentation/block/cmdline-partition.txt" [akpm@linux-foundation.org: fix printk text] [yongjun_wei@trendmicro.com.cn: fix error return code in parse_parts()] Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com> Cc: Karel Zak <kzak@redhat.com> Cc: "Wanglin (Albert)" <albert.wanglin@huawei.com> Cc: Marius Groeger <mag@sysgo.de> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Artem Bityutskiy <dedekind@infradead.org> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
23 lines
702 B
Makefile
23 lines
702 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
obj-$(CONFIG_BLOCK) := check.o
|
|
|
|
obj-$(CONFIG_ACORN_PARTITION) += acorn.o
|
|
obj-$(CONFIG_AMIGA_PARTITION) += amiga.o
|
|
obj-$(CONFIG_ATARI_PARTITION) += atari.o
|
|
obj-$(CONFIG_AIX_PARTITION) += aix.o
|
|
obj-$(CONFIG_CMDLINE_PARTITION) += cmdline.o
|
|
obj-$(CONFIG_MAC_PARTITION) += mac.o
|
|
obj-$(CONFIG_LDM_PARTITION) += ldm.o
|
|
obj-$(CONFIG_MSDOS_PARTITION) += msdos.o
|
|
obj-$(CONFIG_OSF_PARTITION) += osf.o
|
|
obj-$(CONFIG_SGI_PARTITION) += sgi.o
|
|
obj-$(CONFIG_SUN_PARTITION) += sun.o
|
|
obj-$(CONFIG_ULTRIX_PARTITION) += ultrix.o
|
|
obj-$(CONFIG_IBM_PARTITION) += ibm.o
|
|
obj-$(CONFIG_EFI_PARTITION) += efi.o
|
|
obj-$(CONFIG_KARMA_PARTITION) += karma.o
|
|
obj-$(CONFIG_SYSV68_PARTITION) += sysv68.o
|