Skip to content

Commit f803fa8

Browse files
MingcongBaiFearyncess
authored andcommitted
AOSCOS: Revert "FROMLIST: rust: generate a fatal error if BINDGEN_TARGET is undefined"
This reverts "FROMLIST: rust: generate a fatal error if BINDGEN_TARGET is undefined" as it breaks build on architectures that do not HAVE_RUST. Link: https://lore.kernel.org/all/6bd26802-e3ce-43e2-b28d-f23e13492458@aosc.io/ Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
1 parent 37e0ffd commit f803fa8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scripts/Makefile.rust

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,4 @@ BINDGEN_TARGET_riscv := riscv64-linux-gnu
77
BINDGEN_TARGET_um := $(BINDGEN_TARGET_$(SUBARCH))
88
BINDGEN_TARGET := $(BINDGEN_TARGET_$(SRCARCH))
99

10-
ifeq ($(BINDGEN_TARGET),)
11-
$(error add '--target=' option to scripts/Makefile.rust)
12-
else
1310
export BINDGEN_TARGET
14-
endif

0 commit comments

Comments
 (0)