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 3323 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | $(USPACEDIR)/srv/ns/ns \ |
77 | $(USPACEDIR)/srv/ns/ns \ |
78 | $(USPACEDIR)/srv/loader/loader \ |
78 | $(USPACEDIR)/srv/loader/loader \ |
79 | $(USPACEDIR)/app/init/init \ |
79 | $(USPACEDIR)/app/init/init \ |
80 | $(USPACEDIR)/srv/devmap/devmap \ |
80 | $(USPACEDIR)/srv/devmap/devmap \ |
81 | $(USPACEDIR)/srv/rd/rd \ |
81 | $(USPACEDIR)/srv/rd/rd \ |
82 | $(USPACEDIR)/srv/vfs/vfs \ |
82 | $(USPACEDIR)/srv/vfs/vfs |
- | 83 | ifeq ($(RDFMT),tmpfs) |
|
83 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs |
84 | COMPONENTS += $(USPACEDIR)/srv/fs/tmpfs/tmpfs |
- | 85 | endif |
|
- | 86 | ifeq ($(RDFMT),fat) |
|
- | 87 | COMPONENTS += $(USPACEDIR)/srv/fs/fat/fat |
|
- | 88 | endif |
|
84 | 89 | ||
85 | RD_TASKS = \ |
90 | RD_TASKS = \ |
86 | $(USPACEDIR)/srv/fb/fb \ |
91 | $(USPACEDIR)/srv/fb/fb \ |
87 | $(USPACEDIR)/srv/kbd/kbd \ |
92 | $(USPACEDIR)/srv/kbd/kbd \ |
88 | $(USPACEDIR)/srv/console/console \ |
93 | $(USPACEDIR)/srv/console/console \ |
- | 94 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
|
89 | $(USPACEDIR)/srv/fs/fat/fat \ |
95 | $(USPACEDIR)/srv/fs/fat/fat \ |
90 | $(USPACEDIR)/app/tetris/tetris \ |
96 | $(USPACEDIR)/app/tetris/tetris \ |
91 | $(USPACEDIR)/app/tester/tester \ |
97 | $(USPACEDIR)/app/tester/tester \ |
92 | $(USPACEDIR)/app/klog/klog \ |
98 | $(USPACEDIR)/app/klog/klog \ |
93 | $(USPACEDIR)/app/cli/cli |
99 | $(USPACEDIR)/app/cli/cli |
Line 115... | Line 121... | ||
115 | 121 | ||
116 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in |
122 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS) initrd.o: $(COMPONENTS) $(RD_TASKS) _link.ld.in |
117 | for task in $(RD_TASKS) ; do \ |
123 | for task in $(RD_TASKS) ; do \ |
118 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
124 | cp $$task $(USPACEDIR)/dist/sbin/ ; \ |
119 | done |
125 | done |
- | 126 | ifeq ($(RDFMT),tmpfs) |
|
120 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
127 | ../../../../tools/mktmpfs.py $(USPACEDIR)/dist/ initrd.fs |
- | 128 | endif |
|
- | 129 | ifeq ($(RDFMT),fat) |
|
- | 130 | ../../../../tools/mkfat.sh $(USPACEDIR)/dist/ initrd.fs |
|
- | 131 | endif |
|
121 | ../../../../tools/mkhord.py 4096 initrd.fs initrd.img |
132 | ../../../../tools/mkhord.py 4096 initrd.fs initrd.img |
122 | rm initrd.fs |
133 | rm initrd.fs |
123 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img |
134 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) ./initrd.img |
124 | 135 | ||
125 | %.o: %.S |
136 | %.o: %.S |