diff --git a/pdk/docs/source/download.jd b/pdk/docs/source/download.jd index d972af6fb..ee0b3cd9d 100644 --- a/pdk/docs/source/download.jd +++ b/pdk/docs/source/download.jd @@ -135,7 +135,7 @@ Mac OS
  • volume format: case sensitive, journaled
  • -
  • This will create a .dmg file which, once mounted, acts as a drive with the required formatting for Android development. For a disk image named "android.dmg" stored in your home directory, you can add the following to your ~/.bash_profile to mount the image when you execute "mountAndroid":

    # command to mount the android file image
    function mountAndroid{ hdiutil attach ~/android.dmg-mountpoint /Volumes/android; }
    +
  • This will create a .dmg file which, once mounted, acts as a drive with the required formatting for Android development. For a disk image named "android.dmg" stored in your home directory, you can add the following to your ~/.bash_profile to mount the image when you execute "mountAndroid":

    # command to mount the android file image
    function mountAndroid { hdiutil attach ~/android.dmg -mountpoint /Volumes/android; }

    Once mounted, you'll do all your work in the "android" volume. You can eject it (unmount it) just like you would with an external drive.
  • @@ -159,14 +159,15 @@ echo $PATH again sudo port selfupdate
    -
  • Get the following packages from port:
    $POSIXLY_CORRECT=1 -sudo port install gmake libsdl git-core gnupg
    If using Mac OS 10.4, also install:
    $POSIXLY_CORRECT=1 +
  • Get the following packages from port:
    $ POSIXLY_CORRECT=1 +sudo port install gmake libsdl git-core gnupg
    If using Mac OS 10.4, also install:
    $ POSIXLY_CORRECT=1 sudo port install bison
  • -
  • Upgrade GNU make to 3.81 or later by running.Mac OS doesn't come with a recent enough version.
    $ sudo ln -s gmake /opt/local/bin/make
  • +
  • Upgrade GNU make to 3.81 or later by running the following command. (Mac OS doesn't come with a recent enough version.)
    $ sudo ln -s gmake /opt/local/bin/make
  • Set an appropriate per-process file descriptor limit. To do this, add the following lines to your .bash_profile -file:
    # set the number of open files to be 1024
    ulimit -S -n 1024
  • +file:
    # set the number of open files to be 1024
    $ ulimit -S -n 1024
    +Note that this may not be necessary; on some systems, the output of "ulimit -S" will show "unlimited". In this case, there is no need to set the limit to 1024. @@ -180,7 +181,7 @@ href="{@docRoot}source/git-repo.html">Using Repo and Git .

    To install, initialize, and configure Repo, follow these steps:

    1. Make sure you have a~/bindirectory in your home directory, and check to be sure that this bin directory is in your path: -
      $ cd~
      $ mkdir bin
      $ echo $PATH
      +
      $ cd ~
      $ mkdir bin
      $ echo $PATH
    2. Download thereposcript and make sure it is executable: @@ -197,7 +198,7 @@ Initializing a Repo client
      $ mkdir mydroid
      $ cd mydroid
    3. -
    4. Runrepo initto bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest: +
    5. Run "repo init" to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
      $ repo init -u git://android.git.kernel.org/platform/manifest.git