Skip to content

Commit ab59f41

Browse files
committed
Change device tree related file name
Change scripts/dtsi-gen.py to script/dtsi-gen.py. Change generated device tree file name from minimal.dtsi to riscv-harts.dtsi Change include file in minimal.dts from minimal.dtsi to riscv-harts.dtsi
1 parent 5ce14a8 commit ab59f41

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ E :=
7070
S := $E $E
7171

7272
SMP ?= 1
73-
.PHONY: minimal.dtsi
74-
minimal.dtsi:
75-
$(Q)python3 scripts/dtsi-gen.py $@ $(SMP)
73+
.PHONY: riscv-harts.dtsi
74+
riscv-harts.dtsi:
75+
$(Q)python3 scripts/gen-hart-dts.py $@ $(SMP)
7676

77-
minimal.dtb: minimal.dts minimal.dtsi
77+
minimal.dtb: minimal.dts riscv-harts.dtsi
7878
$(VECHO) " DTC\t$@\n"
7979
$(Q)$(CC) -nostdinc -E -P -x assembler-with-cpp -undef \
8080
$(subst ^,$S,$(filter -D^SEMU_FEATURE_%, $(subst -D$(S)SEMU_FEATURE,-D^SEMU_FEATURE,$(CFLAGS)))) $< \

minimal.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/dts-v1/;
22

3-
#include "minimal.dtsi"
3+
#include "riscv-harts.dtsi"
44

55
/ {
66
#address-cells = <1>;
File renamed without changes.

0 commit comments

Comments
 (0)