diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-06-01 13:38:53 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-06-01 13:38:53 +0200 |
commit | e5600f6f74126a3eec7b99bc577a4f4c635f2ae6 (patch) | |
tree | 681404ed9c683372d7f412bc16fa69d10ecef467 | |
parent | 173185659d92e0d7fd361dd902c87cd27cf09930 (diff) | |
download | embtoolkit-e5600f6f74126a3eec7b99bc577a4f4c635f2ae6.tar.gz embtoolkit-e5600f6f74126a3eec7b99bc577a4f4c635f2ae6.tar.bz2 embtoolkit-e5600f6f74126a3eec7b99bc577a4f4c635f2ae6.tar.xz |
Rootfs: create ROOTFS only if rootfs is selected
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r-- | mk/initialpath.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/initialpath.mk b/mk/initialpath.mk index 4c12b17..fe38a97 100644 --- a/mk/initialpath.mk +++ b/mk/initialpath.mk @@ -35,11 +35,13 @@ mkinitialpath: @mkdir -p $(SYSROOT) @mkdir -p $(SYSROOT)/usr @mkdir -p $(SYSROOT)/usr/lib - @mkdir -p $(ROOTFS) - @cp -Rp $(EMBTK_ROOT)/src/target_skeleton/* $(ROOTFS)/ @mkdir -p $(TOOLS) @mkdir -p $(TOOLS_BUILD) +ifeq ($(CONFIG_EMBTK_HAVE_ROOTFS),y) + @mkdir -p $(ROOTFS) + @cp -Rp $(EMBTK_ROOT)/src/target_skeleton/* $(ROOTFS)/ @mkdir -p $(PACKAGES_BUILD) +endif rmallpath: @rm -Rf packages_build-* rootfs-* sysroot-* tools_build-* tools-* |