Force single core compilation
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user