> On Feb 25, 2016, at 10:25 AM, Sterling Hughes <[email protected]> wrote: > >> Our targets don’t contain info about whether image header is required or >> not. So it is up to the user to know >> whether they execute ‘newt target build’ only or ‘newt target label’. >> > > So build creates the ELF file, and label creates the image that the > bootloader can... boot. Is that correct? > > I assume these are broken into 2 steps, because you don't want to re-build > the target when you build the image.
It does call build to make sure you’re working on the latest .bin. Assuming the dependencies work, no actual work takes place there. > I think label is a little confusing, I get it: you are labeling the binary, > but I think we should name it more explicitly: what about create-image? I wasn’t happy with ‘label' either. Left it as is in search of a better one. ‘create-image’ sounds better.
