I'm making progress. The build command has to be tweaked to use the right set of gcc binaries for OSX:
Code:
make ARCH=arm CROSS_COMPILE=~/android/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- INSTALL_MOD_PATH=~/android/modules zImage modules modules_install
mk_elfconfig.c is failing to compile because it can't find the header elf.h, so I think that an include path is not being set.
However just prior to that sed is failing in scripts/checksyscalls.sh with what appears to be a malformed regular expression: "bad flag in substitute command: '}'.