freedom-u-sdk icon indicating copy to clipboard operation
freedom-u-sdk copied to clipboard

Makefile:123: *** multiple target patterns. Stop.

Open tromedo opened this issue 5 years ago • 3 comments

Hey Guys,

I just executed "make sim" to run linux in spike and I got the error: Makefile:123: *** multiple target patterns. Stop.

How do I fix this? Sorry noob here.

tromedo avatar Jul 21 '19 12:07 tromedo

make sim isn't supported at the moment. spike lacks the driver support necessary to run u-boot. make qemu still works. If you really need make sim, then check out the legacy v1_0 branch, though this will give you old versions of everything.

I don't know how you got the multiple target patterns error though. 123 is a line number in the makefile. Did you accidentally modify it perhaps?

jim-wilson avatar Jul 21 '19 15:07 jim-wilson

make sim isn't supported at the moment. spike lacks the driver support necessary to run u-boot. make qemu still works. If you really need make sim, then check out the legacy v1_0 branch, though this will give you old versions of everything.

I don't know how you got the multiple target patterns error though. 123 is a line number in the makefile. Did you accidentally modify it perhaps?

Yeah, I am using version 1_0 branch only.

I didn't change the makefile. But I disabled virtual console in Linux folder using make menuconfig. Because Linux boot stopped at "Bootconsole[early0] disabled". Even though the line "CONFIG_HVC_RISCV_SBI=y" is there.

tromedo avatar Jul 21 '19 20:07 tromedo

It works for me on Ubuntu 16.04. I don't need any change other than turning on CONFIG_HVC_RISCV_SBI.

jim-wilson avatar Jul 23 '19 20:07 jim-wilson

This issue is no longer relevant.

tprrt avatar Nov 15 '22 11:11 tprrt