diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -111,7 +111,8 @@ endif TARGET_ARCH:=$(shell grep -s ^TARGET_ARCH $(TOPDIR)/.config | sed -e 's/^TARGET_ARCH=//' -e 's/"//g') RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX)))))) -export RUNTIME_PREFIX DEVEL_PREFIX +KERNEL_SOURCE:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(KERNEL_SOURCE)))))) +export RUNTIME_PREFIX DEVEL_PREFIX KERNEL_SOURCE ARFLAGS:=cr @@ -326,10 +327,6 @@ ifeq ($(DOPIC),y) CFLAGS += $(PICFLAG) endif -ifeq ($(DL_FINI_CRT_COMPAT),y) -CFLAGS += -D_DL_FINI_CRT_COMPAT -endif - # Keep the check_as from being needlessly executed ASFLAGS = $(CFLAGS) ifndef ASFLAGS_NOEXEC |