Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ptxdist2@opteron:~/workspace_armeb> ptxdist images
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:15: warning: overriding commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.jffs2_64'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:15: warning: ignoring old commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.jffs2_64'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:30: warning: overriding commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.jffs2_128'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:30: warning: ignoring old commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.jffs2_128'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:45: warning: overriding commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.sum.jffs2_64'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:45: warning: ignoring old commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.sum.jffs2_64'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:59: warning: overriding commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.sum.jffs2_128'
- /home/ptxdist2/workspace_armeb/rules/post/image_jffs2.make:59: warning: ignoring old commands for target `/home/ptxdist2/workspace_armeb/platform-armeb-xscale/images/root.sum.jffs2_128'
- # -*-makefile-*-
- #
- # Copyright (C) 2003-2010 by the ptxdist project <ptxdist@pengutronix.de>
- #
- # See CREDITS for details about who has contributed to this project.
- #
- # For further information about the PTXdist project and license conditions
- # see the README file.
- #
- SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2) += $(IMAGEDIR)/root.jffs2_64 $(IMAGEDIR)/root.jffs2_128
- SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2_SUM) += $(IMAGEDIR)/root.sum.jffs2_64 $(IMAGEDIR)/root.sum.jffs2_128
- $(IMAGEDIR)/root.jffs2_64: $(STATEDIR)/image_working_dir $(STATEDIR)/host-mtd-utils.install.post
- @echo -n "Creating root.jffs2_64 from working dir... "
- @echo -n "(--eraseblock=64 "
- @echo "--pad=0x01F90000 -b)"
- @cd $(image/work_dir); \
- (awk -F: $(DOPERMISSIONS) $(image/permissions) && \
- ( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/mkfs.jffs2 "; \
- echo -n "-d $(image/work_dir) "; \
- echo -n "--eraseblock=64 "; \
- echo -n "--pad=0x01F90000 -b ";\
- echo "-o $(IMAGEDIR)/root.jffs2_64" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
- $(IMAGEDIR)/root.jffs2_128: $(STATEDIR)/image_working_dir $(STATEDIR)/host-mtd-utils.install.post
- @echo -n "Creating root.jffs2_128 from working dir... "
- @echo -n "(--eraseblock=128 "
- @echo "--pad=0x01F80000 -b)"
- @cd $(image/work_dir); \
- (awk -F: $(DOPERMISSIONS) $(image/permissions) && \
- ( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/mkfs.jffs2 "; \
- echo -n "-d $(image/work_dir) "; \
- echo -n "--eraseblock=128 "; \
- echo -n "--pad=0x01F80000 -b ";\
- echo "-o $(IMAGEDIR)/root.jffs2_128" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
- $(IMAGEDIR)/root.sum.jffs2_64: $(IMAGEDIR)/root.jffs2_64
- @echo -n "Creating root.sum.jffs2_64 with summary... "
- @echo -n "(--eraseblock=64 "
- @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)))"
- @cd $(image/work_dir); \
- ( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/sumtool "; \
- echo -n "-i $< "; \
- echo -n "--eraseblock=64 "; \
- echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)) "; \
- echo "-o $@" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
- $(IMAGEDIR)/root.sum.jffs2_128: $(IMAGEDIR)/root.jffs2_128
- @echo -n "Creating root.sum.jffs2_128 with summary... "
- @echo -n "(--eraseblock=128 "
- @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)))"
- @cd $(image/work_dir); \
- ( \
- echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/sumtool "; \
- echo -n "-i $< "; \
- echo -n "--eraseblock=128 "; \
- echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)) "; \
- echo "-o $@" ) | tee -a "$(PTX_LOGFILE)" \
- ) | $(FAKEROOT) --
- @echo "done."
- # vim: syntax=make
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement