openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

How to solve the problem of recompiling from beginning by running 'make'

Open atyouspace opened this issue 1 year ago • 3 comments

Expected Behavior

Running make -j1 V=s, recompiling from the beginning is not needed. Because I only did minor revision.

Current Behavior

Every time I run make, recompile rather than compiling the modified files. I did not modify the Makefile. How to solve this problem?

Specifications

  • OpenMPTCProuter version: --- 0.6beta1 --
  • OpenMPTCProuter VPS version:
  • OpenMPTCProuter VPS provider:
  • OpenMPTCProuter platform: --- imx6 --

atyouspace avatar Jan 03 '24 02:01 atyouspace

You can do a make -j$(nproc), it's faster than a -j1. It's not recompiling from beginning if run in source directory. You can also compile a specific package with make package/network/utils/nftables/compile for example and install it with make package/install && make target/install

Ysurac avatar Jan 03 '24 10:01 Ysurac

You can do a make -j$(nproc), it's faster than a -j1. It's not recompiling from beginning if run in source directory. You can also compile a specific package with make package/network/utils/nftables/compile for example and install it with make package/install && make target/install

Does it have anything to do with whether the platform is not supported? I found rm -f ... will run firstly after make

atyouspace avatar Jan 03 '24 11:01 atyouspace

This doesn't have to do anything with supported or not supported platform. If you do only a make some part are recompiled and some not. It use OpenWRT build system.

Ysurac avatar Jan 03 '24 12:01 Ysurac

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Apr 02 '24 18:04 github-actions[bot]