1
1

Force single core compilation

This commit is contained in:
2026-04-19 18:32:26 +02:00
parent b5e96a05d8
commit c9bca5e3c0
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ Build guide for VMG8825-B50B V5.17(ABNY.7)C0
Clean and build the firmware
$ make dirclean
$ make -j${nproc} V=s
$ make -j1 V=sc
It is important to compile with -j1 because forcing multicore can cause problems when compiling libjson-c
6. The image is in the images directory.
+2 -2
View File
@@ -10,10 +10,10 @@ echo "Building Docker image ${IMAGE_NAME}..."
docker build -t ${IMAGE_NAME} .
echo "Starting container..."
docker run --cpus="8" -it --name ${CONTAINER_NAME} \
docker run --cpus="1" -it --name ${CONTAINER_NAME} \
-e TERM=vt100 \
${IMAGE_NAME} \
/bin/bash -c "cd /home/builder/openwrt && bash"
/bin/bash -c "cd /home/builder/openwrt && make -j1 V=sc"
docker cp ${CONTAINER_NAME}:.config ./.config-build
docker cp ${CONTAINER_NAME}:defconfig.log ./defconfig-build.log