Skip to content

Commit c63ae44

Browse files
committed
build: fixup ci build sim_dts error.
Signed-off-by: guibing <guibing@nucleisys.com>
1 parent 69a2690 commit c63ae44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ $(platform_preproc_sim_dts): gen-simdts
335335
echo "Platform sim preprocessed dts located in $(platform_preproc_sim_dts), processed with defines $(DTS_DEFINES)"
336336

337337
gen-simdts: $(platform_sim_dts) $(target_gcc)
338-
$(target_gcc) -E -nostdinc -undef -x assembler-with-cpp $(DTS_DEFINES) -DSIMULATION=2 $(platform_sim_dts) -o $(platform_preproc_sim_dts)
338+
$(target_gcc) -E -nostdinc -undef -x assembler-with-cpp $(DTS_DEFINES) -DSIMULATION=2 $(platform_sim_dts) -I$(linux_srcdir)/include/ -o $(platform_preproc_sim_dts)
339339

340340
$(platform_dtb) : $(platform_preproc_dts) $(target_gcc)
341341
dtc -O dtb -o $(platform_dtb) $(platform_preproc_dts)

0 commit comments

Comments
 (0)