[openwrt/openwrt] treewide: remove PKG_INSTALL from CMake packages
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 19 23:46:49 PDT 2021
aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3dabb62581ccff92e51cadb05f15de4ba8000e1b
commit 3dabb62581ccff92e51cadb05f15de4ba8000e1b
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Fri Jun 18 20:43:28 2021 -0700
treewide: remove PKG_INSTALL from CMake packages
It's already default with cmake.mk
Found with:
git grep PKG_INSTALL\: | cut -d ':' -f 1 | sort -u > ins
git grep cmake.mk | cut -d ':' -f 1 > cmake
comm -1 -2 ins cmake
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
package/libs/mbedtls/Makefile | 2 --
package/network/services/odhcpd/Makefile | 1 -
package/system/opkg/Makefile | 2 --
3 files changed, 5 deletions(-)
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index 6add1f401a..2bac22b6ac 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -87,8 +87,6 @@ This package contains mbedtls helper programs for private key and
CSR generation (gen_key, cert_req)
endef
-PKG_INSTALL:=1
-
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile
index d9a320d17a..05174a5092 100644
--- a/package/network/services/odhcpd/Makefile
+++ b/package/network/services/odhcpd/Makefile
@@ -19,7 +19,6 @@ PKG_MIRROR_HASH:=a0644d31f99f20e5c2cee74153b81a0c2eae9ebeb644662cc76b0984b44dd49
PKG_MAINTAINER:=Hans Dedecker <dedeckeh at gmail.com>
PKG_LICENSE:=GPL-2.0
-PKG_INSTALL:=1
PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_odhcpd_$(BUILD_VARIANT)_ext_cer_id
PKG_ASLR_PIE_REGULAR:=1
diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index 9f352e83c0..bd9fab474c 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -26,8 +26,6 @@ PKG_CONFIG_DEPENDS += \
CONFIG_SIGNATURE_CHECK \
CONFIG_TARGET_INIT_PATH
-PKG_INSTALL:=1
-
HOST_BUILD_DEPENDS:=libubox/host
include $(INCLUDE_DIR)/package.mk
More information about the lede-commits
mailing list