[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XEN PATCH] build: Fix missing MAKEFLAGS --no-print-directory
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Wed, 17 Aug 2022 16:21:06 +0100
- Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Wed, 17 Aug 2022 15:21:19 +0000
- Ironport-data: A9a23:rd547K6SCU1sS80ZRrSuEwxRtC/HchMFZxGqfqrLsTDasY5as4F+v mEXUWDVbq7YZzf2fIpwPIrlpExQuZeDndBhGwc/rnxhHi5G8cbLO4+Ufxz6V8+wwmwvb67FA +E2MISowBUcFyeEzvuVGuG96yM6jclkf5KkYMbcICd9WAR4fykojBNnioYRj5VhxNO0GGthg /uryyHkEALjimUc3l48sfrZ8ks/5auq4Vv0g3RlDRx1lA6G/5UqJMp3yZGZdxPQXoRSF+imc OfPpJnRErTxpkpF5nuNy94XQ2VSKlLgFVHmZkl+AsBOtiNqtC0qupvXAdJHAathZ5dlqPgqo DlFncTYpQ7EpcQgksxFO/VTO3kW0aGrZNYriJVw2CCe5xSuTpfi/xlhJEAsbIgW1OpLPWJpy sMRDyIDa1elutvjldpXSsE07igiBMziPYdZsXB81zDJS/0hRPgvQY2Tu4Uehm1pwJkTQ7COP KL1ahI2BPjESxRJJlcQDoN4hOqyj2PzWzZZtEiUtew85G27IAlZj+iybIaMIYbiqcN9kWe3h WSdoDnDKyoYEfvO8iaIw1ORmbqa9c/8cN1LT+DpnhJwu3WI3XAaAhASUVq9oNG6h1S4VtYZL FYbkgIxqYAi+UrtScPyNzW6vXqFsxg0S9dWVeog52ml2qfSpgqUGGUAZjpAc8A98t87QyQw0 V2ElM+vAiZg2JWXQ3+A8rafrRupJDMYa2QFYEc5oRAtuoe55ttp11SWE4glQPXdYsDJ9S/Yw irbqSYQi4kvjuk06Kyc717CxBSRn82cJuIq3Tk7Tl5J/ysgOtD9OdfytQmGhRpTBN3HFwfc5 RDoj+DbtblTVs/VyURhVc1XRNmUC+C53CowaLKFN70o7HyT9nGqZui8CxkudR4yYq7oldIEC XI/WD+9B7cJZRNGlYctP+qM5z0ClMAM7+jNWPHOdcZpaZNsbgKB9ywGTRfOgTizzxR9wP1mY svznSOQ4ZEyWMxaIMeeHb9BgdfHOAhkrY8seXwL50v+iufPDJJkYbwELEGPfogE0U9wmy2Mq o43H5bblH1ivBjWOHa/HXg7cQ9XdhDWxPne96RqSwJ0ClQ/RT5+U6GOn9vMueVNxsxoqwsBx VnlMmcw9bY1rSSvxdmiApy7VI7SYA==
- Ironport-hdrordr: A9a23:D6/a16nGHxjIWkm/WilUtuv6PbbpDfJD3DAbv31ZSRFFG/Fw9v rPoB1173XJYVoqNU3I+urgBEDjexzhHPdOiOF7AV7IZmfbUQWTQL1f0Q==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
While we already have "--no-print-directory" added to the make flags
in some cases, there's one case where the flags is missing, when doing
an out-of-tree build with O=, e.g.
cd xen; make O=build
Without it, we just have loads of "Entering directory" and "Leaving
directory" with the same directory.
The comment and location in the Makefile are copied from Linux.
Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
xen/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/xen/Makefile b/xen/Makefile
index 69b4dc960f..106aff6a07 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -186,6 +186,11 @@ endif # root-make-done
# We process the rest of the Makefile if this is the final invocation of make
ifeq ($(need-sub-make),)
+# Do not print "Entering directory ...",
+# but we want to display it when entering to the output directory
+# so that IDEs/editors are able to understand relative filenames.
+MAKEFLAGS += --no-print-directory
+
ifeq ($(abs_srctree),$(abs_objtree))
# building in the source tree
srctree := .
--
Anthony PERARD
|