TwistedUmbrella/android_hardware_libhardware_legacy — comment on commit b0de48be49f718ff07b02e84f795a14c01958a10
File:  line 0
By superatmel:

The compilation fails to work on the libandroid_runtime.

Try this, clear out and compiles libandroid_runtime alone.

This is what happens
http://pastebin.com/zJtUyRWP

Note: releaseWakeLock function, acquireWakeLock, uevent_next_event, uevent_init exists in the project, this is not the problem.

Now with the change
http://pastebin.com/VhT6HfDU
All correct

I do not intend to change it, you just notice the problem, maybe your computer behaves differently than mine to interpret ifeq.
Regards
Good work