forked from M-Labs/nac3
Makefile: optimize
This commit is contained in:
parent
de2d7ecf48
commit
984bb08d27
|
@ -5,13 +5,9 @@ all: ../build/firmware/armv7-none-eabihf/release/szl
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
|
|
||||||
../build/pl.rs: gateware/*
|
../build/pl.rs ../build/rustc-cfg: gateware/*
|
||||||
mkdir -p ../build
|
mkdir -p ../build
|
||||||
python gateware/zc706.py -r ../build/pl.rs -V $(VARIANT)
|
python gateware/zc706.py -r ../build/pl.rs -c ../build/rustc-cfg -V $(VARIANT)
|
||||||
|
|
||||||
../build/rustc-cfg: gateware/*
|
|
||||||
mkdir -p ../build
|
|
||||||
python gateware/zc706.py -c ../build/rustc-cfg -V $(VARIANT)
|
|
||||||
|
|
||||||
../build/firmware/armv7-none-eabihf/release/runtime: ../build/pl.rs ../build/rustc-cfg $(shell find . -path ./szl -prune -o -print)
|
../build/firmware/armv7-none-eabihf/release/runtime: ../build/pl.rs ../build/rustc-cfg $(shell find . -path ./szl -prune -o -print)
|
||||||
XBUILD_SYSROOT_PATH=`pwd`/../build/sysroot cargo xbuild --release -p runtime --target-dir ../build/firmware
|
XBUILD_SYSROOT_PATH=`pwd`/../build/sysroot cargo xbuild --release -p runtime --target-dir ../build/firmware
|
||||||
|
|
Loading…
Reference in New Issue