Convert old make variable modifiers :U and :L to bmake :tu and :tl.
Reviewed by: sjg
This commit is contained in:
parent
ef32af2180
commit
53089271a1
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -21,7 +21,7 @@ CFLAGS+=-Os -ffreestanding \
|
||||
|
||||
# -Wstrict-prototypes
|
||||
|
||||
CFLAGS+=-DBOOT_${BOOT_FLAVOR:U}
|
||||
CFLAGS+=-DBOOT_${BOOT_FLAVOR:tu}
|
||||
|
||||
LD ?= ld
|
||||
OBJCOPY ?= objcopy
|
||||
|
@ -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=
|
||||
|
Loading…
Reference in New Issue
Block a user