summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-11-03 01:33:03 +0000
committerjoe <joe@FreeBSD.org>2000-11-03 01:33:03 +0000
commite25128632b7b00545b47fa3c13780912bbab2fea (patch)
tree9a31bfbbb6db2c42cc0d65266d2cfde9926ff140 /release
parent33bdacce8c95705bf5fc4e9ee4031d3a75cf807a (diff)
downloadFreeBSD-src-e25128632b7b00545b47fa3c13780912bbab2fea.zip
FreeBSD-src-e25128632b7b00545b47fa3c13780912bbab2fea.tar.gz
Fold the buildopts into the existing crunch.inc file.
Deprecate the "global" crunch.inc file and the CRUNCHFLAGS global build options. Tools not policy. Move these global settings out into each picobsd distribution.
Diffstat (limited to 'release')
-rw-r--r--release/picobsd/bridge/crunch1/crunch.inc13
-rw-r--r--release/picobsd/build/Makefile.crunch11
-rw-r--r--release/picobsd/build/crunch.inc7
-rw-r--r--release/picobsd/custom/crunch1/crunch.inc13
-rw-r--r--release/picobsd/dial/crunch1/crunch.inc12
-rw-r--r--release/picobsd/install/crunch1/crunch.inc12
-rw-r--r--release/picobsd/isp/crunch1/crunch.inc12
-rw-r--r--release/picobsd/net/crunch1/buildopts.inc6
-rw-r--r--release/picobsd/net/crunch1/crunch.inc13
-rw-r--r--release/picobsd/router/crunch1/crunch.inc12
10 files changed, 88 insertions, 23 deletions
diff --git a/release/picobsd/bridge/crunch1/crunch.inc b/release/picobsd/bridge/crunch1/crunch.inc
new file mode 100644
index 0000000..eb78267
--- /dev/null
+++ b/release/picobsd/bridge/crunch1/crunch.inc
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+# i.e.
+# ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/build/Makefile.crunch b/release/picobsd/build/Makefile.crunch
index a473956..1360548 100644
--- a/release/picobsd/build/Makefile.crunch
+++ b/release/picobsd/build/Makefile.crunch
@@ -2,7 +2,6 @@
# $FreeBSD$
#
SRC?=/usr/src
-CRUNCHFLAGS+= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
all: crunch
@@ -11,17 +10,11 @@ crunch:
@( if [ -f crunch.inc ] ; then \
crunchgen -h ./crunch.inc ./crunch1.conf ; \
else \
- crunchgen -h ../../build/crunch.inc ./crunch1.conf ; \
+ crunchgen ./crunch1.conf ; \
fi )
@perl -pi -e 's#${OBJ}#${PICO_OBJ}#g' crunch1.mk ;
../../build/munge_crunchmk.pl crunch1.mk ;
- @( if [ -f buildopts.inc ] ; then \
- echo '.include "buildopts.inc"' > crunch1.mk.tmp ; \
- cat crunch1.mk >> crunch1.mk.tmp ; \
- mv crunch1.mk.tmp crunch1.mk ; \
- fi )
- @env MAKEOBJDIRPREFIX=${PICO_OBJ} ${MAKE} -f crunch1.mk $(CRUNCHFLAGS) all \
- "CFLAGS=${CFLAGS} ${CRUNCHFLAGS}" #2>&1 >/dev/null
+ @env MAKEOBJDIRPREFIX=${PICO_OBJ} ${MAKE} -f crunch1.mk all
strip --remove-section=.note --remove-section=.comment crunch1
diff --git a/release/picobsd/build/crunch.inc b/release/picobsd/build/crunch.inc
deleted file mode 100644
index 09ecb01..0000000
--- a/release/picobsd/build/crunch.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-# header file for crunch1.mk
-RELEASE_CRUNCH=yes
-NOCRYPT=yes
-NOPAM=yes
-NOSECURE=yes
-NONETGRAPH=yes
-NOIPSEC=yes
diff --git a/release/picobsd/custom/crunch1/crunch.inc b/release/picobsd/custom/crunch1/crunch.inc
index 2a61854..7f40721 100644
--- a/release/picobsd/custom/crunch1/crunch.inc
+++ b/release/picobsd/custom/crunch1/crunch.inc
@@ -1,2 +1,13 @@
# You can add make variables and targets for the crunch building process
-# in this file.
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+# i.e:
+# OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also by defining prog_OPTS:
+# ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/dial/crunch1/crunch.inc b/release/picobsd/dial/crunch1/crunch.inc
new file mode 100644
index 0000000..91ddee8
--- /dev/null
+++ b/release/picobsd/dial/crunch1/crunch.inc
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+#ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/install/crunch1/crunch.inc b/release/picobsd/install/crunch1/crunch.inc
new file mode 100644
index 0000000..91ddee8
--- /dev/null
+++ b/release/picobsd/install/crunch1/crunch.inc
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+#ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/isp/crunch1/crunch.inc b/release/picobsd/isp/crunch1/crunch.inc
new file mode 100644
index 0000000..91ddee8
--- /dev/null
+++ b/release/picobsd/isp/crunch1/crunch.inc
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+#ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/net/crunch1/buildopts.inc b/release/picobsd/net/crunch1/buildopts.inc
deleted file mode 100644
index 8e83165..0000000
--- a/release/picobsd/net/crunch1/buildopts.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-# $FreeBSD$
-
-OPTS= -DNOPAM
-ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
-
-#end
diff --git a/release/picobsd/net/crunch1/crunch.inc b/release/picobsd/net/crunch1/crunch.inc
new file mode 100644
index 0000000..a8834f2
--- /dev/null
+++ b/release/picobsd/net/crunch1/crunch.inc
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+
+ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
diff --git a/release/picobsd/router/crunch1/crunch.inc b/release/picobsd/router/crunch1/crunch.inc
new file mode 100644
index 0000000..91ddee8
--- /dev/null
+++ b/release/picobsd/router/crunch1/crunch.inc
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+# Anything that you add to OPTS will be added to the build rules for each
+# program built.
+
+OPTS= -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
+
+
+# Per program options can be added also...
+#ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH
+
+#end
OpenPOWER on IntegriCloud