diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 09:11:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 10:18:30 +0100 |
commit | a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97 (patch) | |
tree | 7a9076c1a20df00baeadca9a07d4c1f5cd0611e2 /include/command.h | |
parent | caa5cec7b1c93d660aa89d24eb160ab18e4eb628 (diff) | |
download | barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.gz barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.xz |
rename U-Boot-v2 project to barebox
This has been done with the following script:
find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
-e 's/u2boot/barebox/g' \
-e 's/U2Boot/barebox/g' \
-e 's/U-boot V2/barebox/g' \
-e 's/u-boot v2/barebox/g' \
-e 's/U-Boot V2/barebox/g' \
-e 's/U-Boot-v2/barebox/g' \
-e 's/U_BOOT/BAREBOX/g' \
-e 's/UBOOT/BAREBOX/g' \
-e 's/uboot/barebox/g' \
-e 's/u-boot/barebox/g' \
-e 's/u_boot/barebox/g' \
-e 's/U-Boot/barebox/g' \
-e 's/U-boot/barebox/g' \
-e 's/U-BOOT/barebox/g'
find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
xargs -0 -r rename 's/u[-_]?boot/barebox/'
It needs some manual fixup following in the next patch
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/command.h b/include/command.h index a769d547d4..f103045fd4 100644 --- a/include/command.h +++ b/include/command.h @@ -64,14 +64,14 @@ __attribute__((aligned(64))) typedef struct cmd_tbl_s cmd_tbl_t; -extern cmd_tbl_t __u_boot_cmd_start; -extern cmd_tbl_t __u_boot_cmd_end; +extern cmd_tbl_t __barebox_cmd_start; +extern cmd_tbl_t __barebox_cmd_end; /* common/command.c */ cmd_tbl_t *find_cmd(const char *cmd); int execute_command(int argc, char **argv); -void u_boot_cmd_usage(cmd_tbl_t *cmdtp); +void barebox_cmd_usage(cmd_tbl_t *cmdtp); #define COMMAND_SUCCESS 0 #define COMMAND_ERROR 1 @@ -88,20 +88,20 @@ void u_boot_cmd_usage(cmd_tbl_t *cmdtp); #define __stringify(x) __stringify_1(x) -#define Struct_Section __attribute__ ((unused,section (".u_boot_cmd"))) +#define Struct_Section __attribute__ ((unused,section (".barebox_cmd"))) -#define U_BOOT_CMD_START(_name) \ -const cmd_tbl_t __u_boot_cmd_##_name \ - __attribute__ ((unused,section (".u_boot_cmd_" __stringify(_name)))) = { \ +#define BAREBOX_CMD_START(_name) \ +const cmd_tbl_t __barebox_cmd_##_name \ + __attribute__ ((unused,section (".barebox_cmd_" __stringify(_name)))) = { \ .name = #_name, -#define U_BOOT_CMD_END \ +#define BAREBOX_CMD_END \ }; #ifdef CONFIG_LONGHELP -#define U_BOOT_CMD_HELP(text) .help = text, +#define BAREBOX_CMD_HELP(text) .help = text, #else -#define U_BOOT_CMD_HELP(text) +#define BAREBOX_CMD_HELP(text) #endif int register_command(cmd_tbl_t *); |