aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/ca-certificates
diff options
context:
space:
mode:
authorJianhui Zhao <zhaojh329@gmail.com>2020-11-05 22:28:37 +0800
committerPetr Štetiar <ynezz@true.cz>2020-11-12 18:19:44 +0100
commit8d7a6d48ebd826a68c3149e77ac08cd38a91ecde (patch)
treef3078505f23dbb030d5bad0b950de495ab8ad49d /package/system/ca-certificates
parent7185c5ec7d357897c1379234a00570afe2ee9eff (diff)
downloadupstream-8d7a6d48ebd826a68c3149e77ac08cd38a91ecde.tar.gz
upstream-8d7a6d48ebd826a68c3149e77ac08cd38a91ecde.tar.bz2
upstream-8d7a6d48ebd826a68c3149e77ac08cd38a91ecde.zip
ca-certificates: canonical the build dir
The previous build directory "build_dir/target-xx/work/" contaminated the entire build directory. Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Diffstat (limited to 'package/system/ca-certificates')
-rw-r--r--package/system/ca-certificates/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/system/ca-certificates/Makefile b/package/system/ca-certificates/Makefile
index 239b442ebd..ca3756b34d 100644
--- a/package/system/ca-certificates/Makefile
+++ b/package/system/ca-certificates/Makefile
@@ -14,7 +14,6 @@ PKG_MAINTAINER:=
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/c/ca-certificates
PKG_HASH:=43766d5a436519503dfd65ab83488ae33ab4d4ca3d0993797b58c92eb9ed4e63
-PKG_BUILD_DIR:=$(BUILD_DIR)/work
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@@ -35,6 +34,13 @@ define Package/ca-bundle
PROVIDES:=ca-certs
endef
+define Build/Prepare
+ $(DECOMPRESS_CMD) $(HOST_TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
+ $(Build/Patch)
+endef
+
+MAKE_PATH := work
+
define Build/Install
mkdir -p \
$(PKG_INSTALL_DIR)/usr/sbin \