On Fri, Aug 5, 2011 at 3:27 PM, rickrvo <[email protected]> wrote:

> I can't get m nor mm commands to work. both say to try setting top...
>
> help please :\
>
>
How did you run "envsetup.sh"? It is a script which will set your build
environment for AOSP.

You should use it like this -->

$ source $(AOSP_ROOT)/build/envsetup.sh
              where AOSP_ROOT is the AOSP root directory.

This will export "m" and "mm" commands.

Regards,
Amit Pundir


> On 4 Ago, 15:53, rickrvo <[email protected]> wrote:
> > I've read the instructions... and ran the envsetup.sh but didn't
> > realize that it must be ran on the openssl folder and not on
> > working_directory folder...
> >
> > after running from openssl folder: m -j16 clean-libcrypto clean-libssl
> > clean-openssl clean-ssltest
> > Couldn't locate the top of the tree.  Try setting TOP.
> >
> > What is TOP? How do I set it? :\
> >
> > It's hard just to build a openssl version for android... I don't get
> > why every project has only the source available for people to compile
> > themselves... and not a lib.so for a direct download... then what
> > happens is that noobs like me fill forums with questions... lol and
> > some may seem stupid... but for me with almost no experience in linux
> > is a pain in the a** lol
> >
> > On 4 Ago, 15:21, Nikolay Elenkov <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > On Thu, Aug 4, 2011 at 11:13 PM, rickrvo <[email protected]> wrote:
> > > > I've managed to build the ASOP and ran envsetup.sh but still can't
> > > > find m and mm commands... :\
> >
> > > Did you read the instructions? Or the shell script?
> >
> > > Invoke ". build/envsetup.sh" from your shell to add the following
> > > functions to  your environment:
> > > - croot:   Changes directory to the top of the tree.
> > > - m:       Makes from the top of the tree.
> > > - mm:      Builds all of the modules in the current directory.
> > > - mmm:     Builds all of the modules in the supplied directories.
> > > - cgrep:   Greps on all local C/C++ files.
> > > - jgrep:   Greps on all local Java files.
> > > - resgrep: Greps on all local res/*.xml files.
> > > - godir:   Go to the directory containing a file.
> > > - cmremote: Add git remote for CM Gerrit Review
> > > - cmgerrit: Send patch request request to CyanogenMod repos
> > > - mka:     Builds using SCHED_BATCH on all processors
> > > - reposync: Parallel repo sync using ionice and SCHED_BATCH
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to