diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-19 15:05:20 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-19 15:05:20 +0100 |
commit | 094b2938039d9e12323e2f29a59ce6293411dd28 (patch) | |
tree | c28fd3cab66731a5d9f70b300b269f1ed0140140 /fs | |
parent | 0a0cb991b715ecc490b77533d49d24424b9d11a2 (diff) | |
download | buildroot-novena-094b2938039d9e12323e2f29a59ce6293411dd28.tar.gz buildroot-novena-094b2938039d9e12323e2f29a59ce6293411dd28.zip |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/common.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/common.mk b/fs/common.mk index f9dababb2..92be00cc0 100644 --- a/fs/common.mk +++ b/fs/common.mk @@ -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) |