commit dfe918c18dda5d886b5ea6bccd372f3b8443b043
parent c06f4a44e0102dc3e3ee76f85265b35e90bc5b34
Author: sin <sin@2f30.org>
Date: Wed, 14 Jun 2017 18:00:13 +0100
sysbuild: No need to rm object files
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sysbuild b/sysbuild
@@ -13,8 +13,8 @@ NCPU=$(sysctl -n hw.ncpufound)
test $NCPU -eq 1 && K=GENERIC
upgradekernel() {
- rm -rf /usr/obj/sys
cd /usr/src/sys/arch/$(machine)/compile/$K
+ make clean
make obj
make config
make
@@ -23,14 +23,12 @@ upgradekernel() {
}
upgradeworld() {
- rm -rf /usr/obj/*
cd /usr/src
make obj
make build
}
upgradexenocara() {
- rm -rf /usr/xobj/*
cd /usr/xenocara
make bootstrap
make obj