mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-18 09:43:33 +08:00
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 <jacmet@sunsite.dk>
This commit is contained in:
parent
c7af389523
commit
0a0cb991b7
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user