From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <20110917163620.0ba31132@kolari.ethans.dre.am> Date: Sat, 17 Sep 2011 14:14:07 -0700 Message-ID: From: Joel Armstrong To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Announcing Inferno for Android phones Topicbox-Message-UUID: 26fd9bce-ead7-11e9-9d60-3106f5b1d025 On Sat, Sep 17, 2011 at 1:26 PM, ron minnich wrote: > joel, on osx, some scripts are not there. I was more concerned about > this than the flash failures because I'm not sure what they do. > > sh: mkbootimg: command not found > > Where did your version of this one come from? It's nowhere on my machine. It comes from the full Android source. I guess it doesn't make sense for it to be in the SDK. The android git server is dead right now, but you can fetch a mirror of this specific sub-project at https://github.com/CyanogenMod/android_system_core/android_system_core. It's in system/core if you already have an Android source tree. The Android build system is a pain in general, but especially if you just want to build a specific executable, so from the cloned system_core tree: cd libmincrypt gcc -I../include/ -o sha.o -c sha.c mv sha.o ../mkbootimg/ gcc -I../include/ -o mkbootimg -c mkbootimg.c gcc -o mkbootimg mkbootimg.o sha.o should do it. Fastboot is in that tree too if you need a mac version.