mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
The bmpblk build scripts used to rely on lots of pre-generated resources, and the HWID font data was fixed to x86 special size & scaling parameters. Since the screens now rely on more platform dependent parameters, this CL refined whole flow so fonts are now generated and processed (ex, re-scale) in the same way as other text messages. BUG=chrome-os-partner:11078 TEST=make # x86 and arm bitmaps both works. Change-Id: I59a4fb31718ef052c6b54cd4642f4fc487893f2b Reviewed-on: https://gerrit.chromium.org/gerrit/29873 Tested-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Ready: Hung-Te Lin <hungte@chromium.org>
28 lines
474 B
Makefile
28 lines
474 B
Makefile
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
.SUFFIXES: .txt .TXT .png
|
|
.PHONY: clean all font localized_text
|
|
|
|
LOCALEDIR=localized_text
|
|
|
|
.TXT.png:
|
|
./text_to_png $<
|
|
|
|
.txt.png:
|
|
./text_to_png $<
|
|
|
|
all: font Url.png localized_text
|
|
|
|
localized_text:
|
|
make -C $(LOCALEDIR)
|
|
|
|
font:
|
|
./build_font $@
|
|
|
|
clean:
|
|
rm -f *.png
|
|
rm -rf font
|
|
make -C $(LOCALEDIR) $@
|