meta: add build system and stub tool source code
This commit is contained in:
40
ropam/commands.h
Normal file
40
ropam/commands.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#ifndef COMMANDS_H_
|
||||
#define COMMANDS_H_
|
||||
|
||||
enum {
|
||||
CMD_ROOT,
|
||||
CMD_SYNC,
|
||||
CMD_REMOVE,
|
||||
CMD_QUERY,
|
||||
|
||||
CMD_VENDOR,
|
||||
CMD_VENDOR_ADD,
|
||||
CMD_VENDOR_REMOVE,
|
||||
CMD_VENDOR_LIST,
|
||||
};
|
||||
|
||||
enum {
|
||||
OPT_SYSROOT = 0x1000,
|
||||
OPT_SYSROOT_PATH,
|
||||
};
|
||||
|
||||
#define SYSROOT_OPTION \
|
||||
B_COMMAND_OPTION(OPT_SYSROOT) \
|
||||
{ \
|
||||
B_OPTION_SHORT_NAME('s'); \
|
||||
B_OPTION_LONG_NAME("sysroot"); \
|
||||
B_OPTION_DESC( \
|
||||
"the system directory to use. if no " \
|
||||
"sysroot is specified, the root directory is used. " \
|
||||
"alternatively, the ROSETTA_SYSROOT environment " \
|
||||
"variable can be used to specify the system root " \
|
||||
"directory"); \
|
||||
\
|
||||
B_OPTION_ARG(OPT_SYSROOT_PATH) \
|
||||
{ \
|
||||
B_ARG_NAME("path"); \
|
||||
B_ARG_NR_VALUES(1); \
|
||||
} \
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user