Rev 3258 | Rev 3349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3258 | Rev 3321 | ||
|---|---|---|---|
| Line 82... | Line 82... | ||
| 82 | $(USPACEDIR)/srv/ns/ns \ |
82 | $(USPACEDIR)/srv/ns/ns \ |
| 83 | $(USPACEDIR)/srv/loader/loader \ |
83 | $(USPACEDIR)/srv/loader/loader \ |
| 84 | $(USPACEDIR)/app/init/init \ |
84 | $(USPACEDIR)/app/init/init \ |
| 85 | $(USPACEDIR)/srv/devmap/devmap \ |
85 | $(USPACEDIR)/srv/devmap/devmap \ |
| 86 | $(USPACEDIR)/srv/rd/rd \ |
86 | $(USPACEDIR)/srv/rd/rd \ |
| 87 | $(USPACEDIR)/srv/vfs/vfs \ |
87 | $(USPACEDIR)/srv/vfs/vfs |
| - | 88 | ifeq ($(RDFMT),tmpfs) |
|
| 88 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs |
89 | COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs |
| - | 90 | endif |
|
| - | 91 | ifeq ($(RDFMT),fat) |
|
| - | 92 | COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat |
|
| - | 93 | endif |
|
| 89 | 94 | ||
| 90 | RD_TASKS = \ |
95 | RD_TASKS = \ |
| 91 | $(USPACEDIR)/srv/fb/fb \ |
96 | $(USPACEDIR)/srv/fb/fb \ |
| 92 | $(USPACEDIR)/srv/kbd/kbd \ |
97 | $(USPACEDIR)/srv/kbd/kbd \ |
| 93 | $(USPACEDIR)/srv/console/console \ |
98 | $(USPACEDIR)/srv/console/console \ |
| - | 99 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
|
| 94 | $(USPACEDIR)/srv/fs/fat/fat \ |
100 | $(USPACEDIR)/srv/fs/fat/fat \ |
| 95 | $(USPACEDIR)/app/tetris/tetris \ |
101 | $(USPACEDIR)/app/tetris/tetris \ |
| 96 | $(USPACEDIR)/app/tester/tester \ |
102 | $(USPACEDIR)/app/tester/tester \ |
| 97 | $(USPACEDIR)/app/klog/klog \ |
103 | $(USPACEDIR)/app/klog/klog \ |
| 98 | $(USPACEDIR)/app/cli/cli |
104 | $(USPACEDIR)/app/cli/cli |
| Line 120... | Line 126... | ||
| 120 | 126 | ||
| 121 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in |
127 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) _link.ld.in |
| 122 | for task in $(RD_TASKS) ; do \ |
128 | for task in $(RD_TASKS) ; do \ |
| 123 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
129 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
| 124 | done |
130 | done |
| - | 131 | ifeq ($(RDFMT),tmpfs) |
|
| 125 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
132 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
| - | 133 | endif |
|
| - | 134 | ifeq ($(RDFMT),fat) |
|
| - | 135 | ../../../../tools/mkfat.sh $(USPACEDIR)/dist/ initrd.fs |
|
| - | 136 | endif |
|
| 126 | ../../../../tools/mkhord.py 4096 initrd.fs initrd.img |
137 | ../../../../tools/mkhord.py 4096 initrd.fs initrd.img |
| 127 | rm initrd.fs |
138 | rm initrd.fs |
| 128 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img |
139 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img |
| 129 | 140 | ||
| 130 | %.o: %.S |
141 | %.o: %.S |