diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-12 18:37:46 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-14 10:12:32 +0200 |
commit | 2aef771f6e05d3fd1ea59c2faab986eaa55f28f7 (patch) | |
tree | 67047258ad2172dd4461df6f0f7d2141564c98fa /fs/initramfs | |
parent | f1e843864f89b58f806af371e0a09b1c219c522e (diff) | |
download | buildroot-2aef771f6e05d3fd1ea59c2faab986eaa55f28f7.tar.gz buildroot-2aef771f6e05d3fd1ea59c2faab986eaa55f28f7.zip |
fs: declare phony targets as such
This commit improves the filesystem handling code to declare its
various targets as PHONY when appropriate.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'fs/initramfs')
-rw-r--r-- | fs/initramfs/initramfs.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/initramfs/initramfs.mk b/fs/initramfs/initramfs.mk index 308924d574..db5081224c 100644 --- a/fs/initramfs/initramfs.mk +++ b/fs/initramfs/initramfs.mk @@ -17,6 +17,8 @@ rootfs-initramfs: $(ROOTFS_INITRAMFS_DEPENDENCIES) $(ROOTFS_INITRAMFS_POST_TARGE rootfs-initramfs-show-depends: @echo $(ROOTFS_INITRAMFS_DEPENDENCIES) +.PHONY: rootfs-initramfs rootfs-initramfs-show-depends + ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) TARGETS_ROOTFS += rootfs-initramfs endif |