blob: fa87ad003aec8d0284ab8b1cff0d3b8338d540b6 [file] [log] [blame]
# Copyright (c) 2013 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.
OUTPUT ?= build
STAGE ?= $(OUTPUT)/.stage
default: strings images
strings:
$(MAKE) -C strings
images:
$(MAKE) -C images all
archive:
./archive_images.py -a $(ARCHIVER) -d $(OUTPUT)
${ARCHIVER} "${OUTPUT}/font.bin" create "${OUTPUT}"/font/*.bmp
clean:
$(MAKE) -C strings clean
$(MAKE) -C images clean
rm -rf $(OUTPUT)
find . -type f -name '*.pyc' -delete
$(STAGE):
$(MAKE) -C strings
.DEFAULT:
$(MAKE) $(STAGE)
$(MAKE) -C images $@
.PHONY: strings images clean