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 --- arch/sandbox/Makefile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'arch/sandbox/Makefile') diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 57fac202f6..6b8942eb16 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -4,23 +4,23 @@ CPPFLAGS += -fno-strict-aliasing machine-y := sandbox board-y := sandbox -lds-y := board/sandbox/u-boot.lds +lds-y := board/sandbox/barebox.lds TEXT_BASE = $(CONFIG_TEXT_BASE) CPPFLAGS += -P -CFLAGS += -Dmalloc=u_boot_malloc \ - -Dfree=u_boot_free -Drealloc=u_boot_realloc \ - -Dread=u_boot_read -Dwrite=u_boot_write \ - -Dopen=u_boot_open -Dclose=u_boot_close \ - -Dlseek=u_boot_lseek -Dperror=u_boot_perror \ - -Derrno=u_boot_errno -Dgetc=u_boot_getc \ - -Dputc=u_boot_putc -Dfgetc=u_boot_fgetc \ - -Dfputc=u_boot_fputc -Dfgets=u_boot_fgets \ - -Dfputs=u_boot_fputs -Dsetenv=u_boot_setenv \ - -Dgetenv=u_boot_getenv -Dprintf=u_boot_printf \ - -Dglob=u_boot_glob -Dglobfree=u_boot_globfree \ - -Dioctl=u_boot_ioctl +CFLAGS += -Dmalloc=barebox_malloc \ + -Dfree=barebox_free -Drealloc=barebox_realloc \ + -Dread=barebox_read -Dwrite=barebox_write \ + -Dopen=barebox_open -Dclose=barebox_close \ + -Dlseek=barebox_lseek -Dperror=barebox_perror \ + -Derrno=barebox_errno -Dgetc=barebox_getc \ + -Dputc=barebox_putc -Dfgetc=barebox_fgetc \ + -Dfputc=barebox_fputc -Dfgets=barebox_fgets \ + -Dfputs=barebox_fputs -Dsetenv=barebox_setenv \ + -Dgetenv=barebox_getenv -Dprintf=barebox_printf \ + -Dglob=barebox_glob -Dglobfree=barebox_globfree \ + -Dioctl=barebox_ioctl machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y)) @@ -58,10 +58,10 @@ archprepare: maketools PHONY += maketools -cmd_uboot__ = $(CC) -o $@ -Wl,-T,$(uboot-lds) \ - -Wl,--start-group $(uboot-common) -Wl,--end-group \ +cmd_barebox__ = $(CC) -o $@ -Wl,-T,$(barebox-lds) \ + -Wl,--start-group $(barebox-common) -Wl,--end-group \ -lrt -lpthread common-y += board/sandbox/ arch/sandbox/os/ -CLEAN_FILES += board/sandbox/u-boot.lds +CLEAN_FILES += board/sandbox/barebox.lds -- cgit v1.2.3