aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-18Alter prep message to include source pathMark Ferrell
2012-05-18Remove deprecated tools, update build-packageMark Ferrell
2012-05-18Add notification about using checked out sourceMark Ferrell
2012-05-11Fix target detection when in deep directoriesMark Ferrell
2012-05-11Fixup handling of cmdline category/packageMark Ferrell
* The cmdline behavior has been slightly tweaked to facilitate changing behavior based on the current working directory. - If NOT in a subdirectory of packages and no package name is supplied and the action is not clean or distclean, then assume the target is <project>/all. - If NOT in a a subdirectory of packages and the action is clean or distclean, then assume we are cleaning/distcleaning everything regardless. - If in a category directory and no target is specified, assume a target of <category>/all for all actions. - If in a package and no target is specified, assume <category>/<package> for all actions.
2012-05-07Add support for a 'source' commandMark Ferrell
* The source command is useful for developers allowing them to checkout package sources into 'packages/<CATEGORY>/<NAME>/source. This is particularly useful for developing on sources maintained within an SCM.
2012-05-02BUGFIX: include symlinks in binpkg databaseMark Ferrell
2012-05-02Started some documentation cleanups.Mark Ferrell
* Really the current README and scripts need to be pushed into .builder/ so they stop polluting the core of the tree. * A lot of the README is more about design philosiphy of the build-engine and not suitable for a README file.
2012-05-02Create the package tmpdir within mkenvMark Ferrell
2012-05-01Refresh the environ before compileMark Ferrell
2012-05-01Support pkg_prep()Mark Ferrell
* Finally support defining pkg_prep() in the Buildrules and calling it from build-package. This has the potential to cleanup some convoluted build scripts.
2012-05-01Remove previous versions of a packageMark Ferrell
* Do not simply overwrite the package as that can leave old artifacts laying around the sysroot. Instead we now destroy the old package via the package catalog before installing the binary archive.
2012-05-01Fixup mkenvMark Ferrell
* Itterate the directories using a for loop * Do not create an 'S' directory as most archives extract to that directory name.
2012-04-29matched GIT URL pattern matches ssh, not a git URLMark Ferrell
2012-04-29Fix syntax error in previous commitMark Ferrell
2012-04-29Try to detect ssh git URL's vs git URL'sMark Ferrell
2012-04-28Add a --topdir queryMark Ferrell
2012-04-28Ignore sysroot and checked out package sourcesMark Ferrell
2012-04-28Make artifacts_clean depend on packages_cleanMark Ferrell
2012-04-28Make sysroot_clean depends on packages cleanMark Ferrell
* Allow packages to clean themselves before purging sysroot/
2012-04-28Do not require a SOURCE_URI in packagesMark Ferrell
* This allows the idea of "empty" virtual packages and glue packages which combine the artifacts of other packages.
2012-04-28Add package install targetMark Ferrell
2012-04-27Cleanup the calling of build-queryMark Ferrell
2012-04-26Wrapping clean w/ distclean not as expectedMark Ferrell
* Attempting to call build-clean from build-distclean has some undesirable results. It may be possible to do this in the future by supplying a --distclean option to build-clean, but for now that isn't possible.
2012-04-26Quiet down build-clean for irrelivant errorsMark Ferrell
2012-04-26Fix test condition for package markerMark Ferrell
2012-04-26More clean/distclean fixupsMark Ferrell
2012-04-26Call the package cleanupMark Ferrell
* We already called the package cleanup which already cleaned out the workdir, there was no reason to clobber the tmpdir as well. More importantly, there is the very real possibility that our TMPDIR is not within the build-tree, it may be in /tmp, and clobbering /tmp/* would be bad.
2012-04-26Remove the binpkg file during cleaningMark Ferrell
2012-04-25Fix cleaner logMark Ferrell
* Only report that the package is being cleaned IF it is actually being cleaned.
2012-04-25Do not remove directories...Mark Ferrell
* We should only be recording files and removing files. Purging empty-directories can be done as a second pass.
2012-04-25Remove directories as wellMark Ferrell
2012-04-25Export NOCLEAN in the environMark Ferrell
2012-04-25Add BDEPENDS back to the makedepsMark Ferrell
2012-04-25Fixup references to the binpkgs databaseMark Ferrell
2012-04-25Can not portability trap ERRMark Ferrell
* While trapping ERR works on bash, it does not work within ash. Made some minor fixups to remove trapping ERR * Bugfix .. source the environment in before attempting to use package specific variables.
2012-04-25Merge prep/compile/archive into package commandMark Ferrell
2012-04-25Probe for cross commands before adveritising themMark Ferrell
* While most systems will support CHOST prefixed cc/c++ commands, many of them do not support prefixing commands like 'ar', so test for the commands before exporting them.
2012-04-25Dumpmachine from gcc if available.Mark Ferrell
2012-04-24Cleanup core configuration directivesMark Ferrell
* Reworked the core configuration system so that per category/package rules can inherit arbitrary data from the project config (necessary for implementing toolchain rules). * Copied the GNU config.guess script into the system as build-dumpmachine to facilitate detecting the CBUILD. * Removed arbitrary variables previously used for CHOST construction. It is simpler to set the CHOST and ARCH as opposed to setting ARCH, VENDOR, LIBC, PLATFORM, etc... * Cleaned up some variables names
2012-04-24Fix usage of xargs during clean/distcleanMark Ferrell
* The binpkg index file is a 0 delimited file. Mut call xargs with -0 for it to parse the stream correctly.
2012-04-24Rename BUILD_COMMAND variable to BUILDER_COMMANDMark Ferrell
* Simply bring the variable inline with variable naming convention.
2012-04-24Fix binpkg file timestampMark Ferrell
* A packages binpkg file has a timestamp that is older than the containing tarball. After extracging a packages binpkg tarball we need to touch the /var/db/binpkg marker so that Make is happy.
2012-04-23Added mkenv to reduce duplicated lines of codeMark Ferrell
2012-04-23export CBUILD if it is set.Mark Ferrell
* BUG we should be setting CBUILD if it is unset, though I suppose that may come at a later time still.
2012-04-23Remove the correct pathMark Ferrell
2012-04-23Clean individual packages from sysrootMark Ferrell
2012-04-23Do not force a libc api onto the CHOSTMark Ferrell
* Not all platforms attach a libc API to the CHOST name. If a LIBC API was specified then use it, else ignore it.
2012-04-23Remove hard-coded toolchain rulesMark Ferrell
* Have cleaned up a number of the hardcoded behavior rules surrounding the toolchain. Instead of having specialized toolchain rules, a package or category of packages can simply be flagged as NOCLEAN, such that the 'build clean' command will skip over them. * Migrate the 'installed' marker out of the temp path and into the SYSROOT. This allows 'build clean' to clobber TMP w/out effecting stateful data. * Reintroduced the distclean command which ignores NOCLEAN.
2012-04-22Fetch fixups for handling git urlsMark Ferrell