mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Add a 'clobber' target.. Like 'clean' but it takes out even the config
generated stuff, leaving only 'version' in the build dir.
This commit is contained in:
parent
52bcdc9a38
commit
b1fe97412b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73133
@ -114,6 +114,7 @@ all: ${KERNEL_KO}
|
||||
depend: kernel-depend
|
||||
clean: kernel-clean
|
||||
cleandepend: kernel-cleandepend
|
||||
clobber: kernel-clobber
|
||||
tags: kernel-tags
|
||||
install: kernel-install
|
||||
install.debug: kernel-install.debug
|
||||
@ -151,6 +152,9 @@ kernel-clean:
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
kernel-clobber:
|
||||
find . -type f ! -name version -delete
|
||||
|
||||
#lint: /tmp param.c
|
||||
# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
|
||||
# $S/$M/$M/Locore.c ${CFILES} param.c | \
|
||||
@ -307,6 +311,8 @@ all: modules
|
||||
depend: modules-depend
|
||||
clean: modules-clean
|
||||
cleandepend: modules-cleandepend
|
||||
cleandir: modules-cleandir
|
||||
clobber: modules-clobber
|
||||
tags: modules-tags
|
||||
install: modules-install
|
||||
install.debug: modules-install.debug
|
||||
@ -332,6 +338,9 @@ modules-clean:
|
||||
modules-cleandepend:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
|
||||
|
||||
modules-clobber: modules-clean
|
||||
rm -rf ${MKMODULESENV}
|
||||
|
||||
modules-cleandir:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
|
||||
|
||||
|
@ -119,6 +119,7 @@ all: ${KERNEL_KO}
|
||||
depend: kernel-depend
|
||||
clean: kernel-clean
|
||||
cleandepend: kernel-cleandepend
|
||||
clobber: kernel-clobber
|
||||
tags: kernel-tags
|
||||
install: kernel-install
|
||||
install.debug: kernel-install.debug
|
||||
@ -156,6 +157,9 @@ kernel-clean:
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
kernel-clobber:
|
||||
find . -type f ! -name version -delete
|
||||
|
||||
#lint: /tmp param.c
|
||||
# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
|
||||
# $S/$M/$M/Locore.c ${CFILES} param.c | \
|
||||
@ -268,6 +272,7 @@ depend: modules-depend
|
||||
clean: modules-clean
|
||||
cleandepend: modules-cleandepend
|
||||
cleandir: modules-cleandir
|
||||
clobber: modules-clobber
|
||||
tags: modules-tags
|
||||
install: modules-install
|
||||
install.debug: modules-install.debug
|
||||
@ -293,6 +298,9 @@ modules-clean:
|
||||
modules-cleandepend:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
|
||||
|
||||
modules-clobber: modules-clean
|
||||
rm -rf ${MKMODULESENV}
|
||||
|
||||
modules-cleandir:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
|
||||
|
||||
|
@ -129,6 +129,7 @@ all: ${KERNEL_KO}
|
||||
depend: kernel-depend
|
||||
clean: kernel-clean
|
||||
cleandepend: kernel-cleandepend
|
||||
clobber: kernel-clobber
|
||||
tags: kernel-tags
|
||||
install: kernel-install
|
||||
install.debug: kernel-install.debug
|
||||
@ -166,6 +167,9 @@ kernel-clean:
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
kernel-clobber:
|
||||
find . -type f ! -name version -delete
|
||||
|
||||
locore.o: $S/$M/$M/locore.s assym.s
|
||||
${NORMAL_S}
|
||||
|
||||
@ -272,6 +276,7 @@ depend: modules-depend
|
||||
clean: modules-clean
|
||||
cleandepend: modules-cleandepend
|
||||
cleandir: modules-cleandir
|
||||
clobber: modules-clobber
|
||||
tags: modules-tags
|
||||
install: modules-install
|
||||
install.debug: modules-install.debug
|
||||
@ -297,6 +302,9 @@ modules-clean:
|
||||
modules-cleandepend:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
|
||||
|
||||
modules-clobber: modules-clean
|
||||
rm -rf ${MKMODULESENV}
|
||||
|
||||
modules-cleandir:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
|
||||
|
||||
|
@ -121,6 +121,7 @@ all: ${KERNEL_KO}
|
||||
depend: kernel-depend
|
||||
clean: kernel-clean
|
||||
cleandepend: kernel-cleandepend
|
||||
clobber: kernel-clobber
|
||||
tags: kernel-tags
|
||||
install: kernel-install
|
||||
install.debug: kernel-install.debug
|
||||
@ -158,6 +159,9 @@ kernel-clean:
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
kernel-clobber:
|
||||
find . -type f ! -name version -delete
|
||||
|
||||
#lint: /tmp param.c
|
||||
# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
|
||||
# $S/$M/$M/Locore.c ${CFILES} param.c | \
|
||||
@ -271,6 +275,7 @@ depend: modules-depend
|
||||
clean: modules-clean
|
||||
cleandepend: modules-cleandepend
|
||||
cleandir: modules-cleandir
|
||||
clobber: modules-clobber
|
||||
tags: modules-tags
|
||||
install: modules-install
|
||||
install.debug: modules-install.debug
|
||||
@ -297,6 +302,9 @@ modules-clean:
|
||||
modules-cleandepend:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
|
||||
|
||||
modules-clobber: modules-clean
|
||||
rm -rf ${MKMODULESENV}
|
||||
|
||||
modules-cleandir:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
|
||||
|
||||
|
@ -119,6 +119,7 @@ all: ${KERNEL_KO}
|
||||
depend: kernel-depend
|
||||
clean: kernel-clean
|
||||
cleandepend: kernel-cleandepend
|
||||
clobber: kernel-clobber
|
||||
tags: kernel-tags
|
||||
install: kernel-install
|
||||
install.debug: kernel-install.debug
|
||||
@ -156,6 +157,9 @@ kernel-clean:
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
kernel-clobber:
|
||||
find . -type f ! -name version -delete
|
||||
|
||||
#lint: /tmp param.c
|
||||
# @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \
|
||||
# $S/$M/$M/Locore.c ${CFILES} param.c | \
|
||||
@ -268,6 +272,7 @@ depend: modules-depend
|
||||
clean: modules-clean
|
||||
cleandepend: modules-cleandepend
|
||||
cleandir: modules-cleandir
|
||||
clobber: modules-clobber
|
||||
tags: modules-tags
|
||||
install: modules-install
|
||||
install.debug: modules-install.debug
|
||||
@ -293,6 +298,9 @@ modules-clean:
|
||||
modules-cleandepend:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend
|
||||
|
||||
modules-clobber: modules-clean
|
||||
rm -rf ${MKMODULESENV}
|
||||
|
||||
modules-cleandir:
|
||||
cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user