aboutsummaryrefslogtreecommitdiff
path: root/toys/other/switch_root.c
AgeCommit message (Collapse)Author
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
2012-09-08Add switch_root and fix infrastructure to understand name "switch_root".Rob Landley