aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-26 03:16:04 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-26 03:16:04 +0000
commit0c38f15ac749a2c5b674d9ba2036fc416b984fe2 (patch)
treecb51215e8f899bc7bf91fa826c0179ba97651361 /stand/efi/Makefile
parente6939726efcaffeec471c3e1df07a19c4cc8238a (diff)
downloadsrc-0c38f15ac749a2c5b674d9ba2036fc416b984fe2.tar.gz
src-0c38f15ac749a2c5b674d9ba2036fc416b984fe2.zip
Add NO_OBJ to those directories that don't make anything.
For directories that don't many anything, add NO_OBJ=t just before we include bsd.init.mk. This prevents them from creating an OBJ directory. In addition, prevent defs.mk from creating the machine related links in these cases. They aren't needed and break, at least on stable, the read-only src tree build.
Notes
Notes: svn path=/head/; revision=330004
Diffstat (limited to 'stand/efi/Makefile')
-rw-r--r--stand/efi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/efi/Makefile b/stand/efi/Makefile
index e3b22de4a99a..ee1abfd583a4 100644
--- a/stand/efi/Makefile
+++ b/stand/efi/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+NO_OBJ=t
+
.include <bsd.init.mk>
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer