From 08542e22a3be833d13950c3f6313dd97d7cfb00b Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Oct 2025 10:40:32 -0700 Subject: [PATCH] gn: Delete Recipe moved to OE-core Signed-off-by: Khem Raj Signed-off-by: Jon Mason --- meta-arm/recipes-devtools/gn/gn_git.bb | 46 -------------------------- 1 file changed, 46 deletions(-) delete mode 100644 meta-arm/recipes-devtools/gn/gn_git.bb diff --git a/meta-arm/recipes-devtools/gn/gn_git.bb b/meta-arm/recipes-devtools/gn/gn_git.bb deleted file mode 100644 index abc81a95..00000000 --- a/meta-arm/recipes-devtools/gn/gn_git.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "GN is a meta-build system that generates build files for Ninja" -DEPENDS += "ninja-native" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" - -UPSTREAM_CHECK_COMMITS = "1" - -SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main" -SRCREV = "4ce861fc06ec87ff74eb6a17ebbd55e4755ebdeb" -PV = "0+git" - -B = "${WORKDIR}/build" - -# Map from our _OS strings to the GN's platform values. -def gn_platform(variable, d): - os = d.getVar(variable) - if "linux" in os: - return "linux" - elif "mingw" in os: - return "mingw" - else: - return os - -do_configure[cleandirs] += "${B}" -do_configure() { - python3 ${S}/build/gen.py \ - --platform=${@gn_platform("TARGET_OS", d)} \ - --out-path=${B} \ - --no-static-libstdc++ \ - --no-strip -} - -do_compile() { - ninja -C ${B} --verbose -} - -do_install() { - install -d ${D}${bindir} - install ${B}/gn ${D}${bindir} -} - -BBCLASSEXTEND = "native" - -COMPATIBLE_HOST = "^(?!riscv32).*" -CFLAGS += "-Wno-error=maybe-uninitialized"