Skip to content

Commit ec2dd7b

Browse files
authored
Merge pull request #2601 from martin-frbg/issue818
Undefine NAME/CNAME etc in Makefile.system before defining them
2 parents 33e9b12 + 4e82eb9 commit ec2dd7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.system

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ KERNELDIR = $(TOPDIR)/kernel/$(ARCH)
11541154

11551155
include $(TOPDIR)/Makefile.$(ARCH)
11561156

1157+
CCOMMON_OPT += -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME
11571158
CCOMMON_OPT += -DASMNAME=$(FU)$(*F) -DASMFNAME=$(FU)$(*F)$(BU) -DNAME=$(*F)$(BU) -DCNAME=$(*F) -DCHAR_NAME=\"$(*F)$(BU)\" -DCHAR_CNAME=\"$(*F)\"
11581159

11591160
ifeq ($(CORE), PPC440)

0 commit comments

Comments
 (0)