Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 5.24 KB | None | 0 0
  1. ptxdist2@opteron:~/workspace_armeb> ptxdist images
  2. /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'
  3. /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'
  4. /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'
  5. /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'
  6. /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'
  7. /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'
  8. /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'
  9. /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'
  10.  
  11.  
  12. # -*-makefile-*-
  13. #
  14. # Copyright (C) 2003-2010 by the ptxdist project <ptxdist@pengutronix.de>
  15. #
  16. # See CREDITS for details about who has contributed to this project.
  17. #
  18. # For further information about the PTXdist project and license conditions
  19. # see the README file.
  20. #
  21.  
  22. SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2)       += $(IMAGEDIR)/root.jffs2_64 $(IMAGEDIR)/root.jffs2_128
  23. SEL_ROOTFS-$(PTXCONF_IMAGE_JFFS2_SUM)   += $(IMAGEDIR)/root.sum.jffs2_64 $(IMAGEDIR)/root.sum.jffs2_128
  24.  
  25. $(IMAGEDIR)/root.jffs2_64: $(STATEDIR)/image_working_dir $(STATEDIR)/host-mtd-utils.install.post
  26.         @echo -n "Creating root.jffs2_64 from working dir... "
  27.         @echo -n "(--eraseblock=64 "
  28.         @echo "--pad=0x01F90000 -b)"
  29.         @cd $(image/work_dir);                                          \
  30.         (awk -F: $(DOPERMISSIONS) $(image/permissions) &&               \
  31.         (                                                               \
  32.                 echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/mkfs.jffs2 ";     \
  33.                 echo -n "-d $(image/work_dir) ";                        \
  34.                 echo -n "--eraseblock=64 "; \
  35.                 echo -n "--pad=0x01F90000 -b ";\
  36.                 echo  "-o $(IMAGEDIR)/root.jffs2_64" ) | tee -a "$(PTX_LOGFILE)"                \
  37.         ) | $(FAKEROOT) --
  38.         @echo "done."
  39.  
  40. $(IMAGEDIR)/root.jffs2_128: $(STATEDIR)/image_working_dir $(STATEDIR)/host-mtd-utils.install.post
  41.         @echo -n "Creating root.jffs2_128 from working dir... "
  42.         @echo -n "(--eraseblock=128 "
  43.         @echo "--pad=0x01F80000 -b)"
  44.         @cd $(image/work_dir);                                          \
  45.         (awk -F: $(DOPERMISSIONS) $(image/permissions) &&               \
  46.         (                                                               \
  47.                 echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/mkfs.jffs2 ";     \
  48.                 echo -n "-d $(image/work_dir) ";                        \
  49.                 echo -n "--eraseblock=128 "; \
  50.                 echo -n "--pad=0x01F80000 -b ";\
  51.                 echo  "-o $(IMAGEDIR)/root.jffs2_128" ) | tee -a "$(PTX_LOGFILE)"               \
  52.         ) | $(FAKEROOT) --
  53.         @echo "done."
  54.  
  55. $(IMAGEDIR)/root.sum.jffs2_64: $(IMAGEDIR)/root.jffs2_64
  56.         @echo -n "Creating root.sum.jffs2_64 with summary... "
  57.         @echo -n "(--eraseblock=64 "
  58.         @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)))"
  59.         @cd $(image/work_dir);                                          \
  60.         (                                                               \
  61.                 echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/sumtool ";        \
  62.                 echo -n "-i $< ";                                       \
  63.                 echo -n "--eraseblock=64 "; \
  64.                 echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)) "; \
  65.                 echo "-o $@" ) | tee -a "$(PTX_LOGFILE)"                \
  66.         ) | $(FAKEROOT) --
  67.         @echo "done."
  68.  
  69. $(IMAGEDIR)/root.sum.jffs2_128: $(IMAGEDIR)/root.jffs2_128
  70.         @echo -n "Creating root.sum.jffs2_128 with summary... "
  71.         @echo -n "(--eraseblock=128 "
  72.         @echo "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)))"
  73.         @cd $(image/work_dir);                                          \
  74.         (                                                               \
  75.                 echo -n "$(PTXCONF_SYSROOT_HOST)/sbin/sumtool ";        \
  76.                 echo -n "-i $< ";                                       \
  77.                 echo -n "--eraseblock=128 "; \
  78.                 echo -n "$(call remove_quotes,$(PTXCONF_IMAGE_JFFS2_SUM_EXTRA_ARGS)) "; \
  79.                 echo "-o $@" ) | tee -a "$(PTX_LOGFILE)"                \
  80.         ) | $(FAKEROOT) --
  81.         @echo "done."
  82.  
  83. # vim: syntax=make
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement