Convert old make variable modifiers :U and :L to bmake :tu and :tl.

Reviewed by:	sjg
This commit is contained in:
Tijl Coosemans 2013-06-02 11:44:23 +00:00
parent ef32af2180
commit 53089271a1
8 changed files with 9 additions and 9 deletions

View File

@ -54,7 +54,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
CFLAGS+= -I${NCURSES_DIR}/menu
DPADD= ${LIBNCURSES${LIB_SUFFIX:U}}
DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
LDADD= -lncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)

View File

@ -40,7 +40,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
DPADD= ${LIBNCURSES${LIB_SUFFIX:U}}
DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
LDADD= -lncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)

View File

@ -29,7 +29,7 @@ CLEANFILES= ncurses_def.h
CFLAGS+= -I${SRCDIR}
DPADD= ${LIBNCURSES${LIB_SUFFIX:U}}
DPADD= ${LIBNCURSES${LIB_SUFFIX:tu}}
LDADD= -lncurses${LIB_SUFFIX}
.if defined(ENABLE_WIDEC)

View File

@ -113,8 +113,8 @@ reldoc:
INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${.OBJDIR}/rdoc
mkdir -p reldoc
.for i in hardware readme relnotes errata
ln -f rdoc/${RELNOTES_LANG}/${i}/article.txt reldoc/${i:U}.TXT
ln -f rdoc/${RELNOTES_LANG}/${i}/article.html reldoc/${i:U}.HTM
ln -f rdoc/${RELNOTES_LANG}/${i}/article.txt reldoc/${i:tu}.TXT
ln -f rdoc/${RELNOTES_LANG}/${i}/article.html reldoc/${i:tu}.HTM
.endfor
cp rdoc/${RELNOTES_LANG}/readme/docbook.css reldoc

View File

@ -21,7 +21,7 @@ CFLAGS=-Os -mcpu=arm9 -ffreestanding \
-Wmissing-declarations
# -Wstrict-prototypes
CFLAGS+=-DBOOT_${BOOT_FLAVOR:U}
CFLAGS+=-DBOOT_${BOOT_FLAVOR:tu}
LIBAT91=${.OBJDIR}/../libat91/libat91.a

View File

@ -4,7 +4,7 @@
P=boot2
FILES=${P}
SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:L}_board.c
SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:tl}_board.c
NO_MAN=
LDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}

View File

@ -21,7 +21,7 @@ CFLAGS+=-Os -ffreestanding \
# -Wstrict-prototypes
CFLAGS+=-DBOOT_${BOOT_FLAVOR:U}
CFLAGS+=-DBOOT_${BOOT_FLAVOR:tu}
LD ?= ld
OBJCOPY ?= objcopy

View File

@ -12,7 +12,7 @@ FIXUP_BOOT_DRV=yes
P=boot2
FILES=${P}
SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:L}_board.c
SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:tl}_board.c
SRCS+=memchr.c memcmp.c memcpy.c memmem.c memset.c printf.c strcmp.c strcpy.c
SRCS+=strlen.c ashldi3.c divsi3.S muldi3.c
NO_MAN=