From: Peter Korsgaard Date: Fri, 19 Nov 2010 14:01:13 +0000 (+0100) Subject: fs: rename make targets to match package/ convention X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a0cb991b715ecc490b77533d49d24424b9d11a2;p=buildroot.git fs: rename make targets to match package/ convention Use rootfs-* rather than *-root, to match the convention used under package/ and which fits with the ROOTFS_*_ variables. This will also help with the host dependencies. Signed-off-by: Peter Korsgaard --- diff --git a/fs/common.mk b/fs/common.mk index 74e9ce0606..f9dababb2c 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -61,13 +61,13 @@ ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y) $(LZMA) -9 -c $$@ > $$@.lzma endif -$(1)-root-show-depends: +rootfs-$(1)-show-depends: @echo $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma) -$(1)-root: $(BINARIES_DIR)/rootfs.$(1) $(ROOTFS_$(2)_POST_TARGETS) +rootfs-$(1): $(BINARIES_DIR)/rootfs.$(1) $(ROOTFS_$(2)_POST_TARGETS) ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y) -TARGETS += $(1)-root +TARGETS += rootfs-$(1) endif endef diff --git a/fs/iso9660/iso9660.mk b/fs/iso9660/iso9660.mk index 6f60893a41..2a5288c336 100644 --- a/fs/iso9660/iso9660.mk +++ b/fs/iso9660/iso9660.mk @@ -15,7 +15,7 @@ ifeq ($(BR2_TARGET_ROOTFS_ISO9660_SQUASH),y) ISO9660_OPTS+=-U endif -$(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux26 ext2-root grub +$(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux26 rootfs-ext2 grub @$(call MESSAGE,"Generating root filesystem image rootfs.iso9660") mkdir -p $(ISO9660_TARGET_DIR) mkdir -p $(ISO9660_TARGET_DIR)/boot/grub @@ -37,7 +37,7 @@ $(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux26 ext2-root grub -@rm -f $(FAKEROOT_SCRIPT) -@rm -rf $(ISO9660_TARGET_DIR) -iso9660-root: $(BINARIES_DIR)/rootfs.iso9660 +rootfs-iso9660: $(BINARIES_DIR)/rootfs.iso9660 ############################################################# # @@ -45,5 +45,5 @@ iso9660-root: $(BINARIES_DIR)/rootfs.iso9660 # ############################################################# ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y) -TARGETS+=iso9660-root +TARGETS+=rootfs-iso9660 endif