From a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 15 Dec 2009 09:11:09 +0100 Subject: 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 --- lib/make_directory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/make_directory.c') diff --git a/lib/make_directory.c b/lib/make_directory.c index afbf84e6ab..274bc146cf 100644 --- a/lib/make_directory.c +++ b/lib/make_directory.c @@ -1,7 +1,7 @@ #include #include -#ifdef __U_BOOT__ +#ifdef __BAREBOX__ #include #include #include @@ -33,7 +33,7 @@ int make_directory(const char *dir) /* If we failed for any other reason than the directory * already exists, output a diagnostic and return -1.*/ -#ifdef __U_BOOT__ +#ifdef __BAREBOX__ if (errno != -EEXIST) #else if (errno != EEXIST) @@ -52,6 +52,6 @@ out: free(path); return errno; } -#ifdef __U_BOOT__ +#ifdef __BAREBOX__ EXPORT_SYMBOL(make_directory); #endif -- cgit v1.2.3