summaryrefslogtreecommitdiff
path: root/payloads/tianocoreboot/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2014-12-01 22:18:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2014-12-02 11:02:09 +0100
commit10b3994f1ae5551d7cc13afacd853a1bbc200f77 (patch)
tree0ad266b3fbfd2a73e4be4ff0120ba4508250d34a /payloads/tianocoreboot/Makefile
parent546953c0c553465761705fb0747964c08d634461 (diff)
Drop tianocoreboot ("Project PIANO")
There are four other approaches to provide UEFI on top of coreboot that actually get to a UEFI shell. No need to keep this experiment and confuse users. Change-Id: I81c52e24099852f6daf0d5725aec707bdfd75ae1 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/7622 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'payloads/tianocoreboot/Makefile')
-rw-r--r--payloads/tianocoreboot/Makefile80
1 files changed, 0 insertions, 80 deletions
diff --git a/payloads/tianocoreboot/Makefile b/payloads/tianocoreboot/Makefile
deleted file mode 100644
index 3ac541f9b3..0000000000
--- a/payloads/tianocoreboot/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-##
-## This file is part of the TianoCoreBoot project.
-##
-## Copyright (C) 2013 Google Inc.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-src := $(shell pwd)
-srctree := $(src)
-obj ?= $(src)/build
-
-export V := $(V)
-
-CONFIG_SHELL := sh
-UNAME_RELEASE := $(shell uname -r)
-HAVE_DOTCONFIG := $(wildcard .config)
-MAKEFLAGS += -rR --no-print-directory
-
-# Make is silent per default, but 'make V=1' will show all compiler calls.
-ifneq ($(V),1)
-Q := @
-endif
-
-LIBCONFIG_PATH := ../libpayload
-LIBPAYLOAD_DIR := $(obj)/libpayload
-LPCC := $(LIBPAYLOAD_DIR)/libpayload/bin/lpgcc
-LPAS := $(LIBPAYLOAD_DIR)/libpayload/bin/lpas
-HAVE_LIBPAYLOAD := $(wildcard $(LIBPAYLOAD_DIR)/libpayload/lib/libpayload.a)
-OBJCOPY ?= objcopy
-
-INCLUDES = -Iinclude
-CFLAGS := -Wall -Werror -Os $(INCLUDES)
-OBJECTS = tianocoreboot.o
-OBJS = $(patsubst %,$(obj)/%,$(OBJECTS))
-TARGET = $(obj)/tianocoreboot.elf
-
-all: $(TARGET)
-
-$(TARGET): prepare $(OBJS) libpayload
- $(Q)printf " LINK $(subst $(shell pwd)/,,$(@))\n"
- $(Q)CC="$(CC)" $(LPCC) -o $@ $(OBJS)
- $(Q)$(OBJCOPY) --only-keep-debug $@ $(TARGET).debug
- $(Q)$(OBJCOPY) --strip-debug $@
- $(Q)$(OBJCOPY) --add-gnu-debuglink=$(TARGET).debug $@
-
-$(obj)/%.o: $(src)/%.c libpayload
- $(Q)printf " CC $(subst $(shell pwd)/,,$(@))\n"
- $(Q)CC="$(CC)" $(LPCC) $(CFLAGS) -c -o $@ $<
-
-ifneq ($(strip $(HAVE_LIBPAYLOAD)),)
-libpayload:
- $(Q)printf "Found Libpayload $(LIBPAYLOAD_DIR).\n"
-else
-libpayload:
- $(Q)printf "Building libpayload @ $(LIBCONFIG_PATH).\n"
- $(Q)cp libpayload.config .config
- $(Q)make -C $(LIBCONFIG_PATH) distclean
- $(Q)make -C $(LIBCONFIG_PATH) DESTDIR=$(LIBPAYLOAD_DIR) install DOTCONFIG=$(shell pwd)/.config
-endif
-
-prepare:
- $(Q)mkdir -p $(obj)
-
-clean:
- $(Q)rm -rf $(obj) $(LIBPAYLOAD_DIR) .xcompile .config .config.old
-
-.PHONY: $(PHONY) clean
-