diff options
author | Andrzej Bialecki <abial@FreeBSD.org> | 1998-09-03 10:41:36 +0000 |
---|---|---|
committer | Andrzej Bialecki <abial@FreeBSD.org> | 1998-09-03 10:41:36 +0000 |
commit | bccec1d6938a31f2ed4529712cc3fe29a997fdd9 (patch) | |
tree | 00ad4c417d0012d6d7915b78a9b16c6afa241fec | |
parent | d3f8852a1b91fc2a248d20dee5258381baa85e62 (diff) | |
download | src-bccec1d6938a31f2ed4529712cc3fe29a997fdd9.tar.gz src-bccec1d6938a31f2ed4529712cc3fe29a997fdd9.zip |
Added Makefile to have true dependency of kernel image on the kernel
config file.
Notes
Notes:
svn path=/head/; revision=38772
-rw-r--r-- | release/picobsd/dial/conf/Makefile | 20 | ||||
-rw-r--r-- | release/picobsd/isp/conf/Makefile | 20 | ||||
-rw-r--r-- | release/picobsd/net/conf/Makefile | 20 | ||||
-rw-r--r-- | release/picobsd/router/conf/Makefile | 20 |
4 files changed, 80 insertions, 0 deletions
diff --git a/release/picobsd/dial/conf/Makefile b/release/picobsd/dial/conf/Makefile new file mode 100644 index 000000000000..8f017d9824ca --- /dev/null +++ b/release/picobsd/dial/conf/Makefile @@ -0,0 +1,20 @@ +# $Id$ +# + +SRC?=/usr/src +CONF?=$(SRC)/sys/i386/conf + +CONFFILE=PICOBSD-D.${SIZE} +COMPILE=$(SRC)/sys/compile/$(CONFFILE) +KERNFILE=$(COMPILE)/kernel + +all: $(KERNFILE) + +$(KERNFILE): PICOBSD + cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE} + echo "options \"MFS_ROOT=${SIZE}\"" >> ${CONF}/${CONFFILE} + (cd ${CONF}; \ + config ${CONFFILE}; \ + cd ${COMPILE}; \ + make depend && make) + diff --git a/release/picobsd/isp/conf/Makefile b/release/picobsd/isp/conf/Makefile new file mode 100644 index 000000000000..e2c546428c53 --- /dev/null +++ b/release/picobsd/isp/conf/Makefile @@ -0,0 +1,20 @@ +# $Id$ +# + +SRC?=/usr/src +CONF?=$(SRC)/sys/i386/conf + +CONFFILE=PICOBSD-I.${SIZE} +COMPILE=$(SRC)/sys/compile/$(CONFFILE) +KERNFILE=$(COMPILE)/kernel + +all: $(KERNFILE) + +$(KERNFILE): PICOBSD + cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE} + echo "options \"MFS_ROOT=${SIZE}\"" >> ${CONF}/${CONFFILE} + (cd ${CONF}; \ + config ${CONFFILE}; \ + cd ${COMPILE}; \ + make depend && make) + diff --git a/release/picobsd/net/conf/Makefile b/release/picobsd/net/conf/Makefile new file mode 100644 index 000000000000..5749bb6dac9c --- /dev/null +++ b/release/picobsd/net/conf/Makefile @@ -0,0 +1,20 @@ +# $Id$ +# + +SRC?=/usr/src +CONF?=$(SRC)/sys/i386/conf + +CONFFILE=PICOBSD-N.${SIZE} +COMPILE=$(SRC)/sys/compile/$(CONFFILE) +KERNFILE=$(COMPILE)/kernel + +all: $(KERNFILE) + +$(KERNFILE): PICOBSD + cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE} + echo "options \"MFS_ROOT=${SIZE}\"" >> ${CONF}/${CONFFILE} + (cd ${CONF}; \ + config ${CONFFILE}; \ + cd ${COMPILE}; \ + make depend && make) + diff --git a/release/picobsd/router/conf/Makefile b/release/picobsd/router/conf/Makefile new file mode 100644 index 000000000000..f23e2d751b75 --- /dev/null +++ b/release/picobsd/router/conf/Makefile @@ -0,0 +1,20 @@ +# $Id$ +# + +SRC?=/usr/src +CONF?=$(SRC)/sys/i386/conf + +CONFFILE=PICOBSD-R.${SIZE} +COMPILE=$(SRC)/sys/compile/$(CONFFILE) +KERNFILE=$(COMPILE)/kernel + +all: $(KERNFILE) + +$(KERNFILE): PICOBSD + cat PICOBSD | grep -v "MFS_ROOT" > ${CONF}/${CONFFILE} + echo "options \"MFS_ROOT=${SIZE}\"" >> ${CONF}/${CONFFILE} + (cd ${CONF}; \ + config ${CONFFILE}; \ + cd ${COMPILE}; \ + make depend && make) + |