aboutsummaryrefslogtreecommitdiff
path: root/util/k8resdump/Makefile
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-17 02:01:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:45:46 +0000
commit96f18a01da872079bbec51c3c3c10cd7d4d4bc83 (patch)
tree34210aaa38db176e9dae5335d4ff3884ab31433c /util/k8resdump/Makefile
parent141020a80aa22181da038da5bf749d4ec79e4f95 (diff)
util/k8resdump: Remove util
AMD K8 support was dropped. Change-Id: I94c38e588c0ebdc6b9e830067c935814a5d26b0a Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36085 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/k8resdump/Makefile')
-rw-r--r--util/k8resdump/Makefile61
1 files changed, 0 insertions, 61 deletions
diff --git a/util/k8resdump/Makefile b/util/k8resdump/Makefile
deleted file mode 100644
index a1d4dfa682..0000000000
--- a/util/k8resdump/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-##
-## Makefile for k8resdump utility
-##
-## (C) 2005 coresystems GmbH
-##
-## 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.
-##
-
-PROGRAM = k8resdump
-
-CC = gcc
-INSTALL = /usr/bin/env install
-PREFIX = /usr/local
-#CFLAGS = -O2 -g -Wall -Werror
-CFLAGS = -Os -Wall -Werror
-OS_ARCH = $(shell uname)
-ifeq ($(OS_ARCH), SunOS)
-LDFLAGS = -lpci
-else
-LDFLAGS = -lpci -lz -static
-endif
-
-OBJS = k8resdump.o
-
-all: pciutils dep $(PROGRAM)
-
-$(PROGRAM): $(OBJS)
- $(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
-
-clean:
- rm -f *.o *~
-
-distclean: clean
- rm -f $(PROGRAM) .dependencies
-
-dep:
- @$(CC) -MM *.c > .dependencies
-
-pciutils:
- @echo; echo -n "Checking for pciutils and zlib... "
- @$(shell ( echo "#include <pci/pci.h>"; \
- echo "struct pci_access *pacc;"; \
- echo "int main(int argc, char **argv)"; \
- echo "{ pacc = pci_alloc(); return 0; }"; ) > .test.c )
- @$(CC) $(CFLAGS) .test.c -o .test $(LDFLAGS) &>/dev/null && \
- echo "found." || ( echo "not found."; echo; \
- echo "Please install pciutils-devel and zlib-devel."; \
- echo "See README for more information."; echo; \
- rm -f .test.c .test; exit 1)
- @rm -f .test.c .test
-
-.PHONY: all clean distclean dep pciutils
-
--include .dependencies