cmnrd / yalla

Yet Another Lovely Lib for AVR
MIT License
12 stars 1 forks source link

premake fix to use pkg-config to find simavr location #15

Closed stfngrt closed 9 years ago

stfngrt commented 9 years ago

Use pkg-config to automatically find simavr include files

stfngrt commented 9 years ago

this does not work and should not be merged

cmnrd commented 9 years ago

I checked it. It is not working because on my system pkg-config adds the path /usr/include/simavr where the static path before was set to /usr/include/simavr/avr. It is not a problem with premake or pkg-config but a problem with our includes. We have to inlcude avr/avr_mcu_section.h instead of avr_mcu_section.h

stfngrt commented 9 years ago

Ok this seems to solve the problem. I will change the required files.

stfngrt commented 9 years ago

This should be merged into staging.

cmnrd commented 9 years ago

Thanks! Merged into master