2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2007-07-08 21:22:18 +02:00
|
|
|
#
|
2011-09-06 23:16:09 +02:00
|
|
|
# Build a kernel with an integrated initial ramdisk
|
|
|
|
# filesystem based on cpio.
|
2007-07-08 21:22:18 +02:00
|
|
|
#
|
2013-06-06 23:54:13 +02:00
|
|
|
################################################################################
|
2007-07-08 21:22:18 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
ROOTFS_INITRAMFS_DEPENDENCIES += rootfs-cpio
|
2011-07-20 16:30:14 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
ROOTFS_INITRAMFS_POST_TARGETS += linux26-rebuild-with-initramfs
|
2007-07-08 21:22:18 +02:00
|
|
|
|
2011-07-20 16:30:14 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
# The generic fs infrastructure isn't very useful here.
|
2011-07-20 16:30:14 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
rootfs-initramfs: $(ROOTFS_INITRAMFS_DEPENDENCIES) $(ROOTFS_INITRAMFS_POST_TARGETS)
|
2010-04-20 16:31:01 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
rootfs-initramfs-show-depends:
|
|
|
|
@echo $(ROOTFS_INITRAMFS_DEPENDENCIES)
|
2007-07-08 21:22:18 +02:00
|
|
|
|
2011-09-06 23:16:09 +02:00
|
|
|
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
|
|
|
TARGETS += rootfs-initramfs
|
|
|
|
endif
|