- remove unused variable TOPDIR
This commit is contained in:
parent
d24eaac9e6
commit
1c943eb88a
6
Makefile
6
Makefile
@ -12,12 +12,11 @@ noconfig_targets := menuconfig config oldconfig randconfig \
|
|||||||
defconfig allyesconfig allnoconfig clean distclean \
|
defconfig allyesconfig allnoconfig clean distclean \
|
||||||
release tags
|
release tags
|
||||||
|
|
||||||
ifndef TOPDIR
|
# the toplevel sourcedir
|
||||||
TOPDIR=$(CURDIR)/
|
|
||||||
endif
|
|
||||||
ifndef top_srcdir
|
ifndef top_srcdir
|
||||||
top_srcdir=$(CURDIR)
|
top_srcdir=$(CURDIR)
|
||||||
endif
|
endif
|
||||||
|
# toplevel directory of the object-tree
|
||||||
ifndef top_builddir
|
ifndef top_builddir
|
||||||
top_builddir=$(CURDIR)
|
top_builddir=$(CURDIR)
|
||||||
endif
|
endif
|
||||||
@ -70,7 +69,6 @@ $(filter-out _all,$(MAKECMDGOALS)) _all: $(KBUILD_OUTPUT)/Rules.mak $(KBUILD_OUT
|
|||||||
$(MAKE) -C $(KBUILD_OUTPUT) \
|
$(MAKE) -C $(KBUILD_OUTPUT) \
|
||||||
top_srcdir=$(CURDIR) \
|
top_srcdir=$(CURDIR) \
|
||||||
top_builddir=$(KBUILD_OUTPUT) \
|
top_builddir=$(KBUILD_OUTPUT) \
|
||||||
TOPDIR=$(KBUILD_OUTPUT) \
|
|
||||||
KBUILD_SRC=$(CURDIR) \
|
KBUILD_SRC=$(CURDIR) \
|
||||||
-f $(CURDIR)/Makefile $@
|
-f $(CURDIR)/Makefile $@
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ CFLAGS=-I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir)
|
|||||||
ARFLAGS=cru
|
ARFLAGS=cru
|
||||||
|
|
||||||
#--------------------------------------------------------
|
#--------------------------------------------------------
|
||||||
export VERSION BUILDTIME TOPDIR HOSTCC HOSTCFLAGS CROSS CC AR AS LD NM STRIP CPP
|
export VERSION BUILDTIME HOSTCC HOSTCFLAGS CROSS CC AR AS LD NM STRIP CPP
|
||||||
ifeq ($(strip $(TARGET_ARCH)),)
|
ifeq ($(strip $(TARGET_ARCH)),)
|
||||||
TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
|
TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
|
||||||
-e 's/i.86/i386/' \
|
-e 's/i.86/i386/' \
|
||||||
|
Loading…
Reference in New Issue
Block a user