Commits

step...@gmail.com  committed 9a5fb7b

pull request to avoid crash compile on ipm build

  • Participants
  • Parent commits 2e3c9b5

Comments (0)

Files changed (2)

 	$(MAKE) -C src/platform/$(PLATFORM)
 
 ipm :
+	$(MAKE) -C src/platform/$(PLATFORM) cleanvmpath
 	$(MAKE) -C src/platform/$(PLATFORM)
 	cd src/tools && ./ipm.py -f ../platform/$(PLATFORM)/pmfeatures.py -d
 

File src/platform/desktop/Makefile

 $(TARGET)_nat.c $(TARGET)_img.c: $(PM_USR_SOURCES) pmfeatures.py
 	$(PMIMGCREATOR) -f pmfeatures.py -c -u -o $(TARGET)_img.c --native-file=$(TARGET)_nat.c $(PM_USR_SOURCES)
 
+cleanvmpath :
+	$(RM) ../../vm/*.a
+	$(RM) ../../vm/*.o
+	$(RM) ../../vm/*.d
+
 clean :
 	$(MAKE) -C ../../vm clean
 	$(RM) $(TARGET).out $(OBJS) $(TARGET)_img.* $(TARGET)_nat.* pmfeatures.h