| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 TOP ?= ../ | 5 TOP ?= ../ |
| 6 CC ?= gcc | 6 CC ?= gcc |
| 7 CXX ?= g++ | 7 CXX ?= g++ |
| 8 INCLUDES += -I./include \ | 8 INCLUDES += -I./include \ |
| 9 -I$(FWDIR)/lib/include \ |
| 9 -I$(FWDIR)/lib/cgptlib/include \ | 10 -I$(FWDIR)/lib/cgptlib/include \ |
| 10 -I$(FWDIR)/lib/cryptolib/include \ | 11 -I$(FWDIR)/lib/cryptolib/include \ |
| 11 -I../misclibs/include \ | 12 -I../misclibs/include \ |
| 12 -I../vfirmware/include\ | 13 -I../vfirmware/include\ |
| 13 -I../vkernel/include | 14 -I../vkernel/include |
| 14 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) | 15 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) |
| 15 LIBS = $(TOP)/misclibs/file_keys.o \ | 16 LIBS = $(TOP)/misclibs/file_keys.o \ |
| 16 $(TOP)/misclibs/signature_digest.o \ | 17 $(TOP)/misclibs/signature_digest.o \ |
| 17 $(TOP)/vfirmware/firmware_image.o \ | 18 $(TOP)/vfirmware/firmware_image.o \ |
| 18 $(TOP)/vkernel/kernel_image.o | 19 $(TOP)/vkernel/kernel_image.o |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 set -e; \ | 55 set -e; \ |
| 55 for i in $(SUBDIRS); do \ | 56 for i in $(SUBDIRS); do \ |
| 56 $(MAKE) -C $$i clean; \ | 57 $(MAKE) -C $$i clean; \ |
| 57 done | 58 done |
| 58 rm -f $(TARGET_BINS) | 59 rm -f $(TARGET_BINS) |
| 59 | 60 |
| 60 install: $(TARGET_BINS) | 61 install: $(TARGET_BINS) |
| 61 mkdir -p $(DESTDIR) | 62 mkdir -p $(DESTDIR) |
| 62 cp -f $^ $(DESTDIR) | 63 cp -f $^ $(DESTDIR) |
| 63 chmod a+rx $(patsubst %,$(DESTDIR)/%,$^) | 64 chmod a+rx $(patsubst %,$(DESTDIR)/%,$^) |
| OLD | NEW |