| 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 FWDIR ?= ../vboot_firmware/ |
| 5 TOP ?= ../ | 6 TOP ?= ../ |
| 6 CC ?= gcc | 7 CC ?= gcc |
| 7 CXX ?= g++ | 8 CXX ?= g++ |
| 8 INCLUDES += -I./include \ | 9 INCLUDES += -I./include \ |
| 9 -I$(FWDIR)/lib/include \ | 10 -I$(FWDIR)/lib/include \ |
| 10 -I$(FWDIR)/lib/cgptlib/include \ | 11 -I$(FWDIR)/lib/cgptlib/include \ |
| 11 -I$(FWDIR)/lib/cryptolib/include \ | 12 -I$(FWDIR)/lib/cryptolib/include \ |
| 12 -I../misclibs/include \ | 13 -I../misclibs/include \ |
| 13 -I../vfirmware/include\ | 14 -I../vfirmware/include\ |
| 14 -I../vboot_firmware/include\ | 15 -I../vboot_firmware/include\ |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 set -e; \ | 67 set -e; \ |
| 67 for i in $(SUBDIRS); do \ | 68 for i in $(SUBDIRS); do \ |
| 68 $(MAKE) -C $$i clean; \ | 69 $(MAKE) -C $$i clean; \ |
| 69 done | 70 done |
| 70 rm -f $(TARGET_BINS) | 71 rm -f $(TARGET_BINS) |
| 71 | 72 |
| 72 install: $(TARGET_BINS) subdirs | 73 install: $(TARGET_BINS) subdirs |
| 73 mkdir -p $(DESTDIR) | 74 mkdir -p $(DESTDIR) |
| 74 cp -f $(TARGET_BINS) $(DESTDIR) | 75 cp -f $(TARGET_BINS) $(DESTDIR) |
| 75 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS)) | 76 chmod a+rx $(patsubst %,$(DESTDIR)/%,$(TARGET_BINS)) |
| OLD | NEW |