neo-technologies / rockchip-mkbootimg

Tools to create firmware / boot images for Rockchip devices
72 stars 64 forks source link

Support for the 322a(3229) RK chips #6

Closed niamster closed 8 years ago

julienchauveau commented 8 years ago

Hello, Is there a reason you want to build for 32-bit arch? I get compilation errors with the -m32 flag:

cc -O2 -Wall -Wextra -m32 -o afptool afptool.c -lcrypto -m32
In file included from /usr/include/stdio.h:27:0,
                 from afptool.c:1:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
                         ^
compilation terminated.
Makefile:13: recipe for target 'afptool' failed
make: *** [afptool] Error 1
niamster commented 8 years ago

Ah, I was thinking that's to be able to share binaries with others who doesn't want to compile the sources. Normally this is not needed.

niamster commented 8 years ago

Ouch, github pushes subsequent commits into the PR automatically. I'll create another clean PR w/ only required changes.