Changeset 608 for soft/giet_vm/Makefile
- Timestamp:
- Jul 13, 2015, 3:10:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r602 r608 37 37 endif 38 38 39 .PHONY: clean map.bin 39 ### Rules that don't build a target file 40 .PHONY: all dirs list extract clean clean-disk 40 41 41 42 .NOTPARALLEL: … … 152 153 mdir -/ -b -i $(DISK_IMAGE) ::/ 153 154 155 ##################################################### 156 ### create build directories 154 157 dirs: 155 158 @mkdir -p build/boot … … 160 163 @mkdir -p build/libs/math 161 164 @mkdir -p hdd 165 166 ##################################################### 167 ### make a recursive list of the virtual disk content 168 list: 169 mdir -/ -w -i $(DISK_IMAGE) ::/ 170 171 ######################################################## 172 ### copy the files generated by the virtual prototype on 173 ### the virtual disk "home" directory to the giet_vm home directory 174 extract: 175 mcopy -o -i $(DISK_IMAGE) ::/home . 176 177 ######################################## 178 ### clean all binary files 179 clean: 180 rm -f *.o *.elf *.bin *.txt core 181 rm -f hard_config.h giet_vsegs.ld map.bin map.xml 182 rm -rf build/kernel/* 183 rm -rf build/boot/* 184 rm -rf build/libs/* 185 $(MAKE) -C applications/classif clean 186 $(MAKE) -C applications/convol clean 187 $(MAKE) -C applications/coproc clean 188 $(MAKE) -C applications/display clean 189 $(MAKE) -C applications/dhrystone clean 190 $(MAKE) -C applications/gameoflife clean 191 cd applications/ocean && $(MAKE) clean && cd ../.. 192 $(MAKE) -C applications/router clean 193 $(MAKE) -C applications/shell clean 194 $(MAKE) -C applications/sort clean 195 $(MAKE) -C applications/transpose clean 196 197 ######################################## 198 ### delete disk image 199 clean-disk: 200 rm -f $(DISK_IMAGE) 162 201 163 202 ######################### … … 181 220 mcopy -o -i $(DISK_IMAGE) images/couple_512.raw ::/misc 182 221 183 #####################################################184 ### make a recursive list of the virtual disk content185 list:186 mdir -/ -w -i $(DISK_IMAGE) ::/187 188 ########################################################189 ### copy the files generated by the virtual prototype on190 ### the virtual disk "home" directory to the giet_vm home directory191 extract:192 mcopy -o -i $(DISK_IMAGE) ::/home .193 194 222 ######################################################################### 195 223 ### mapping generation: map.bin / map.xml / hard_config.h / giet_vsegs.ld … … 299 327 $(AR) -rcs $@ $^ 300 328 301 302 303 329 ######################################## 304 330 ### classif application compilation … … 378 404 mcopy -o -i $(DISK_IMAGE) $@ ::/build/transpose 379 405 380 381 382 383 ########################################384 ### clean all binary files385 clean:386 rm -f *.o *.elf *.bin *.txt core387 rm -f hard_config.h giet_vsegs.ld map.bin map.xml388 rm -rf build/kernel/*389 rm -rf build/boot/*390 rm -rf build/libs/*391 $(MAKE) -C applications/classif clean392 $(MAKE) -C applications/convol clean393 $(MAKE) -C applications/coproc clean394 $(MAKE) -C applications/display clean395 $(MAKE) -C applications/dhrystone clean396 $(MAKE) -C applications/gameoflife clean397 cd applications/ocean && $(MAKE) clean && cd ../..398 $(MAKE) -C applications/router clean399 $(MAKE) -C applications/shell clean400 $(MAKE) -C applications/sort clean401 $(MAKE) -C applications/transpose clean402 403 ########################################404 ### delete disk image405 clean-disk:406 rm -f $(DISK_IMAGE)407 408 409
Note: See TracChangeset
for help on using the changeset viewer.