atabac / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Makefile defaults to pmfeatures.py from desktop #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The PIC24 Makefile relies on vm/Makefile to create pmstdlib_{nat, img}.c. By 
default, vm/Makefile uses pmfeatures.py takes from the desktop platform. The 
PIC24 Makefile does not override this; it should use pic24/pmfeatures.py.

Original issue reported on code.google.com by bjones460@gmail.com on 4 Oct 2010 at 8:26

GoogleCodeExporter commented 9 years ago
r628:
- Makefile updated with PLATFORM=pic24 to use pic24/pmfeatures.py

However, I suspect that several other platforms may contain the same bug.

Original comment by bjones460@gmail.com on 4 Oct 2010 at 8:31

GoogleCodeExporter commented 9 years ago
r629:
VM Makefile doesn't always rebuild pmfeatures.h or pmstdlib_{nat, img}.c if 
pmfeatures.py changes.
- Dependencies changed in vm/Makefile; similar fixes applied to pic24/Makefile

Original comment by bjones460@gmail.com on 4 Oct 2010 at 9:39

GoogleCodeExporter commented 9 years ago
r633
- Applied same changes as r628, r629 to branch for release 09

Original comment by dwhall...@gmail.com on 5 Oct 2010 at 5:49

GoogleCodeExporter commented 9 years ago
r637
- Made PLATFORM ?= desktop in src/vm/Makefile  (added '?' so it doesn't 
overwrite value)
- Added line in mosync/Makefile to clean the VM (which removes pmstdlib*)
- All other platforms clean the VM when "make clean" is called, except stm32 
and windows which use scons to build.

Original comment by dwhall...@gmail.com on 7 Oct 2010 at 9:13