From 04c684efff1498f99f7757324567e2a01d1a0d52 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 30 Apr 2022 15:48:18 -0500 Subject: [System:Packager] Don't pretty up PKG_BUILD_TARGET --- system/packager/base.mk | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/system/packager/base.mk b/system/packager/base.mk index 3a3f8d76a..b9526faa9 100644 --- a/system/packager/base.mk +++ b/system/packager/base.mk @@ -177,22 +177,10 @@ endif # --------------------------------------------------------------------------------------------------------------------- -# TARGET_OS/TARGET_CPU may be un-intuitive, so we hardcode some special formats +# The Mozilla default is $(TARGET_OS)-$(TARGET_CPU) but also prettifies it for windows and linux. BinOC wants it to +# match the XPCOM info. ifndef PKG_BUILD_TARGET -PKG_BUILD_TARGET := $(TARGET_OS)-$(TARGET_CPU) -ifeq ($(OS_ARCH),WINNT) -ifeq ($(TARGET_CPU),x86_64) -PKG_BUILD_TARGET := win64 -else -PKG_BUILD_TARGET := win32 -endif -endif -ifeq ($(TARGET_OS),linux-gnu) -PKG_BUILD_TARGET := linux-$(TARGET_CPU) -endif -ifeq ($(OS_ARCH),SunOS) -PKG_BUILD_TARGET := sunos-$(TARGET_CPU) -endif +PKG_BUILD_TARGET := $(OS_TARGET)-$(TARGET_XPCOM_ABI) endif # PKG_BUILD_TARGET # --------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3