mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
video/logo: move pnmtologo tool to drivers/video/logo/ from scripts/
This tool is only used by drivers/video/logo/Makefile. No reason to keep it in scripts/. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
e3c639b899
commit
78a20a012e
1
drivers/video/logo/.gitignore
vendored
1
drivers/video/logo/.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
*_vga16.c
|
*_vga16.c
|
||||||
*_clut224.c
|
*_clut224.c
|
||||||
*_gray256.c
|
*_gray256.c
|
||||||
|
pnmtologo
|
||||||
|
@ -18,19 +18,19 @@ obj-$(CONFIG_SPU_BASE) += logo_spe_clut224.o
|
|||||||
|
|
||||||
# How to generate logo's
|
# How to generate logo's
|
||||||
|
|
||||||
pnmtologo := scripts/pnmtologo
|
hostprogs-y := pnmtologo
|
||||||
|
|
||||||
# Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..."
|
# Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..."
|
||||||
quiet_cmd_logo = LOGO $@
|
quiet_cmd_logo = LOGO $@
|
||||||
cmd_logo = $(pnmtologo) -t $(lastword $(subst _, ,$*)) -n $* -o $@ $<
|
cmd_logo = $(obj)/pnmtologo -t $(lastword $(subst _, ,$*)) -n $* -o $@ $<
|
||||||
|
|
||||||
$(obj)/%.c: $(src)/%.pbm $(pnmtologo) FORCE
|
$(obj)/%.c: $(src)/%.pbm $(obj)/pnmtologo FORCE
|
||||||
$(call if_changed,logo)
|
$(call if_changed,logo)
|
||||||
|
|
||||||
$(obj)/%.c: $(src)/%.ppm $(pnmtologo) FORCE
|
$(obj)/%.c: $(src)/%.ppm $(obj)/pnmtologo FORCE
|
||||||
$(call if_changed,logo)
|
$(call if_changed,logo)
|
||||||
|
|
||||||
$(obj)/%.c: $(src)/%.pgm $(pnmtologo) FORCE
|
$(obj)/%.c: $(src)/%.pgm $(obj)/pnmtologo FORCE
|
||||||
$(call if_changed,logo)
|
$(call if_changed,logo)
|
||||||
|
|
||||||
# generated C files
|
# generated C files
|
||||||
|
1
scripts/.gitignore
vendored
1
scripts/.gitignore
vendored
@ -4,7 +4,6 @@
|
|||||||
bin2c
|
bin2c
|
||||||
conmakehash
|
conmakehash
|
||||||
kallsyms
|
kallsyms
|
||||||
pnmtologo
|
|
||||||
unifdef
|
unifdef
|
||||||
recordmcount
|
recordmcount
|
||||||
sortextable
|
sortextable
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# the kernel for the build process.
|
# the kernel for the build process.
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# kallsyms: Find all symbols in vmlinux
|
# kallsyms: Find all symbols in vmlinux
|
||||||
# pnmttologo: Convert pnm files to logo files
|
|
||||||
# conmakehash: Create chartable
|
# conmakehash: Create chartable
|
||||||
# conmakehash: Create arrays for initializing the kernel console tables
|
# conmakehash: Create arrays for initializing the kernel console tables
|
||||||
|
|
||||||
@ -12,7 +11,6 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include
|
|||||||
|
|
||||||
hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
|
hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
|
||||||
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
|
hostprogs-$(CONFIG_KALLSYMS) += kallsyms
|
||||||
hostprogs-$(CONFIG_LOGO) += pnmtologo
|
|
||||||
hostprogs-$(CONFIG_VT) += conmakehash
|
hostprogs-$(CONFIG_VT) += conmakehash
|
||||||
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
|
hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
|
||||||
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable
|
hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable
|
||||||
|
Loading…
Reference in New Issue
Block a user