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 /arch/sandbox/Makefile | |
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 'arch/sandbox/Makefile')
-rw-r--r-- | arch/sandbox/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
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 |