aboutsummaryrefslogtreecommitdiff
path: root/fs/common.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2018-03-31 11:05:52 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-03-31 20:53:05 +0200
commit0c7adf75d2220a1a762cf3b031e9efa7e5b431cc (patch)
treea4017270753e9963258c0c78580f8fb02559cbb2 /fs/common.mk
parent2765973e01b386131d9f2ebb8a89a403a381d5e7 (diff)
downloadbuildroot-0c7adf75d2220a1a762cf3b031e9efa7e5b431cc.tar.gz
buildroot-0c7adf75d2220a1a762cf3b031e9efa7e5b431cc.tar.bz2
fs: define per-rootfs directory
This will serve in future commits to store pre-rootfs files, like fakeroot script... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'fs/common.mk')
-rw-r--r--fs/common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/common.mk b/fs/common.mk
index 19a975aa47..1915fbbe9b 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -39,6 +39,8 @@ ROOTFS_USERS_TABLES = $(call qstrip,$(BR2_ROOTFS_USERS_TABLES))
# all variable references except the arguments must be $$-quoted.
define inner-rootfs
+ROOTFS_$(2)_DIR = $$(FS_DIR)/$(1)
+
# extra deps
ROOTFS_$(2)_DEPENDENCIES += host-fakeroot host-makedevs \
$$(if $$(PACKAGES_USERS)$$(ROOTFS_USERS_TABLES),host-mkpasswd)