Changeset de9c5cb in mainline
- Timestamp:
- 2008-09-14T14:41:31Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6aae7a3b
- Parents:
- dac629e
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/amd64/Makefile.inc
rdac629e rde9c5cb 41 41 endif 42 42 43 RD_ TASKS = \43 RD_SRVS = \ 44 44 $(USPACEDIR)/srv/pci/pci \ 45 45 $(USPACEDIR)/srv/fb/fb \ 46 46 $(USPACEDIR)/srv/kbd/kbd \ 47 47 $(USPACEDIR)/srv/console/console \ 48 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 49 $(USPACEDIR)/srv/fs/fat/fat 50 51 RD_APPS = \ 48 52 $(USPACEDIR)/app/tetris/tetris \ 49 53 $(USPACEDIR)/app/tester/tester \ 50 54 $(USPACEDIR)/app/klog/klog \ 51 $(USPACEDIR)/app/bdsh/bdsh \ 52 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 53 $(USPACEDIR)/srv/fs/fat/fat 55 $(USPACEDIR)/app/bdsh/bdsh 54 56 55 57 build: $(BASE)/image.iso 56 58 57 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_ TASKS)59 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_APPS) 58 60 mkdir -p arch/$(ARCH)/iso/boot/grub 59 61 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ … … 68 70 cp $$task arch/$(ARCH)/iso/boot/ ; \ 69 71 done 70 for task in $(RD_TASKS) ; do \ 71 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 72 for file in $(RD_SRVS) ; do \ 73 cp $$file $(USPACEDIR)/dist/srv/ ; \ 74 done 75 for file in $(RD_APPS) ; do \ 76 cp $$file $(USPACEDIR)/dist/app/ ; \ 72 77 done 73 78 ifeq ($(RDFMT),tmpfs) … … 82 87 83 88 clean: 84 -for task in $(RD_TASKS) ; do \ 85 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 89 -for file in $(RD_SRVS) ; do \ 90 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 91 done 92 -for file in $(RD_APPS) ; do \ 93 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 86 94 done 87 95 -rm -fr arch/$(ARCH)/iso -
boot/arch/arm32/loader/Makefile
rdac629e rde9c5cb 97 97 endif 98 98 99 RD_ TASKS = \99 RD_SRVS = \ 100 100 $(USPACEDIR)/srv/fb/fb \ 101 101 $(USPACEDIR)/srv/kbd/kbd \ 102 102 $(USPACEDIR)/srv/console/console \ 103 103 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 104 $(USPACEDIR)/srv/fs/fat/fat \ 104 $(USPACEDIR)/srv/fs/fat/fat 105 106 RD_APPS = \ 105 107 $(USPACEDIR)/app/tetris/tetris \ 106 108 $(USPACEDIR)/app/tester/tester \ … … 124 126 125 127 clean: 126 -for task in $(RD_TASKS) ; do \ 127 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 128 -for file in $(RD_SRVS) ; do \ 129 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 130 done 131 -for file in $(RD_APPS) ; do \ 132 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 128 133 done 129 134 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend 130 135 131 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in 132 for task in $(RD_TASKS) ; do \ 133 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 136 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in 137 for file in $(RD_SRVS) ; do \ 138 cp $$file $(USPACEDIR)/dist/srv/ ; \ 139 done 140 for file in $(RD_APPS) ; do \ 141 cp $$file $(USPACEDIR)/dist/app/ ; \ 134 142 done 135 143 ifeq ($(RDFMT),tmpfs) -
boot/arch/ia32/Makefile.inc
rdac629e rde9c5cb 41 41 endif 42 42 43 RD_ TASKS = \43 RD_SRVS = \ 44 44 $(USPACEDIR)/srv/pci/pci \ 45 45 $(USPACEDIR)/srv/fb/fb \ 46 46 $(USPACEDIR)/srv/kbd/kbd \ 47 47 $(USPACEDIR)/srv/console/console \ 48 $(USPACEDIR)/srv/fs/fat/fat \ 48 $(USPACEDIR)/srv/fs/fat/fat 49 50 RD_APPS = \ 49 51 $(USPACEDIR)/app/tetris/tetris \ 50 52 $(USPACEDIR)/app/tester/tester \ … … 54 56 build: $(BASE)/image.iso 55 57 56 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_ TASKS)58 $(BASE)/image.iso: arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/grub/menu.lst $(KERNELDIR)/kernel.bin $(INIT_TASKS) $(RD_SRVS) $(RD_APPS) 57 59 mkdir -p arch/$(ARCH)/iso/boot/grub 58 60 cp arch/$(ARCH)/grub/stage2_eltorito arch/$(ARCH)/iso/boot/grub/ … … 67 69 cp $$task arch/$(ARCH)/iso/boot/ ; \ 68 70 done 69 for task in $(RD_TASKS) ; do \ 70 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 71 for file in $(RD_SRVS) ; do \ 72 cp $$file $(USPACEDIR)/dist/srv/ ; \ 73 done 74 for file in $(RD_APPS) ; do \ 75 cp $$file $(USPACEDIR)/dist/app/ ; \ 71 76 done 72 77 ifeq ($(RDFMT),tmpfs) … … 81 86 82 87 clean: 83 -for task in $(RD_TASKS) ; do \ 84 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 88 -for file in $(RD_SRVS) ; do \ 89 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 90 done 91 -for file in $(RD_APPS) ; do \ 92 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 85 93 done 86 94 -rm -fr arch/$(ARCH)/iso -
boot/arch/mips32/loader/Makefile
rdac629e rde9c5cb 97 97 endif 98 98 99 RD_ TASKS = \99 RD_SRVS = \ 100 100 $(USPACEDIR)/srv/fb/fb \ 101 101 $(USPACEDIR)/srv/kbd/kbd \ 102 102 $(USPACEDIR)/srv/console/console \ 103 103 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 104 $(USPACEDIR)/srv/fs/fat/fat \ 104 $(USPACEDIR)/srv/fs/fat/fat 105 106 RD_APPS = \ 105 107 $(USPACEDIR)/app/tetris/tetris \ 106 108 $(USPACEDIR)/app/tester/tester \ 107 109 $(USPACEDIR)/app/bdsh/bdsh \ 108 110 $(USPACEDIR)/app/klog/klog 109 110 111 111 112 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) … … 125 126 126 127 clean: 127 -for task in $(RD_TASKS) ; do \ 128 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 128 -for file in $(RD_SRVS) ; do \ 129 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 130 done 131 -for file in $(RD_APPS) ; do \ 132 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 129 133 done 130 134 -rm -f _components.h _components.c _link.ld _link.ld.in $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend 131 135 132 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in 133 for task in $(RD_TASKS) ; do \ 134 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 136 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in 137 for file in $(RD_SRVS) ; do \ 138 cp $$file $(USPACEDIR)/dist/srv/ ; \ 139 done 140 for file in $(RD_APPS) ; do \ 141 cp $$file $(USPACEDIR)/dist/app/ ; \ 135 142 done 136 143 ifeq ($(RDFMT),tmpfs) -
boot/arch/ppc32/loader/Makefile
rdac629e rde9c5cb 92 92 endif 93 93 94 RD_ TASKS = \94 RD_SRVS = \ 95 95 $(USPACEDIR)/srv/fb/fb \ 96 96 $(USPACEDIR)/srv/kbd/kbd \ 97 97 $(USPACEDIR)/srv/console/console \ 98 98 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 99 $(USPACEDIR)/srv/fs/fat/fat \ 99 $(USPACEDIR)/srv/fs/fat/fat 100 101 RD_APPS = \ 100 102 $(USPACEDIR)/app/tetris/tetris \ 101 103 $(USPACEDIR)/app/tester/tester \ … … 119 121 120 122 clean: 121 -for task in $(RD_TASKS) ; do \ 122 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 123 -for file in $(RD_SRVS) ; do \ 124 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 125 done 126 -for file in $(RD_APPS) ; do \ 127 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 123 128 done 124 129 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o $(OBJECTS) initrd.img image.boot Makefile.depend 125 130 126 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in 127 for task in $(RD_TASKS) ; do \ 128 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 131 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in 132 for file in $(RD_SRVS) ; do \ 133 cp $$file $(USPACEDIR)/dist/srv/ ; \ 134 done 135 for file in $(RD_APPS) ; do \ 136 cp $$file $(USPACEDIR)/dist/app/ ; \ 129 137 done 130 138 ifeq ($(RDFMT),tmpfs) -
boot/arch/sparc64/loader/Makefile
rdac629e rde9c5cb 95 95 endif 96 96 97 RD_ TASKS = \97 RD_SRVS = \ 98 98 $(USPACEDIR)/srv/fb/fb \ 99 99 $(USPACEDIR)/srv/kbd/kbd \ 100 100 $(USPACEDIR)/srv/console/console \ 101 101 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 102 $(USPACEDIR)/srv/fs/fat/fat \ 102 $(USPACEDIR)/srv/fs/fat/fat 103 104 RD_APPS = \ 103 105 $(USPACEDIR)/app/tetris/tetris \ 104 106 $(USPACEDIR)/app/tester/tester \ … … 122 124 123 125 clean: 124 -for task in $(RD_TASKS) ; do \ 125 rm -f $(USPACEDIR)/dist/sbin/`basename $$task` ; \ 126 -for file in $(RD_SRVS) ; do \ 127 rm -f $(USPACEDIR)/dist/srv/`basename $$file` ; \ 128 done 129 -for file in $(RD_APPS) ; do \ 130 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 126 131 done 127 132 -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) initrd.img image.boot image.map image.disasm Makefile.depend 128 133 129 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in 130 for task in $(RD_TASKS) ; do \ 131 cp $$task $(USPACEDIR)/dist/sbin/ ; \ 134 _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_SRVS) $(RD_APPS) _link.ld.in 135 for file in $(RD_SRVS) ; do \ 136 cp $$file $(USPACEDIR)/dist/srv/ ; \ 137 done 138 for file in $(RD_APPS) ; do \ 139 cp $$file $(USPACEDIR)/dist/app/ ; \ 132 140 done 133 141 ifeq ($(RDFMT),tmpfs) -
uspace/app/bdsh/config.h
rdac629e rde9c5cb 10 10 11 11 /* Work around for getenv() */ 12 #define PATH "/ bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"12 #define PATH "/srv:/app" 13 13 #define PATH_DELIM ":" 14 14 -
uspace/app/init/init.c
rdac629e rde9c5cb 105 105 } 106 106 107 // FIXME: spawn("/s bin/pci");108 spawn("/s bin/fb");109 spawn("/s bin/kbd");110 spawn("/s bin/console");107 // FIXME: spawn("/srv/pci"); 108 spawn("/srv/fb"); 109 spawn("/srv/kbd"); 110 spawn("/srv/console"); 111 111 112 112 console_wait(); 113 113 version_print(); 114 114 115 spawn("/ sbin/bdsh");115 spawn("/app/bdsh"); 116 116 117 117 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.