Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285916
b: refs/heads/master
c: c9b284b
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Dec 6, 2011
1 parent 0751233 commit cbc2087
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9147621c771c8b6a5c8985373af3a8200e8b4a41
refs/heads/master: c9b284b2024e5e2fb7bacfe7f1a71a375562d281
7 changes: 6 additions & 1 deletion trunk/arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -D__KERNEL__,,\
#This will adjust *FLAGS accordingly to the platform.
include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS)

KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/include
KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/include \
-I$(HOST_DIR)/include/generated

# -Derrno=kernel_errno - This turns all kernel references to errno into
# kernel_errno to separate them from the libc errno. This allows -fno-common
Expand Down Expand Up @@ -96,6 +97,10 @@ endef

KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig

archheaders:
$(Q)$(MAKE) -C '$(KBUILD_SRC)' KBUILD_SRC= \
ARCH=$(SUBARCH) O='$(objtree)' archheaders

archprepare: include/generated/user_constants.h

LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static
Expand Down

0 comments on commit cbc2087

Please sign in to comment.