| OLD | NEW |
| 1 # | 1 # |
| 2 # (C) Copyright 2000-2006 | 2 # (C) Copyright 2000-2006 |
| 3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 # | 4 # |
| 5 # See file CREDITS for list of people who contributed to this | 5 # See file CREDITS for list of people who contributed to this |
| 6 # project. | 6 # project. |
| 7 # | 7 # |
| 8 # This program is free software; you can redistribute it and/or | 8 # This program is free software; you can redistribute it and/or |
| 9 # modify it under the terms of the GNU General Public License as | 9 # modify it under the terms of the GNU General Public License as |
| 10 # published by the Free Software Foundation; either version 2 of | 10 # published by the Free Software Foundation; either version 2 of |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS) | 132 CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS) |
| 133 endif | 133 endif |
| 134 | 134 |
| 135 ifneq ($(OBJTREE),$(SRCTREE)) | 135 ifneq ($(OBJTREE),$(SRCTREE)) |
| 136 CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include | 136 CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include |
| 137 endif | 137 endif |
| 138 | 138 |
| 139 ifdef VBOOT | 139 ifdef VBOOT |
| 140 CPPFLAGS += -I$(VBOOT)/include/vboot | 140 CPPFLAGS += -I$(VBOOT)/include/vboot |
| 141 endif | 141 endif |
| 142 ifdef VBOOT_DEBUG |
| 143 CPPFLAGS += -DVBOOT_DEBUG |
| 144 endif |
| 142 | 145 |
| 143 CPPFLAGS += -I$(TOPDIR)/include | 146 CPPFLAGS += -I$(TOPDIR)/include |
| 144 CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ | 147 CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ |
| 145 -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) | 148 -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) |
| 146 | 149 |
| 147 ifdef BUILD_TAG | 150 ifdef BUILD_TAG |
| 148 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ | 151 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes \ |
| 149 -DBUILD_TAG='"$(BUILD_TAG)"' | 152 -DBUILD_TAG='"$(BUILD_TAG)"' |
| 150 else | 153 else |
| 151 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes | 154 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 $(obj)%.o: %.S | 220 $(obj)%.o: %.S |
| 218 $(CC) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $< -c | 221 $(CC) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $< -c |
| 219 $(obj)%.o: %.c | 222 $(obj)%.o: %.c |
| 220 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c | 223 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c |
| 221 $(obj)%.i: %.c | 224 $(obj)%.i: %.c |
| 222 $(CPP) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c | 225 $(CPP) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c |
| 223 $(obj)%.s: %.c | 226 $(obj)%.s: %.c |
| 224 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c -S | 227 $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c -S |
| 225 | 228 |
| 226 ######################################################################### | 229 ######################################################################### |
| OLD | NEW |