aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-14Setup the package environment during load_rules()Mark Ferrell
* We have pulled the environment setup from build-query and moved it into load_rules(). This means that build-query acts to query information about a package and is reserved more as a cmdline helper for external tools. Tools that need package variables should use load_rules instead of 'build-query --environ'.
2014-04-14Fix querying the source_uriMark Ferrell
2014-04-14'build source' does not depend on prepMark Ferrell
* The source target doesn't depend on anything but the sources themselves.
2014-04-14Fixup name-space collisions for cleanup handlersMark Ferrell
2014-04-14Make various sub-commands proper builder librariesMark Ferrell
* Have fixed up various sub-commands so that they can now be used via import() as well as executed as a command.
2014-04-14Add a simple_usage() routineMark Ferrell
* Added a simple_usage() routine to builders defaults to help sub-commands that do not have options (outside of --help).
2014-04-14Do not consume the command exit statusMark Ferrell
* Using <cmd> && date causes 'make' to miss the exit status from <cmd>. Further more, this condition is already implied by the Makefile by simply putting date on a new line below <cmd>.
2014-04-09Remove 'make-' prefixes from make subcmdsMark Ferrell
* Generally all of the make-* prefixed commands are expected to be called from the cmdline w/out the make- prefix. Calling them w/ the make-* prefix is reserved for build-make.
2014-04-09Add a 'test' subcmd for performing package testsMark Ferrell
* A given packages ability to run its "test" depends on all packages in the BDEPENDS having successfully passed their tests. In the future it may be useful to allow a package to set a TDEPENDS which defaults to BDEPENDS.
2014-04-09Do not process non-existant directories from the PATHMark Ferrell
2014-04-09Make the prep and compile subcommands callable from the CLIMark Ferrell
2014-04-09Capture exit status from build_fetch.Mark Ferrell
2014-04-09Add build-urlMark Ferrell
* Removed URL parsing out of build-make-fetch and into its own command.
2014-04-09Leave junk around when run in debug modeMark Ferrell
* To aid in debugging we no longer delete stuff like the intermidiate makefiles produced by Builder when invoked w/ 'build -d'
2014-04-08sysroot needed by makedeps and other make targetsMark Ferrell
* We previously removed the SYSROOT declaration believing it to be a candidate for the coming build-config command. It turns out that this not the case. While SYSROOT can be set as a build-config directive, it is not optional for builder to function.
2014-04-08Support 'build help --all'Mark Ferrell
* Added the ability to list all of the available commands. The code is still rough, but it works. It can be cleaned up and enhanced later.
2014-04-08Better handling of '*/all' and 'all'Mark Ferrell
2014-04-08Better handling of BUILD_DEBUGMark Ferrell
2014-04-08Handle various fetch methods as sub-cmds to fetchMark Ferrell
2014-04-08Cleanup help/usage information for some commandsMark Ferrell
2014-04-08Add 'import()' functionalityMark Ferrell
* Added support for a sub-cmd to "import" the contents of another command. This requires special rewrites to the sub-commands to be viable.
2014-04-08Properly support arguments to sub commandsMark Ferrell
* We needed some way to detect when a sub-command was being called by the make engine vs by a user so we could properly handle the 'help' command. This involved a lot of decoupling of the make handling out of the top-level 'build' tool and placing it into a newly created 'build-make'. * While we where at it we cleaned up the handling of various targets in makedeps so that 'all/all' is now a valid target, and subsequently, the default target.
2014-04-08Some basic cleanupsMark Ferrell
* Cleaning up comments and variable uses in preparation for enabling build-config
2014-04-08Remove stray 'echo'Mark Ferrell
* Not really certain where it came from, and not really carrying .. it simply doesn't belong.
2014-04-08Remove --target option to buildMark Ferrell
* The reason for this option has been effectively lost to time, and is effectively no longer necessary. The original reason it existed will be replaced with a --config option in the future.
2014-04-08Properly setup DEBUG variablesMark Ferrell
2014-04-08Stop wrapping dumpmachineMark Ferrell
* Moved the test for gcc into dumpmachine directly, sort of curious that dumpmachine doesn't take this sort of short-cut to begin with..
2014-03-18Reorg build builtinsMark Ferrell
* Added a few new builtins to help performance in some minor use cases. * Move generic builtin routines to top of build script
2014-03-18Detect bad package treesMark Ferrell
2014-03-07Add a note abotu moving options to build-configMark Ferrell
* We have a few options in build-query which have nothing to do with package data and instead have everything to do with configuration data. We really need a 'build-config' command for looking up this information, and potentially overriding defaults.
2014-03-05Rename builder/ to libexecMark Ferrell
* New name better reflects the contents of this path.
2014-03-05Remove redundant call to 'set -e'Mark Ferrell
* The top-level 'build' handler always performs 'set -e', setting it in sub-commands is redudant.
2014-03-05Rename the import() routine to load_rules()Mark Ferrell
* There are plans for a new routined named import() which has nothing to do with loading of packages, or package rules. * The new name better describes the process which is going on.
2014-03-04Add usage information build-fetchMark Ferrell
2014-03-04Add usage information to build-queryMark Ferrell
2014-03-03Cleanup 'build help' callingMark Ferrell
2014-02-28Rework the help systemMark Ferrell
* Added a build-help sub-command. Trying to improve the quality of the help environment so that each command can properly supply its own documentation.
2014-02-28Documentation reorganizationMark Ferrell
2014-02-28Add GPLv2 License file.Mark Ferrell
2014-02-25Do not attempt to detect the # of CPU'sMark Ferrell
* Detecting the number of CPU's is fairly OS specific, which is a bad road to travel. More importantly though, MAKE_OPTS can simply be set in the environ by the user for a given system, so automatically setting it gains little outside of adding unecessary buzzword-compliance.
2014-02-20Improve export filteringMark Ferrell
* We remove more "dev" items from the exported rpm by default now. In the long run we should be dividing this data into dev rpm's and dbg rpm's.
2014-02-20Allow packages to call default prep/compileMark Ferrell
* renamed pkg_prep() and pkg_compile() to build_prep() and build_compile(). The new pkg_*() routines simply call these builtins. This allows packages to utilize the defaults w/out reinventing them.
2014-02-05Cleanup toolchain environMark Ferrell
* Added various /other/ tools to the --toolchain query which can be prefixed w/ out CHOST. * Removed the manual construction of the toolchain environ in the generic pkg_compile(). This is a hold-over from before we had the --toolchain query.
2014-01-31Feature: ability to export binary packages as RPM'sMark Ferrell
* While LICENSE is usually an optional package variable, it is required when exporting packages to an RPM. * In the future it may be worth-while to support exporting to other package formats.
2014-01-31Compress man pages during packagingMark Ferrell
2014-01-31Add support for package License informationMark Ferrell
2014-01-31Enable support for "Release" versionsMark Ferrell
* In bringing builder versions in-line with other vendor tools (ebuild, rpm, dpkg, etc) I am adding "optional" Release support. * In order to "hopefully" integrate with existing Builder tree's the RELEASE variable is allowed to be unset. If unset builder will attempt to derrive a release from the VERSION variable. If no RELEASE can be found, then the RELEASE defaults to 0.
2014-01-31Stop run/build dependancy resolution when we have an empty listMark Ferrell
2014-01-31Fix run vs build dependanciesMark Ferrell
* Fixed up 'build package' so that it functions again (missing Makefile target) * The generated Makefile dependancies where previously only based on BDEPENDS. This changes results in 'build package' obeying BDEPENDS, while 'build install' obeys RDEPENDS.
2014-01-28Added new dependancy options to build-queryMark Ferrell
* Changed --depends to --rdepends * Changed --build-deps to --bdepends * Added recursive (transitive closure?) dependancy resolution of packages, these are queriable via --rdeps-all and --bdeps-all