diff options
author | Damjan Marion <damarion@cisco.com> | 2022-04-05 19:26:51 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2022-04-06 08:19:14 +0000 |
commit | aa659ef5c311016b57433e93269aa027e1e6b159 (patch) | |
tree | 35da464b5382e723ee279359476948cc9479260d /build/external | |
parent | 4ab55146ae2044a278a0110f9d26816f005e54bf (diff) |
build: remove nasm
Type: make
Change-Id: I5ee34e9d7156ccdc7a8310e8332347d850459495
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build/external')
-rw-r--r-- | build/external/Makefile | 5 | ||||
-rw-r--r-- | build/external/packages/ipsec-mb.mk | 2 | ||||
-rw-r--r-- | build/external/packages/nasm.mk | 21 | ||||
-rw-r--r-- | build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch | 13 | ||||
-rw-r--r-- | build/external/patches/ipsec-mb_0.55/0001-nasm-ver-check-fix.patch | 13 |
5 files changed, 2 insertions, 52 deletions
diff --git a/build/external/Makefile b/build/external/Makefile index 50d3ed30fa2..9f6a6cee476 100644 --- a/build/external/Makefile +++ b/build/external/Makefile @@ -36,7 +36,6 @@ endif ARCH_X86_64=$(filter x86_64,$(shell uname -m)) include packages.mk -include packages/nasm.mk include packages/ipsec-mb.mk include packages/quicly.mk include packages/dpdk.mk @@ -48,10 +47,10 @@ clean: @rm -rf $(B) $(I) .PHONY: install -install: $(if $(ARCH_X86_64), nasm-install ipsec-mb-install) dpdk-install rdma-core-install quicly-install libbpf-install +install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install rdma-core-install quicly-install libbpf-install .PHONY: config -config: $(if $(ARCH_X86_64), nasm-config ipsec-mb-config) dpdk-config rdma-core-config quicly-build +config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build ############################################################################## # .deb packaging diff --git a/build/external/packages/ipsec-mb.mk b/build/external/packages/ipsec-mb.mk index 364964401a1..8750dc2d493 100644 --- a/build/external/packages/ipsec-mb.mk +++ b/build/external/packages/ipsec-mb.mk @@ -22,7 +22,6 @@ ipsec-mb_tarball_md5sum_1.2 := f551d9c208893a436c1f5c146a615bd6 ipsec-mb_tarball_md5sum := $(ipsec-mb_tarball_md5sum_$(ipsec-mb_version)) ipsec-mb_tarball_strip_dirs := 1 ipsec-mb_url := http://github.com/01org/intel-ipsec-mb/archive/$(ipsec-mb_tarball) -ipsec-mb_depends := nasm define ipsec-mb_config_cmds @true @@ -35,7 +34,6 @@ define ipsec-mb_build_cmds SAFE_LOOKUP=n \ SAFE_DATA=n \ PREFIX=$(ipsec-mb_install_dir) \ - NASM=$(ipsec-mb_install_dir)/bin/nasm \ EXTRA_CFLAGS="-g -msse4.2" > $(ipsec-mb_build_log) endef diff --git a/build/external/packages/nasm.mk b/build/external/packages/nasm.mk deleted file mode 100644 index 2a5ce018b1f..00000000000 --- a/build/external/packages/nasm.mk +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -nasm_version := 2.14.02 -nasm_tarball := nasm-$(nasm_version).tar.xz -nasm_tarball_md5sum := 6390bd67b07ff1df9fe628b6929c0353 -nasm_tarball_strip_dirs := 1 -nasm_url := https://ftp.osuosl.org/pub/blfs/conglomeration/nasm/$(nasm_tarball) -nasm_cflags := -Wno-implicit-fallthrough -std=c11 - -$(eval $(call package,nasm)) diff --git a/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch b/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch deleted file mode 100644 index d4023916d46..00000000000 --- a/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 329da9f..c7fa8ad 100644 ---- a/Makefile -+++ b/Makefile -@@ -51,7 +51,7 @@ YASM ?= yasm - NASM ?= nasm - - # Detect NASM version (minimum version required: 2.14) --NASM_VERSION = $(shell nasm -v | cut -d " " -f 3) -+NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3) - - NASM_MAJOR_REQ = 2 - NASM_MINOR_REQ = 14 diff --git a/build/external/patches/ipsec-mb_0.55/0001-nasm-ver-check-fix.patch b/build/external/patches/ipsec-mb_0.55/0001-nasm-ver-check-fix.patch deleted file mode 100644 index 7c2e9477ada..00000000000 --- a/build/external/patches/ipsec-mb_0.55/0001-nasm-ver-check-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/lib/Makefile b/lib/Makefile -index 3831172..9ce6f4c 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -51,7 +51,7 @@ YASM ?= yasm - NASM ?= nasm - - # Detect NASM version (minimum version required: 2.14) --NASM_VERSION = $(shell nasm -v | cut -d " " -f 3) -+NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3) - - NASM_MAJOR_REQ = 2 - NASM_MINOR_REQ = 14 |