summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2022-08-21 07:10:03 +0000
committerlukem <lukem@NetBSD.org>2022-08-21 07:10:03 +0000
commitbf86a7591d2449610804738d5348f508fb1febba (patch)
treeae4e280871ea00c504602d5e8d5a8f1323ca011b /Makefile
parentda407efc8711c48f22603a1490894d477914e6f0 (diff)
Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC
Remove support for building extsrc/: 1. Makefile: remove do-extsrc target. 2. build.sh: remove options -y and -Y extsrcdir. 3. distrib/sets: remove support for extsrc in various tools including the options -L ext and -y, and the extsrc sets. 4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc) 5. bsd.own.mk and various Makefiles: remove support for extsrc/, EXTSRCSRCDIR, MKEXTSRC. As proposed on tech-kern and tech-userlevel on 2022-01-07 and followed up on 2022-08-21.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index b28b60d5fa2..11d548e3291 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.334 2022/03/19 14:35:13 rillig Exp $
+# $NetBSD: Makefile,v 1.335 2022/08/21 07:10:03 lukem Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -99,7 +99,6 @@
# do-x11: builds and installs X11 tools and libraries
# from src/external/mit/xorg if ${MKX11} != "no".
# do-build: builds and installs the entire system.
-# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no".
# do-obsolete: installs the obsolete sets (for the postinstall-* targets).
#
@@ -251,9 +250,6 @@ BUILDTARGETS+= do-x11
.endif
.if !defined(NOBINARIES)
BUILDTARGETS+= do-build
-.if ${MKEXTSRC} != "no"
-BUILDTARGETS+= do-extsrc
-.endif
BUILDTARGETS+= do-obsolete
.endif
@@ -514,14 +510,6 @@ do-x11: .PHONY .MAKE
@false
.endif
-do-extsrc: .PHONY .MAKE
-.if ${MKEXTSRC} != "no"
- ${MAKEDIRTARGET} extsrc build
-.else
- @echo "MKEXTSRC is not enabled"
- @false
-.endif
-
do-obsolete: .PHONY .MAKE
${MAKEDIRTARGET} etc install-obsolete-lists