[595] | 1 | -include params.mk |
---|
[302] | 2 | |
---|
[595] | 3 | export # export all variable to applications sub-Makefile |
---|
| 4 | |
---|
[232] | 5 | CC = mipsel-unknown-elf-gcc |
---|
| 6 | AS = mipsel-unknown-elf-as |
---|
| 7 | LD = mipsel-unknown-elf-ld |
---|
| 8 | DU = mipsel-unknown-elf-objdump |
---|
[380] | 9 | AR = mipsel-unknown-elf-ar |
---|
[158] | 10 | |
---|
[595] | 11 | # Defaults values for hardware parameters and applications |
---|
[611] | 12 | # These parameters should be defined in the params.mk file |
---|
[595] | 13 | ARCH ?= pathname |
---|
[581] | 14 | X_SIZE ?= 1 |
---|
| 15 | Y_SIZE ?= 1 |
---|
[595] | 16 | NB_PROCS ?= 1 |
---|
[580] | 17 | NB_TTYS ?= 1 |
---|
[595] | 18 | FBF_WIDTH ?= 256 |
---|
| 19 | IOC_TYPE ?= BDV |
---|
[739] | 20 | MWR_TYPE ?= CPY |
---|
[611] | 21 | APPLIS ?= shell |
---|
[326] | 22 | |
---|
[595] | 23 | # build the list of applications used as argument by genmap |
---|
| 24 | GENMAP_APPLIS := $(addprefix --,$(APPLIS)) |
---|
[510] | 25 | |
---|
[649] | 26 | # build the list of application.py (used as dependencies by genmap) |
---|
| 27 | APPLIS_PY = applications/classif/classif.py \ |
---|
| 28 | applications/convol/convol.py \ |
---|
| 29 | applications/coproc/coproc.py \ |
---|
| 30 | applications/display/display.py \ |
---|
| 31 | applications/dhrystone/dhrystone.py \ |
---|
| 32 | applications/gameoflife/gameoflife.py \ |
---|
[739] | 33 | applications/mjpeg/mjpeg.py \ |
---|
[649] | 34 | applications/ocean/ocean.py \ |
---|
[673] | 35 | applications/raycast/raycast.py \ |
---|
[649] | 36 | applications/router/router.py \ |
---|
| 37 | applications/shell/shell.py \ |
---|
| 38 | applications/sort/sort.py \ |
---|
| 39 | applications/transpose/transpose.py |
---|
[326] | 40 | |
---|
[595] | 41 | # build the list of applications to be executed (used in the all rule) |
---|
| 42 | APPLIS_ELF := $(addsuffix /appli.elf,$(addprefix applications/,$(APPLIS))) |
---|
[204] | 43 | |
---|
[600] | 44 | # Build PYTHONPATH |
---|
[602] | 45 | PYTHONPATH := $(shell find . -name *.py | grep -o "\(.*\)/" | sort -u | tr '\n' :) |
---|
[600] | 46 | |
---|
[595] | 47 | # check hardware platform definition |
---|
| 48 | ifeq ($(wildcard $(ARCH)),) |
---|
| 49 | $(error please define in ARCH parameter the path to the platform) |
---|
| 50 | endif |
---|
[580] | 51 | |
---|
[608] | 52 | ### Rules that don't build a target file |
---|
[662] | 53 | .PHONY: all dirs list extract clean clean-disk install-disk $(APPLIS_ELF) |
---|
[595] | 54 | |
---|
[463] | 55 | ### Objects to be linked for the drivers library |
---|
[535] | 56 | DRIVERS_OBJS = build/drivers/dma_driver.o \ |
---|
| 57 | build/drivers/cma_driver.o \ |
---|
| 58 | build/drivers/xcu_driver.o \ |
---|
| 59 | build/drivers/bdv_driver.o \ |
---|
| 60 | build/drivers/hba_driver.o \ |
---|
| 61 | build/drivers/sdc_driver.o \ |
---|
| 62 | build/drivers/spi_driver.o \ |
---|
| 63 | build/drivers/rdk_driver.o \ |
---|
| 64 | build/drivers/iob_driver.o \ |
---|
| 65 | build/drivers/mmc_driver.o \ |
---|
| 66 | build/drivers/mwr_driver.o \ |
---|
| 67 | build/drivers/nic_driver.o \ |
---|
| 68 | build/drivers/tim_driver.o \ |
---|
| 69 | build/drivers/tty_driver.o \ |
---|
[380] | 70 | build/drivers/pic_driver.o |
---|
| 71 | |
---|
| 72 | ### Objects to be linked for kernel.elf |
---|
[510] | 73 | KERNEL_OBJS = build/common/utils.o \ |
---|
| 74 | build/common/kernel_locks.o \ |
---|
| 75 | build/common/kernel_barriers.o \ |
---|
| 76 | build/common/tty0.o \ |
---|
| 77 | build/common/vmem.o \ |
---|
| 78 | build/common/kernel_malloc.o \ |
---|
| 79 | build/fat32/fat32.o \ |
---|
| 80 | build/kernel/giet.o \ |
---|
| 81 | build/kernel/switch.o \ |
---|
| 82 | build/kernel/ctx_handler.o \ |
---|
| 83 | build/kernel/exc_handler.o \ |
---|
| 84 | build/kernel/sys_handler.o \ |
---|
| 85 | build/kernel/irq_handler.o \ |
---|
[258] | 86 | build/kernel/kernel_init.o |
---|
[162] | 87 | |
---|
[258] | 88 | ### Objects to be linked for boot.elf |
---|
[510] | 89 | BOOT_OBJS = build/common/utils.o \ |
---|
| 90 | build/common/kernel_locks.o \ |
---|
| 91 | build/common/kernel_barriers.o \ |
---|
| 92 | build/common/tty0.o \ |
---|
| 93 | build/common/pmem.o \ |
---|
| 94 | build/common/vmem.o \ |
---|
| 95 | build/common/kernel_malloc.o \ |
---|
| 96 | build/fat32/fat32.o \ |
---|
| 97 | build/kernel/ctx_handler.o \ |
---|
[535] | 98 | build/kernel/irq_handler.o \ |
---|
[595] | 99 | build/kernel/sys_handler.o \ |
---|
[510] | 100 | build/kernel/switch.o \ |
---|
| 101 | build/boot/boot.o \ |
---|
[366] | 102 | build/boot/boot_entry.o |
---|
[258] | 103 | |
---|
[585] | 104 | ### Objects to be linked for the user library |
---|
| 105 | USER_OBJS = build/libs/malloc.o \ |
---|
| 106 | build/libs/mwmr_channel.o \ |
---|
| 107 | build/libs/stdio.o \ |
---|
| 108 | build/libs/stdlib.o \ |
---|
| 109 | build/libs/string.o \ |
---|
| 110 | build/libs/user_barrier.o \ |
---|
[709] | 111 | build/libs/user_lock.o |
---|
[585] | 112 | |
---|
[583] | 113 | ### Objects to be linked for the math library |
---|
| 114 | MATH_OBJS = build/libs/math/e_pow.o \ |
---|
| 115 | build/libs/math/e_rem_pio2.o \ |
---|
| 116 | build/libs/math/k_cos.o \ |
---|
| 117 | build/libs/math/k_rem_pio2.o \ |
---|
| 118 | build/libs/math/k_sin.o \ |
---|
| 119 | build/libs/math/s_copysign.o \ |
---|
| 120 | build/libs/math/s_fabs.o \ |
---|
| 121 | build/libs/math/s_finite.o \ |
---|
| 122 | build/libs/math/s_floor.o \ |
---|
| 123 | build/libs/math/s_isnan.o \ |
---|
| 124 | build/libs/math/sqrt.o \ |
---|
| 125 | build/libs/math/s_rint.o \ |
---|
| 126 | build/libs/math/s_scalbn.o \ |
---|
| 127 | build/libs/math/s_sin.o \ |
---|
[667] | 128 | build/libs/math/s_cos.o \ |
---|
[595] | 129 | build/libs/math/e_sqrt.o |
---|
[580] | 130 | |
---|
[162] | 131 | |
---|
[435] | 132 | CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 \ |
---|
| 133 | -fno-delete-null-pointer-checks |
---|
[158] | 134 | |
---|
[258] | 135 | GIET_INCLUDE = -Igiet_boot \ |
---|
| 136 | -Igiet_kernel \ |
---|
| 137 | -Igiet_xml \ |
---|
| 138 | -Igiet_fat32 \ |
---|
| 139 | -Igiet_drivers \ |
---|
| 140 | -Igiet_common \ |
---|
| 141 | -Igiet_libs \ |
---|
| 142 | -I. |
---|
[158] | 143 | |
---|
[302] | 144 | DISK_IMAGE := hdd/virt_hdd.dmg |
---|
| 145 | |
---|
[595] | 146 | ### The Mtools used to build the FAT32 disk image perform a few sanity checks, |
---|
[582] | 147 | ### to make sure that the disk is indeed an MS-DOS disk. However, the size |
---|
| 148 | ### of the disk image used by the Giet-VM is not MS-DOS compliant. |
---|
| 149 | ### Setting this variable prevents these checks. |
---|
| 150 | MTOOLS_SKIP_CHECK := 1 |
---|
| 151 | |
---|
[595] | 152 | ################################## |
---|
| 153 | ### first rule executed (make all) |
---|
[599] | 154 | all: dirs \ |
---|
[609] | 155 | install-disk |
---|
[580] | 156 | mdir -/ -b -i $(DISK_IMAGE) ::/ |
---|
[160] | 157 | |
---|
[608] | 158 | ##################################################### |
---|
| 159 | ### create build directories |
---|
[599] | 160 | dirs: |
---|
| 161 | @mkdir -p build/boot |
---|
| 162 | @mkdir -p build/common |
---|
| 163 | @mkdir -p build/drivers |
---|
| 164 | @mkdir -p build/fat32 |
---|
| 165 | @mkdir -p build/kernel |
---|
| 166 | @mkdir -p build/libs/math |
---|
| 167 | @mkdir -p hdd |
---|
| 168 | |
---|
[608] | 169 | ##################################################### |
---|
| 170 | ### make a recursive list of the virtual disk content |
---|
| 171 | list: |
---|
| 172 | mdir -/ -w -i $(DISK_IMAGE) ::/ |
---|
| 173 | |
---|
| 174 | ######################################################## |
---|
| 175 | ### copy the files generated by the virtual prototype on |
---|
| 176 | ### the virtual disk "home" directory to the giet_vm home directory |
---|
| 177 | extract: |
---|
| 178 | mcopy -o -i $(DISK_IMAGE) ::/home . |
---|
| 179 | |
---|
| 180 | ######################################## |
---|
| 181 | ### clean all binary files |
---|
| 182 | clean: |
---|
| 183 | rm -f *.o *.elf *.bin *.txt core |
---|
| 184 | rm -f hard_config.h giet_vsegs.ld map.bin map.xml |
---|
[694] | 185 | rm -rf build/ |
---|
[611] | 186 | cd applications/classif && $(MAKE) clean && cd ../.. |
---|
| 187 | cd applications/convol && $(MAKE) clean && cd ../.. |
---|
| 188 | cd applications/coproc && $(MAKE) clean && cd ../.. |
---|
| 189 | cd applications/display && $(MAKE) clean && cd ../.. |
---|
| 190 | cd applications/dhrystone && $(MAKE) clean && cd ../.. |
---|
| 191 | cd applications/gameoflife && $(MAKE) clean && cd ../.. |
---|
[739] | 192 | cd applications/mjpeg && $(MAKE) clean && cd ../.. |
---|
[611] | 193 | cd applications/ocean && $(MAKE) clean && cd ../.. |
---|
[673] | 194 | cd applications/raycast && $(MAKE) clean && cd ../.. |
---|
[611] | 195 | cd applications/router && $(MAKE) clean && cd ../.. |
---|
| 196 | cd applications/shell && $(MAKE) clean && cd ../.. |
---|
| 197 | cd applications/sort && $(MAKE) clean && cd ../.. |
---|
| 198 | cd applications/transpose && $(MAKE) clean && cd ../.. |
---|
[608] | 199 | |
---|
| 200 | ######################################## |
---|
| 201 | ### delete disk image |
---|
| 202 | clean-disk: |
---|
[694] | 203 | rm -rf hdd/ |
---|
[608] | 204 | |
---|
[609] | 205 | ######################################## |
---|
| 206 | ### Copy content in the disk image |
---|
| 207 | ### create the three build / misc / home directories |
---|
| 208 | ### store the images files into misc |
---|
| 209 | install-disk: $(DISK_IMAGE) build/kernel/kernel.elf $(APPLIS_ELF) |
---|
[611] | 210 | mmd -o -i $< ::/bin || true |
---|
| 211 | mmd -o -i $< ::/bin/kernel || true |
---|
| 212 | mmd -o -i $< ::/bin/classif || true |
---|
| 213 | mmd -o -i $< ::/bin/convol || true |
---|
| 214 | mmd -o -i $< ::/bin/coproc || true |
---|
| 215 | mmd -o -i $< ::/bin/dhrystone || true |
---|
| 216 | mmd -o -i $< ::/bin/display || true |
---|
| 217 | mmd -o -i $< ::/bin/gameoflife || true |
---|
[739] | 218 | mmd -o -i $< ::/bin/mjpeg || true |
---|
[611] | 219 | mmd -o -i $< ::/bin/ocean || true |
---|
[673] | 220 | mmd -o -i $< ::/bin/raycast || true |
---|
[611] | 221 | mmd -o -i $< ::/bin/router || true |
---|
| 222 | mmd -o -i $< ::/bin/shell || true |
---|
| 223 | mmd -o -i $< ::/bin/sort || true |
---|
| 224 | mmd -o -i $< ::/bin/transpose || true |
---|
| 225 | mmd -o -i $< ::/misc || true |
---|
| 226 | mmd -o -i $< ::/home || true |
---|
[609] | 227 | mcopy -o -i $< map.bin ::/ |
---|
[611] | 228 | mcopy -o -i $< build/kernel/kernel.elf ::/bin/kernel |
---|
| 229 | mcopy -o -i $< applications/classif/appli.elf ::/bin/classif || true |
---|
| 230 | mcopy -o -i $< applications/convol/appli.elf ::/bin/convol || true |
---|
| 231 | mcopy -o -i $< applications/coproc/appli.elf ::/bin/coproc || true |
---|
| 232 | mcopy -o -i $< applications/dhrystone/appli.elf ::/bin/dhrystone || true |
---|
| 233 | mcopy -o -i $< applications/display/appli.elf ::/bin/display || true |
---|
| 234 | mcopy -o -i $< applications/gameoflife/appli.elf ::/bin/gameoflife || true |
---|
[739] | 235 | mcopy -o -i $< applications/mjpeg/appli.elf ::/bin/mjpeg || true |
---|
[611] | 236 | mcopy -o -i $< applications/ocean/appli.elf ::/bin/ocean || true |
---|
[673] | 237 | mcopy -o -i $< applications/raycast/appli.elf ::/bin/raycast || true |
---|
[611] | 238 | mcopy -o -i $< applications/router/appli.elf ::/bin/router || true |
---|
| 239 | mcopy -o -i $< applications/shell/appli.elf ::/bin/shell || true |
---|
| 240 | mcopy -o -i $< applications/sort/appli.elf ::/bin/sort || true |
---|
| 241 | mcopy -o -i $< applications/transpose/appli.elf ::/bin/transpose || true |
---|
[609] | 242 | mcopy -o -i $< images/images_128.raw ::/misc |
---|
| 243 | mcopy -o -i $< images/philips_1024.raw ::/misc |
---|
| 244 | mcopy -o -i $< images/lena_256.raw ::/misc |
---|
| 245 | mcopy -o -i $< images/bridge_256.raw ::/misc |
---|
| 246 | mcopy -o -i $< images/couple_512.raw ::/misc |
---|
[675] | 247 | mcopy -o -i $< images/door_32.raw ::/misc |
---|
| 248 | mcopy -o -i $< images/handle_32.raw ::/misc |
---|
| 249 | mcopy -o -i $< images/rock_32.raw ::/misc |
---|
| 250 | mcopy -o -i $< images/wood_32.raw ::/misc |
---|
[739] | 251 | mcopy -o -i $< images/wood_32.raw ::/misc |
---|
| 252 | mcopy -o -i $< images/plan_48.mjpg ::/misc |
---|
| 253 | mcopy -o -i $< images/mandel_128.mjpg ::/misc |
---|
| 254 | mcopy -o -i $< images/video_160_120.mjpg ::/misc |
---|
[609] | 255 | |
---|
[595] | 256 | ######################### |
---|
| 257 | ### Disk image generation |
---|
[582] | 258 | ### This requires the generic LINUX/MacOS script "create_dmg" script |
---|
[258] | 259 | ### written by C.Fuguet. (should be installed in GIET-VM root directory). |
---|
[609] | 260 | $(DISK_IMAGE): build/boot/boot.elf |
---|
| 261 | rm -f $@ |
---|
| 262 | ./create_dmg create $(basename $@) |
---|
| 263 | dd if=$@ of=temp.dmg count=65536 |
---|
| 264 | mv temp.dmg $@ |
---|
| 265 | dd if=build/boot/boot.elf of=$@ seek=2 conv=notrunc |
---|
[295] | 266 | |
---|
[595] | 267 | ######################################################################### |
---|
[326] | 268 | ### mapping generation: map.bin / map.xml / hard_config.h / giet_vsegs.ld |
---|
[701] | 269 | hard_config.h: $(ARCH)/arch.py $(APPLIS_PY) |
---|
[510] | 270 | giet_python/genmap --arch=$(ARCH) \ |
---|
| 271 | --x=$(X_SIZE) \ |
---|
| 272 | --y=$(Y_SIZE) \ |
---|
| 273 | --p=$(NB_PROCS) \ |
---|
| 274 | --tty=$(NB_TTYS) \ |
---|
| 275 | --fbf=$(FBF_WIDTH) \ |
---|
[553] | 276 | --ioc=$(IOC_TYPE) \ |
---|
[739] | 277 | --mwr=$(MWR_TYPE) \ |
---|
[510] | 278 | --giet=. \ |
---|
[595] | 279 | $(GENMAP_APPLIS) \ |
---|
[510] | 280 | --xml=. |
---|
[158] | 281 | |
---|
[583] | 282 | ################################ |
---|
| 283 | ### drivers library compilation |
---|
| 284 | build/drivers/%.o: giet_drivers/%.c \ |
---|
| 285 | giet_drivers/%.h \ |
---|
| 286 | hard_config.h \ |
---|
| 287 | giet_config.h |
---|
[295] | 288 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 289 | |
---|
[380] | 290 | build/drivers/libdrivers.a: $(DRIVERS_OBJS) |
---|
| 291 | $(AR) -rcs $@ $(DRIVERS_OBJS) |
---|
| 292 | |
---|
[374] | 293 | ########################## |
---|
[583] | 294 | ### fat32 compilation |
---|
[258] | 295 | build/fat32/fat32.o: giet_fat32/fat32.c \ |
---|
| 296 | giet_fat32/fat32.h \ |
---|
[326] | 297 | hard_config.h \ |
---|
| 298 | giet_config.h |
---|
[258] | 299 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 300 | |
---|
[583] | 301 | ########################## |
---|
| 302 | ### common compilation |
---|
| 303 | build/common/%.o: giet_common/%.c \ |
---|
| 304 | giet_common/%.h \ |
---|
| 305 | hard_config.h \ |
---|
| 306 | giet_config.h |
---|
[258] | 307 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 308 | |
---|
[374] | 309 | ######################## |
---|
[177] | 310 | ### boot compilation |
---|
[573] | 311 | ### Copy bootloader into sector 2 of disk image |
---|
[326] | 312 | build/boot/boot.elf: $(BOOT_OBJS) \ |
---|
[380] | 313 | giet_boot/boot.ld \ |
---|
[583] | 314 | build/drivers/libdrivers.a |
---|
[582] | 315 | $(LD) -o $@ -T giet_boot/boot.ld $(BOOT_OBJS) -Lbuild/drivers -ldrivers |
---|
[189] | 316 | $(DU) -D $@ > $@.txt |
---|
[158] | 317 | |
---|
[258] | 318 | build/boot/boot.o: giet_boot/boot.c \ |
---|
| 319 | giet_common/utils.h \ |
---|
| 320 | giet_fat32/fat32.h \ |
---|
[289] | 321 | giet_common/vmem.h \ |
---|
[326] | 322 | hard_config.h \ |
---|
[366] | 323 | giet_config.h |
---|
[258] | 324 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
[158] | 325 | |
---|
[366] | 326 | build/boot/boot_entry.o: giet_boot/boot_entry.S \ |
---|
| 327 | hard_config.h |
---|
| 328 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 329 | |
---|
[374] | 330 | ######################### |
---|
[258] | 331 | ### kernel compilation |
---|
[326] | 332 | build/kernel/kernel.elf: $(KERNEL_OBJS) \ |
---|
[380] | 333 | giet_kernel/kernel.ld \ |
---|
| 334 | build/drivers/libdrivers.a |
---|
[582] | 335 | $(LD) -o $@ -T giet_kernel/kernel.ld $(KERNEL_OBJS) -Lbuild/drivers -ldrivers |
---|
| 336 | $(DU) -D $@ > $@.txt |
---|
[158] | 337 | |
---|
[326] | 338 | build/kernel/%.o: giet_kernel/%.c \ |
---|
| 339 | hard_config.h \ |
---|
[582] | 340 | giet_config.h |
---|
[258] | 341 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 342 | |
---|
[326] | 343 | build/kernel/%.o: giet_kernel/%.s \ |
---|
| 344 | hard_config.h \ |
---|
[582] | 345 | giet_config.h |
---|
[258] | 346 | $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< |
---|
| 347 | |
---|
[374] | 348 | ########################### |
---|
[585] | 349 | ### user library compilation |
---|
[595] | 350 | build/libs/%.o: giet_libs/%.c \ |
---|
| 351 | giet_libs/%.h \ |
---|
| 352 | hard_config.h \ |
---|
| 353 | giet_config.h |
---|
| 354 | $(CC) $(CFLAGS) $(GIET_INCLUDE) -c -o $@ $< |
---|
[258] | 355 | |
---|
[585] | 356 | build/libs/libuser.a: $(USER_OBJS) |
---|
| 357 | $(AR) -rcs $@ $^ |
---|
| 358 | |
---|
[583] | 359 | ################################ |
---|
| 360 | ### math library compilation |
---|
| 361 | build/libs/math/%.o: giet_libs/math/%.c \ |
---|
| 362 | giet_libs/math/math_private.h \ |
---|
| 363 | giet_libs/math.h |
---|
[595] | 364 | $(CC) $(CFLAGS) $(GIET_INCLUDE) -c -o $@ $< |
---|
[258] | 365 | |
---|
[583] | 366 | build/libs/libmath.a: $(MATH_OBJS) |
---|
[580] | 367 | $(AR) -rcs $@ $^ |
---|
| 368 | |
---|
[374] | 369 | ######################################## |
---|
[595] | 370 | ### classif application compilation |
---|
[609] | 371 | applications/classif/appli.elf: build/libs/libuser.a |
---|
[595] | 372 | $(MAKE) -C applications/classif |
---|
[189] | 373 | |
---|
[595] | 374 | ######################################## |
---|
| 375 | ### convol application compilation |
---|
[609] | 376 | applications/convol/appli.elf: build/libs/libuser.a |
---|
[595] | 377 | $(MAKE) -C applications/convol |
---|
[189] | 378 | |
---|
[374] | 379 | ######################################## |
---|
[595] | 380 | ### coproc application compilation |
---|
[609] | 381 | applications/coproc/appli.elf: build/libs/libuser.a |
---|
[595] | 382 | $(MAKE) -C applications/coproc |
---|
[189] | 383 | |
---|
[595] | 384 | ######################################## |
---|
| 385 | ### dhrystone application compilation |
---|
[609] | 386 | applications/dhrystone/appli.elf: build/libs/libuser.a |
---|
[595] | 387 | $(MAKE) -C applications/dhrystone |
---|
[189] | 388 | |
---|
[374] | 389 | ######################################## |
---|
[595] | 390 | ### display application compilation |
---|
[609] | 391 | applications/display/appli.elf: build/libs/libuser.a |
---|
[595] | 392 | $(MAKE) -C applications/display |
---|
[189] | 393 | |
---|
[374] | 394 | ######################################## |
---|
[595] | 395 | ### gameoflife application compilation |
---|
[609] | 396 | applications/gameoflife/appli.elf: build/libs/libuser.a |
---|
[595] | 397 | $(MAKE) -C applications/gameoflife |
---|
[251] | 398 | |
---|
[595] | 399 | ######################################## |
---|
[739] | 400 | ### mjpeg application compilation |
---|
| 401 | applications/mjpeg/appli.elf: build/libs/libuser.a |
---|
| 402 | $(MAKE) -C applications/mjpeg |
---|
| 403 | |
---|
| 404 | ######################################## |
---|
[595] | 405 | ### ocean application compilation |
---|
[609] | 406 | applications/ocean/appli.elf: build/libs/libmath.a build/libs/libuser.a |
---|
[598] | 407 | cd applications/ocean && $(MAKE) && cd ../.. |
---|
[251] | 408 | |
---|
[374] | 409 | ######################################## |
---|
[673] | 410 | ### raycast application compilation |
---|
| 411 | applications/raycast/appli.elf: build/libs/libmath.a build/libs/libuser.a |
---|
| 412 | $(MAKE) -C applications/raycast |
---|
| 413 | |
---|
| 414 | ######################################## |
---|
[595] | 415 | ### router application compilation |
---|
[609] | 416 | applications/router/appli.elf: build/libs/libuser.a |
---|
[595] | 417 | $(MAKE) -C applications/router |
---|
[241] | 418 | |
---|
[595] | 419 | ######################################## |
---|
| 420 | ### shell application compilation |
---|
[609] | 421 | applications/shell/appli.elf: build/libs/libuser.a |
---|
[595] | 422 | $(MAKE) -C applications/shell |
---|
[241] | 423 | |
---|
[374] | 424 | ######################################## |
---|
[595] | 425 | ### sort application compilation |
---|
[609] | 426 | applications/sort/appli.elf: build/libs/libuser.a |
---|
[595] | 427 | $(MAKE) -C applications/sort |
---|
[256] | 428 | |
---|
[374] | 429 | ######################################## |
---|
[295] | 430 | ### transpose compilation |
---|
[609] | 431 | applications/transpose/appli.elf: build/libs/libuser.a |
---|
[595] | 432 | $(MAKE) -C applications/transpose |
---|
[295] | 433 | |
---|