Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
make "clean-all" equivalent
« previous
next »
Print
Pages: [
1
]
Author
Topic: make "clean-all" equivalent (Read 2528 times)
DanieleZappasodi
Newbie
Posts: 5
Karma: 0
make "clean-all" equivalent
«
on:
May 18, 2022, 09:41:30 am »
Hello,
I need to rebuild OPNSense after an upgrade.
What are the correct steps to clean the build environment (a sort of "make clean-all") before a new make dvd?
Is it enough "make clean-obj"?
Regards,
Daniele
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: make "clean-all" equivalent
«
Reply #1 on:
May 18, 2022, 12:08:55 pm »
What are we talking about.. tools.git?
Cheers,
Franco
Logged
DanieleZappasodi
Newbie
Posts: 5
Karma: 0
Re: make "clean-all" equivalent
«
Reply #2 on:
May 18, 2022, 01:03:37 pm »
Hello Franco,
yes, I'm in "tools" directory.
I have already built the components (ports, src, plugins ecc. with "make dvd" or other "make ...").
Suppose that somethings went wrong during the build process or there is a new OPNSense version, so I need to run a new "make" of OPNSense.
What is the correct way to perform a new "make"?
Regards,
Daniele
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: make "clean-all" equivalent
«
Reply #3 on:
May 18, 2022, 01:52:16 pm »
Hi Daniele,
Well, it depends.
Are plugins or core involved?
make hotfix-core
make hotfix-plugins
Are ports involved?
make clean-packages packages
Mind you rebuilding ports again takes a long time.
Base/kernel are just loose components like "packages" concept and can be rebuilt independently.
make kernel-again / make clean-kernel kernel
make base-again / make clean-base base
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
make "clean-all" equivalent