build/sim/core/Makefile: add -p to mkdir modules.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 14 Apr 2020 10:38:02 +0000 (12:38 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 14 Apr 2020 10:38:02 +0000 (12:38 +0200)
litex/build/sim/core/Makefile

index 047423cac35ba666cd1987d5a4f61a7c5d7bbae0..225ff0f21430891972ae9eb82ce3a5fcc1812b2f 100644 (file)
@@ -52,7 +52,7 @@ sim: $(OBJS_SIM) | mkdir
 
 .PHONY: modules
 modules:
-       mkdir modules
+       mkdir -p modules
        $(MAKE) -C modules -f $(MOD_DIR)/Makefile
 
 .PHONY: clean