mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 23:43:34 +08:00
fs: add extra deps to ROOTFS_*_DEPENDENCIES variables
Instead of explicitly adding it both places it is used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0a0cb991b7
commit
094b293803
@ -36,7 +36,10 @@ ROOTFS_DEVICE_TABLE = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
|
||||
|
||||
define ROOTFS_TARGET_INTERNAL
|
||||
|
||||
$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||
# extra deps
|
||||
$(eval ROOTFS_$(2)_DEPENDENCIES += host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma))
|
||||
|
||||
$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES)
|
||||
@$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
|
||||
rm -f $(FAKEROOT_SCRIPT)
|
||||
@ -62,7 +65,7 @@ ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
|
||||
endif
|
||||
|
||||
rootfs-$(1)-show-depends:
|
||||
@echo $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||
@echo $(ROOTFS_$(2)_DEPENDENCIES)
|
||||
|
||||
rootfs-$(1): $(BINARIES_DIR)/rootfs.$(1) $(ROOTFS_$(2)_POST_TARGETS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user