mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
Make: make TOPDIR actually work and get rid of unused CDIR
Signed-off-by: Richard Hughes <richard@hughsie.com> Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
a3772f2e05
commit
bd864bda4c
5 changed files with 5 additions and 14 deletions
|
|
@ -34,7 +34,7 @@
|
|||
# SUCH DAMAGE.
|
||||
#
|
||||
|
||||
TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
||||
TOPDIR ?= $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
||||
|
||||
#
|
||||
# Variables below overridable from command-line:
|
||||
|
|
|
|||
|
|
@ -37,12 +37,10 @@
|
|||
SRCDIR = .
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
include $(SRCDIR)/../Make.defaults
|
||||
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
CDIR=$(TOPDIR)/..
|
||||
LINUX_HEADERS = /usr/src/sys/build
|
||||
APPSDIR = $(LIBDIR)/gnuefi/apps
|
||||
CPPFLAGS += -D__KERNEL__ -I$(LINUX_HEADERS)/include
|
||||
|
|
|
|||
|
|
@ -37,12 +37,10 @@
|
|||
SRCDIR = .
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
include $(SRCDIR)/../Make.defaults
|
||||
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
CDIR=$(TOPDIR)/..
|
||||
PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
|
||||
FILES = reloc_$(ARCH)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
SRCDIR = .
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
|
||||
include $(SRCDIR)/../Make.defaults
|
||||
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
CDIR=$(TOPDIR)/..
|
||||
include $(SRCDIR)/../Make.defaults
|
||||
|
||||
all:
|
||||
|
||||
|
|
|
|||
|
|
@ -37,12 +37,10 @@
|
|||
SRCDIR = .
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
include $(SRCDIR)/../Make.defaults
|
||||
|
||||
TOPDIR = $(SRCDIR)/..
|
||||
|
||||
CDIR = $(TOPDIR)/..
|
||||
FILES = boxdraw smbios console crc data debug dpath \
|
||||
entry error event exit guid hand hw init lock \
|
||||
misc pause print sread str cmdline\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue