summaryrefslogtreecommitdiff
path: root/mk/fs.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-02 13:33:57 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-02 13:33:57 +0200
commitb98d932eafac9781487f50975711472cd452197e (patch)
treec5e861418292ac5376878c5e93ac7357fd6fd15d /mk/fs.mk
parenta333f1c61aa9d8187d8bdc91736682866f09613c (diff)
downloadembtoolkit-b98d932eafac9781487f50975711472cd452197e.tar.gz
embtoolkit-b98d932eafac9781487f50975711472cd452197e.tar.bz2
embtoolkit-b98d932eafac9781487f50975711472cd452197e.tar.xz
Build system: generalize use of embtk_{pinfo,perror,pwarning} in place of existing print macros
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/fs.mk')
-rw-r--r--mk/fs.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/fs.mk b/mk/fs.mk
index 1b6c94e..7f26999 100644
--- a/mk/fs.mk
+++ b/mk/fs.mk
@@ -29,18 +29,18 @@ SQUASHFS_ROOTFS := $(EMBTK_GENERATED)/rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG).sq
INITRAMFS_ROOTFS := $(EMBTK_GENERATED)/initramfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)
build_rootfs_devnodes:
- $(call embtk_generic_msg,"Populating device nodes of the rootfs...")
+ $(call embtk_pinfo,"Populating device nodes of the rootfs...")
$(Q)$(FAKEROOT_BIN) -s $(FAKEROOT_ENV_FILE) -- $(MAKEDEVS_BIN) \
-d $(EMBTK_ROOT)/src/devices_table.txt $(ROOTFS)
build_tarbz2_rootfs:
- $(call embtk_generic_msg,"Generating TAR.BZ2 file of the rootfs...")
+ $(call embtk_pinfo,"Generating TAR.BZ2 file of the rootfs...")
@cd $(ROOTFS) ; $(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \
tar cjf rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG).tar.bz2 * ; \
mv $(BZIP2_ROOTFS) $(EMBTK_GENERATED)/
build_jffs2_rootfs:
- $(call embtk_generic_msg,"Generating JFFS2 rootfs..")
+ $(call embtk_pinfo,"Generating JFFS2 rootfs..")
@$(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \
$(HOSTTOOLS)/usr/sbin/mkfs.jffs2 \
--eraseblock=$(CONFIG_EMBTK_ROOTFS_HAVE_JFFS2_ERASEBLOCKSIZE) \
@@ -60,12 +60,12 @@ build_jffs2_rootfs:
@rm -rf $(JFFS2_ROOTFS).temp
build_squashfs_rootfs:
- $(call embtk_generic_msg,"Generating SQUASHFS rootfs...")
+ $(call embtk_pinfo,"Generating SQUASHFS rootfs...")
$(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \
$(MKSQUASHFS_BIN) $(ROOTFS) $(SQUASHFS_ROOTFS)
build_initramfs_archive:
- $(call embtk_generic_msg,"Generating cpio archive for INITRAMFS...")
+ $(call embtk_pinfo,"Generating cpio archive for INITRAMFS...")
@$(FAKEROOT_BIN) -i $(FAKEROOT_ENV_FILE) -- \
$(EMBTK_ROOT)/scripts/mkinitramfs $(ROOTFS) \
$(if $(EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_GZIPED),gzip,bzip2) \