summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorMasahiro Yamada2019-07-06 05:07:11 +0200
committerMasahiro Yamada2019-07-10 17:05:09 +0200
commit75dd47472b92c320304436c9e38638bc04ae7a4a (patch)
tree83262f99fcdf5416f04cc329fd3d39a7da5dd2c8 /arch/um
parentscripts/tags.sh: remove unused environment variables from comments (diff)
downloadkernel-qcow2-linux-75dd47472b92c320304436c9e38638bc04ae7a4a.tar.gz
kernel-qcow2-linux-75dd47472b92c320304436c9e38638bc04ae7a4a.tar.xz
kernel-qcow2-linux-75dd47472b92c320304436c9e38638bc04ae7a4a.zip
kbuild: remove src and obj from the top Makefile
Replace $(src) and $(obj) with $(srctree) and $(objtree), respectively. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 273130cf91d1..d2daa206872d 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -73,7 +73,7 @@ KBUILD_AFLAGS += $(ARCH_INCLUDE)
USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -I%,,$(KBUILD_CFLAGS))) \
$(ARCH_INCLUDE) $(MODE_INCLUDE) $(filter -I%,$(CFLAGS)) \
-D_FILE_OFFSET_BITS=64 -idirafter $(srctree)/include \
- -idirafter $(obj)/include -D__KERNEL__ -D__UM_HOST__
+ -idirafter $(objtree)/include -D__KERNEL__ -D__UM_HOST__
#This will adjust *FLAGS accordingly to the platform.
include $(ARCH_DIR)/Makefile-os-$(OS)