Changeset 364 for soft/giet_vm/Makefile
- Timestamp:
- Jul 23, 2014, 11:02:57 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r356 r364 8 8 9 9 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 10 X ?= 411 Y ?= 412 P ?= 410 X ?= 2 11 Y ?= 2 12 P ?= 2 13 13 APP ?= convol 14 14 … … 119 119 build/libs/barrier.o 120 120 121 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g 121 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 122 122 123 123 GIET_INCLUDE = -Igiet_boot \ … … 136 136 DISK_IMAGE := hdd/virt_hdd.dmg 137 137 138 ### Copy executable and miscellaneous files into disk image139 ### Copy bootloader into sector 2 of disk image140 138 all: map.bin \ 141 139 hard_config.h \ … … 154 152 $(DISK_IMAGE) 155 153 154 ### Copy always all files into disk image 156 155 mcopy -o -i $(DISK_IMAGE) build/kernel/kernel.elf ::/build/kernel 157 156 mcopy -o -i $(DISK_IMAGE) build/display/display.elf ::/build/display … … 167 166 mcopy -o -i $(DISK_IMAGE) convol/philips_image.raw ::/misc 168 167 mcopy -o -i $(DISK_IMAGE) map.bin ::/ 168 ### Copy bootloader into sector 2 of disk image 169 169 dd if=build/boot/boot.elf of=$(DISK_IMAGE) seek=2 conv=notrunc 170 171 ### Disk image generation 170 ### Checking root directory 171 mdir -i $(DISK_IMAGE) ::/ 172 173 ### Disk image generation (no files in this step) 172 174 ### This requires the generic LINUX/MacOS script "create_dmg" script 173 175 ### written by C.Fuguet. (should be installed in GIET-VM root directory). … … 476 478 477 479 build/convol/main.o: convol/main.c 478 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $<480 $(CC) $(USER_INCLUDE) $(CFLAGS) -O0 -c -o $@ $< 479 481 480 482 ### clean … … 498 500 rm -rf build/transpose/* 499 501 rm -rf build/convol/* 500 501 distclean: clean502 502 rm -rf hdd/virt_hdd.dmg
Note: See TracChangeset
for help on using the changeset viewer.