Giter Site home page Giter Site logo

Comments (5)

jlebar avatar jlebar commented on June 23, 2024

A nop |make kernel| takes 10s on my machine (it builds all kinds of stuff).

Our |make flash| build wastes a lot more time than this, but that's not an excuse to add on more wasted time.

from b2g.

joneschrisg avatar joneschrisg commented on June 23, 2024

That's not a valid argument for having a totally broken |make flash|. There are other ways to micromanage rebuild times (or if the right one doesn't exist yet, add it).

from b2g.

jlebar avatar jlebar commented on June 23, 2024

Is |make flash| totally broken? I don't understand.

At issue here is what "make" should mean, it seems. I think "make" should mean "do the most common set of things I need to do to push to the device." It seems that you think "make" should mean "do everything I could possibly need to push to the device." Is that fair?

I think that the latter is covered by our INSTALL file. But if we redefine "make" without considering how long it takes, people will develop a complex set of hacks to work around the slowness. I'd rather eat the cost of a complex set of hacks occasionally, when I need to re-flash the kernel, rather than every time I build.

from b2g.

joneschrisg avatar joneschrisg commented on June 23, 2024

|make flash| leaves you with a useless device.

|make| should absolutely default to a build of the complete b2g image. That's been the convention in every other project I've used make for. That's what m-c make does, e.g.

In general, if you're reflashing a lot, you're probably doing it wrong. Unless you're hacking around in gonk internals, |make install-gecko| should usually be what you need. What is the set of things you usually need?

from b2g.

jlebar avatar jlebar commented on June 23, 2024

|make flash| leaves you with a useless device.

...if you don't follow the instructions in INSTALL, which seems perfectly reasonable to me. Not to be pedantic, but |make| in the m-c srcdir doesn't work. You have to add a .mozconfig and run |make -f client.mk|. IOW, you have to rtfm.

make install-gecko is new? If that works, I'm very happy, and we can make |make| check out the media visualization repo for all I care. :)

from b2g.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.