Commit a7152cf5 authored by Jeff Dike's avatar Jeff Dike

Fixed a bug caused by moving the location of the include of the

arch and os Makefiles.
parent 3c818976
...@@ -43,9 +43,8 @@ ARCH_INCLUDE = $(TOPDIR)/$(ARCH_DIR)/include ...@@ -43,9 +43,8 @@ ARCH_INCLUDE = $(TOPDIR)/$(ARCH_DIR)/include
# in CFLAGS. Otherwise, it would cause ld to complain about the two different # in CFLAGS. Otherwise, it would cause ld to complain about the two different
# errnos. # errnos.
CFLAGS += $(DEBUG) $(PROFILE) $(ARCH_CFLAGS) -D__arch_um__ \ CFLAGS += $(DEBUG) $(PROFILE) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
-DSUBARCH=\"$(SUBARCH)\" -D_LARGEFILE64_SOURCE -I$(ARCH_INCLUDE) \ -D_LARGEFILE64_SOURCE -I$(ARCH_INCLUDE) -Derrno=kernel_errno
-Derrno=kernel_errno
LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
......
...@@ -4,7 +4,7 @@ else ...@@ -4,7 +4,7 @@ else
TOP_ADDR = 0xc0000000 TOP_ADDR = 0xc0000000
endif endif
ARCH_CFLAGS = -U__$(SUBARCH)__ -U$(SUBARCH) CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH)
ELF_ARCH = $(SUBARCH) ELF_ARCH = $(SUBARCH)
ELF_FORMAT = elf32-$(SUBARCH) ELF_FORMAT = elf32-$(SUBARCH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment