- Timestamp:
 - 2009-08-20T20:47:35Z (16 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - b50b5af2
 - Parents:
 - 24edc18
 - Location:
 - boot/arch
 - Files:
 - 
      
- 4 edited
 
- 
          
  ia32/Makefile.inc (modified) (3 diffs)
 - 
          
  mips32/loader/Makefile (modified) (2 diffs)
 - 
          
  ppc32/loader/Makefile (modified) (3 diffs)
 - 
          
  sparc64/loader/main.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
boot/arch/ia32/Makefile.inc
r24edc18 r1ea99cc 58 58 $(USPACEDIR)/app/tetris/tetris \ 59 59 $(USPACEDIR)/app/tester/tester \ 60 $(USPACEDIR)/app/dltest2/dltest2 \ 61 $(USPACEDIR)/app/dload/dload \ 60 62 $(USPACEDIR)/app/trace/trace \ 61 63 $(USPACEDIR)/app/klog/klog \ 62 64 $(USPACEDIR)/app/bdsh/bdsh 63 65 66 RD_LIBS = \ 67 $(USPACEDIR)/lib/libtest/libtest.so.0 68 69 ifeq ($(CONFIG_BUILD_SHARED_LIBC), y) 70 RD_LIBS += $(USPACEDIR)/lib/libc/shared/libc.so.0 71 RD_APPS += $(USPACEDIR)/app/dltest/dltest 72 endif 73 64 74 build: $(BASE)/image.iso 65 75 66 $(BASE)/image.iso: arch/$(BARCH)/grub/stage2_eltorito arch/$(BARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_ APPS)76 $(BASE)/image.iso: arch/$(BARCH)/grub/stage2_eltorito arch/$(BARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_LIBS) $(RD_APPS) 67 77 mkdir -p $(TMP)/boot/grub 68 78 cp arch/$(BARCH)/grub/stage2_eltorito $(TMP)/boot/grub/ … … 79 89 for file in $(RD_SRVS) ; do \ 80 90 cp $$file $(USPACEDIR)/dist/srv/ ; \ 91 done 92 for lib in $(RD_LIBS) ; do \ 93 cp $$lib $(USPACEDIR)/dist/lib/ ; \ 81 94 done 82 95 for file in $(RD_APPS) ; do \ … … 97 110 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 98 111 done 112 -for lib in $(RD_LIBS) ; do \ 113 rm -f $(USPACEDIR)/dist/lib/`basename $$lib` ; \ 114 done 99 115 -for file in $(RD_APPS) ; do \ 100 116 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \  - 
      
boot/arch/mips32/loader/Makefile
r24edc18 r1ea99cc 112 112 $(USPACEDIR)/app/tetris/tetris \ 113 113 $(USPACEDIR)/app/tester/tester \ 114 $(USPACEDIR)/app/dload/dload \ 115 $(USPACEDIR)/app/dltest/dltest \ 116 $(USPACEDIR)/app/dltest2/dltest2 \ 114 117 $(USPACEDIR)/app/trace/trace \ 115 118 $(USPACEDIR)/app/bdsh/bdsh \ 116 119 $(USPACEDIR)/app/klog/klog 120 121 RD_LIBS = \ 122 $(USPACEDIR)/lib/libc/shared/libc.so.0 \ 123 $(USPACEDIR)/lib/libtest/libtest.so.0 117 124 118 125 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) … … 143 150 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.raw image.boot Makefile.depend 144 151 145 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_ APPS) _link.ld.in152 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_LIBS) $(RD_APPS) _link.ld.in 146 153 for file in $(RD_SRVS) ; do \ 147 154 cp $$file $(USPACEDIR)/dist/srv/ ; \ 155 done 156 for lib in $(RD_LIBS) ; do \ 157 cp $$lib $(USPACEDIR)/dist/lib/ ; \ 148 158 done 149 159 for file in $(RD_APPS) ; do \  - 
      
boot/arch/ppc32/loader/Makefile
r24edc18 r1ea99cc 98 98 $(USPACEDIR)/app/tetris/tetris \ 99 99 $(USPACEDIR)/app/tester/tester \ 100 $(USPACEDIR)/app/dload/dload \ 101 $(USPACEDIR)/app/dltest/dltest \ 102 $(USPACEDIR)/app/dltest2/dltest2 \ 100 103 $(USPACEDIR)/app/trace/trace \ 101 104 $(USPACEDIR)/app/klog/klog \ 102 105 $(USPACEDIR)/app/bdsh/bdsh 106 107 RD_LIBS = \ 108 $(USPACEDIR)/lib/libc/shared/libc.so.0 \ 109 $(USPACEDIR)/lib/libtest/libtest.so.0 103 110 104 111 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) … … 121 128 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 122 129 done 130 -for lib in $(RD_LIBS) ; do \ 131 rm -f $(USPACEDIR)/dist/lib/`basename $$lib` ; \ 132 done 123 133 -for file in $(RD_APPS) ; do \ 124 134 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ … … 126 136 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend 127 137 128 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_ APPS) _link.ld.in138 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_LIBS) $(RD_APPS) _link.ld.in 129 139 for file in $(RD_SRVS) ; do \ 130 140 cp $$file $(USPACEDIR)/dist/srv/ ; \ 141 done 142 for lib in $(RD_LIBS) ; do \ 143 cp $$lib $(USPACEDIR)/dist/lib/ ; \ 131 144 done 132 145 for file in $(RD_APPS) ; do \  - 
      
boot/arch/sparc64/loader/main.c
r24edc18 r1ea99cc 210 210 (void) ofw_map(bootinfo.physmem_start + base + top, base + top, 211 211 silo_ramdisk_size, -1); 212 memmove(base + top, (void *)((uintptr_t)silo_ramdisk_image), 212 /* 213 * FIXME If the source and destination overlap, it may be 214 * desirable to copy in reverse order, depending on how the two 215 * regions overlap. 216 */ 217 memcpy(base + top, (void *)((uintptr_t)silo_ramdisk_image), 213 218 silo_ramdisk_size); 214 219 printf("done.\n");  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  