Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the build system #16

Open
jiixyj opened this issue Mar 2, 2012 · 1 comment
Open

Improving the build system #16

jiixyj opened this issue Mar 2, 2012 · 1 comment

Comments

@jiixyj
Copy link

jiixyj commented Mar 2, 2012

Currently, each time you run 'make' the whole program is recompiled. Is there a particular reason for this behavior?
In my branch I fixed this at least for the Contiki and Shawn make files, see here. Automatic header dependency checking also works, I more or less followed the GNU make manual.

@gitbaum
Copy link
Contributor

gitbaum commented Mar 23, 2012

Thanks for improvement. No, there is no particular reason. Actually, its only "historical reasons"... Since the re-compiling only affects a couple files (usually not more than 5), I just didn't spend the time for the improvement.

I only see a minor problem in your Makefile (should be easily fixed):

  • CXX = avr-g++: for sky (or msb) this must be msp430-g++
  • same for avr-objcopy/avr-size -> msp430-*

But then it would be nice if you'd push your Makefile to Wiselib's master (after at least testing it for target contiki_sky, please; if you don't have msp430-g++ installed, you can do it in the VM)

And thanks again for the improvment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants