mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
The difference of firmware bitmaps won't rely on platform (x86/arm) in future; instead, things will differ by rescaling & message contents. To support that, we need to change build target from "platform" to "profiles". To build all platforms, run "make" in top leve (or "make all" in images). To debug (en locale without rescaling), run "make" in images folder. To debug a specific profile, run "make $PROFILE" in images folder. BRANCH=none BUG=chrome-os-partner:11078, chrome-os-partner:12790 TEST=make # all profiles generated in images/out_*/*.bin Change-Id: Iaabf160b1b2bc844d230188eb593daa8a597d378 Reviewed-on: https://gerrit.chromium.org/gerrit/30683 Commit-Ready: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: Hung-Te Lin <hungte@chromium.org>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
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.
|
|
|
|
# This will regenerate the BIOS bitmap images for all platforms. You
|
|
# shouldn't need to do this, though.
|
|
|
|
# These are all the known locales, sorted more-or-less geograpically
|
|
ALL_LOCALES=en es_419 pt_BR en_GB fr es pt_PT ca it de \
|
|
el nl da no sv fi et lv lt ru pl cs sk hu sl sr hr bg ro \
|
|
uk tr iw ar fa hi th vi id fil zh_CN zh_TW ko ja
|
|
|
|
# Here are the launch locales for Stumpy/Lumpy (issue 6595), same ordering.
|
|
LOCALES=en es_419 pt_BR en_GB fr es it de nl da no sv ko ja
|
|
|
|
default: outside_chroot strings images
|
|
|
|
outside_chroot:
|
|
@if [ -e /etc/debian_chroot ]; then \
|
|
echo "ImageMagick is too complex to build inside the chroot."; \
|
|
echo "You must be outside the chroot to do this"; \
|
|
echo "(and you probably shouldn't be doing it anyway)."; \
|
|
exit 1; \
|
|
fi
|
|
|
|
strings:
|
|
$(MAKE) -C strings
|
|
|
|
images:
|
|
$(MAKE) -C images LOCALES="$(LOCALES)" all
|
|
|
|
clean:
|
|
$(MAKE) -C strings clean
|
|
$(MAKE) -C images clean
|
|
|
|
.PHONY: outside_chroot strings images clean
|