diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-05 23:07:11 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-10 11:05:09 -0400 |
commit | 75dd47472b92c320304436c9e38638bc04ae7a4a (patch) | |
tree | 83262f99fcdf5416f04cc329fd3d39a7da5dd2c8 /arch/parisc | |
parent | b3b3eb9dadfcb6c706f5fa97bc841d4e069af3de (diff) |
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/parisc')
-rw-r--r-- | arch/parisc/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index c19af26febe6..85f99d5766e4 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile | |||
@@ -102,8 +102,8 @@ PALO := $(shell if (which palo 2>&1); then : ; \ | |||
102 | elif [ -x /sbin/palo ]; then echo /sbin/palo; \ | 102 | elif [ -x /sbin/palo ]; then echo /sbin/palo; \ |
103 | fi) | 103 | fi) |
104 | 104 | ||
105 | PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \ | 105 | PALOCONF := $(shell if [ -f $(srctree)/palo.conf ]; then echo $(srctree)/palo.conf; \ |
106 | else echo $(obj)/palo.conf; \ | 106 | else echo $(objtree)/palo.conf; \ |
107 | fi) | 107 | fi) |
108 | 108 | ||
109 | palo lifimage: vmlinuz | 109 | palo lifimage: vmlinuz |
@@ -113,8 +113,8 @@ palo lifimage: vmlinuz | |||
113 | false; \ | 113 | false; \ |
114 | fi | 114 | fi |
115 | @if test ! -f "$(PALOCONF)"; then \ | 115 | @if test ! -f "$(PALOCONF)"; then \ |
116 | cp $(src)/arch/parisc/defpalo.conf $(obj)/palo.conf; \ | 116 | cp $(srctree)/arch/parisc/defpalo.conf $(objtree)/palo.conf; \ |
117 | echo 'A generic palo config file ($(obj)/palo.conf) has been created for you.'; \ | 117 | echo 'A generic palo config file ($(objree)/palo.conf) has been created for you.'; \ |
118 | echo 'You should check it and re-run "make palo".'; \ | 118 | echo 'You should check it and re-run "make palo".'; \ |
119 | echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \ | 119 | echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \ |
120 | false; \ | 120 | false; \ |
@@ -144,10 +144,10 @@ vmlinuz: vmlinux | |||
144 | endif | 144 | endif |
145 | 145 | ||
146 | install: | 146 | install: |
147 | $(CONFIG_SHELL) $(src)/arch/parisc/install.sh \ | 147 | $(CONFIG_SHELL) $(srctree)/arch/parisc/install.sh \ |
148 | $(KERNELRELEASE) vmlinux System.map "$(INSTALL_PATH)" | 148 | $(KERNELRELEASE) vmlinux System.map "$(INSTALL_PATH)" |
149 | zinstall: | 149 | zinstall: |
150 | $(CONFIG_SHELL) $(src)/arch/parisc/install.sh \ | 150 | $(CONFIG_SHELL) $(srctree)/arch/parisc/install.sh \ |
151 | $(KERNELRELEASE) vmlinuz System.map "$(INSTALL_PATH)" | 151 | $(KERNELRELEASE) vmlinuz System.map "$(INSTALL_PATH)" |
152 | 152 | ||
153 | CLEAN_FILES += lifimage | 153 | CLEAN_FILES += lifimage |