diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 01:11:28 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-20 01:11:28 +0000 |
commit | 3a406feb179dbe10bbbc1b07abd935a7d04e6524 (patch) | |
tree | 5a210ca3480ce18cc522db72020af22ed5de46af /payloads/coreinfo/Makefile | |
parent | 7249f7979237d7f14941036dd931545b5c9e73fb (diff) |
Cosmetic changes and coding style fixes by running 'indent', with some
manual fixups afterwards (trivial).
No functionality changes, compile-tested.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3174 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/coreinfo/Makefile')
-rw-r--r-- | payloads/coreinfo/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile index 44317bd0b4..e11278da5a 100644 --- a/payloads/coreinfo/Makefile +++ b/payloads/coreinfo/Makefile @@ -17,14 +17,14 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -CC=gcc +CC = gcc CROSS_CFLAGS = -m32 INCLUDES = -I../libpayload/include INCLUDES += -I$(shell $(CC) $(CROSS_CFLAGS) -print-search-dirs | head -n 1 | cut -d' ' -f2)include -LIBPAYLOAD=../libpayload/libpayload.a -LIBGCC:=$(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name) +LIBPAYLOAD = ../libpayload/libpayload.a +LIBGCC := $(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name) CFLAGS := -Werror -fno-stack-protector -nostdinc $(INCLUDES) MODULES = cpuinfo_module.o cpuid.o pci_module.o coreboot_module.o @@ -34,12 +34,12 @@ TARGET = coreinfo.elf all: $(TARGET) clean: - @ rm -f $(TARGET) $(MODULES) $(OBJECTS) + @rm -f $(TARGET) $(MODULES) $(OBJECTS) $(TARGET): $(OBJECTS) $(MODULES) - #ld --verbose -T ../libpayload/libpayload.ldscript -o $@ $(OBJECTS) --whole-archive $(LIBPAYLOAD) --no-whole-archive $(LIBGCC) + @#ld --verbose -T ../libpayload/libpayload.ldscript -o $@ $(OBJECTS) --whole-archive $(LIBPAYLOAD) --no-whole-archive $(LIBGCC) ld -T ../libpayload/libpayload.ldscript -o $@ $(OBJECTS) $(MODULES) ../libpayload/i386/head.o $(LIBPAYLOAD) $(LIBGCC) - @ strip $@ + @strip $@ .S.o: $(AS) --32 -o $@ $< |