mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-29 05:03:34 +08:00
firmware: libksupport → ksupport.
The idea is that support libraries are called lib*, and the final products that linked into an executable are not.
This commit is contained in:
parent
7a14cf503b
commit
bc22d1c009
@ -1,2 +1,2 @@
|
||||
[workspace]
|
||||
members = ["runtime", "libksupport", "satman"]
|
||||
members = ["runtime", "ksupport", "satman"]
|
||||
|
@ -48,12 +48,12 @@ runtime.elf: $(RUSTOUT)/libruntime.a flash_storage.o ksupport_data.o
|
||||
@chmod -x $@
|
||||
|
||||
.PHONY: $(RUSTOUT_KSUPPORT)/libksupport.a
|
||||
$(RUSTOUT_KSUPPORT)/libksupport.a:
|
||||
$(RUSTOUT_KSUPPORT)/ksupport.a:
|
||||
$(CARGO) \
|
||||
RUSTFLAGS="-C target-feature=+mul,+div,+ffl1,+cmov,+addc -C opt-level=s -Cpanic=unwind" \
|
||||
CARGO_TARGET_DIR=$(realpath .)/cargo-ksupport \
|
||||
cargo build --target=or1k-unknown-none \
|
||||
--manifest-path $(realpath $(RUNTIME_DIRECTORY)/../firmware/libksupport/Cargo.toml)
|
||||
--manifest-path $(realpath $(RUNTIME_DIRECTORY)/../firmware/ksupport/Cargo.toml)
|
||||
|
||||
ksupport.elf: $(RUSTOUT_KSUPPORT)/libksupport.a ksupport_glue.o artiq_personality.o
|
||||
$(LD) $(LDFLAGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user