From bb2da6dcb58d2359059b1aca126fcf8c828f32f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Mon, 1 Dec 2025 09:02:50 +0100 Subject: [PATCH] build: fix BUILD_ARGS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Commit ef8de928da7f forced DHCPV4_SUPPORT and UBUS cmake options, but should have fixed BUILD_ARGS instead (-WITH_UBUS=ON -> -DUBUS=ON). Fixes: ef8de928da7f ("build: enable DHCPV4_SUPPORT and UBUS") Signed-off-by: Álvaro Fernández Rojas --- scripts/devel-build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/devel-build.sh b/scripts/devel-build.sh index e937185..46c565b 100755 --- a/scripts/devel-build.sh +++ b/scripts/devel-build.sh @@ -11,7 +11,7 @@ if [ ! -e "CMakeLists.txt" ] || [ ! -e "src/odhcpd.c" ]; then fi if [ $# -eq 0 ]; then - BUILD_ARGS="-DDHCPV4_SUPPORT=ON -WITH_UBUS=ON" + BUILD_ARGS="-DDHCPV4_SUPPORT=ON -DUBUS=ON" else BUILD_ARGS="$@" fi @@ -94,8 +94,6 @@ cd "${ODHCPDDIR}" cmake \ -S . \ -B "${BUILDDIR}" \ - -DDHCPV4_SUPPORT=ON \ - -DUBUS=ON \ -DCMAKE_PREFIX_PATH="${BUILDDIR}" \ ${BUILD_ARGS} make -C "${BUILDDIR}" -- 2.30.2