aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-05 23:07:11 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-10 11:05:09 -0400
commit75dd47472b92c320304436c9e38638bc04ae7a4a (patch)
tree83262f99fcdf5416f04cc329fd3d39a7da5dd2c8 /arch/parisc
parentb3b3eb9dadfcb6c706f5fa97bc841d4e069af3de (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/Makefile12
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
105PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \ 105PALOCONF := $(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
109palo lifimage: vmlinuz 109palo 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
144endif 144endif
145 145
146install: 146install:
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)"
149zinstall: 149zinstall:
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
153CLEAN_FILES += lifimage 153CLEAN_FILES += lifimage