summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorSean Khan <datapronix@protonmail.com>2024-03-26 19:40:21 -0400
committerRobert Marko <robimarko@gmail.com>2024-04-01 11:08:57 +0200
commit00f8c86624a7d61010a7455e882fa3221187bd87 (patch)
tree498d8a5905ca8880c4ce9957cd23bf98f5ad197e /target/linux/generic
parentcc6c3a6ee83ce4498b983dddb1766b6f056212d3 (diff)
downloadopenwrt-00f8c86624a7d61010a7455e882fa3221187bd87.tar.gz
openwrt-00f8c86624a7d61010a7455e882fa3221187bd87.tar.bz2
openwrt-00f8c86624a7d61010a7455e882fa3221187bd87.zip
qca-ssdk: rework make to allow parallel building
The current build procedure always wipes away build files, this is costly as ssdk is a parent dependency on a whole host of packages and will always end up rebuilding (and in serial) the whole package. This patch includes: 1. Module Building Optimization: Instead of creating a temporary directory (temp) and copying files into it for module building, the directly invoke the module build command with the necessary paths. This simplifies the build process and avoids unnecessary file operations, speeding up the build process and reducing disk usage. 2. Parallel Build Support: By removing the explicit creation of the temporary directory and associated file copying operations, and passing in $(MAKE) $(PKG_JOBS) allows building in parallel. 3. Fix `EXTRA_CFLAGS`: This variable is referenced and set within MAKE_FLAGS, so doesn't preserve spaces. Should have its defined value quoted. Signed-off-by: Sean Khan <datapronix@protonmail.com>
Diffstat (limited to 'target/linux/generic')
0 files changed, 0 insertions, 0 deletions