MT#55283 allow for non-ngcp named build profiles

Change-Id: I56d049fc07a6ec400092bb3f8aa6cfcdefca3dc8
pull/2123/head
Richard Fuchs 3 months ago
parent dd4c127ffd
commit 7b41827160

@ -17,7 +17,7 @@ ifeq ($(with_transcoding),yes)
$(MAKE) -C recording-daemon
$(MAKE) -C perf-tester
endif
ifneq (,$(filter $(DEB_BUILD_PROFILES),pkg.ngcp-rtpengine.pysip-lite))
ifneq (,$(filter pkg.ngcp-rtpengine.pysip-lite pkg.rtpengine.pysip-lite,$(DEB_BUILD_PROFILES)))
$(MAKE) -C python
endif

@ -4,10 +4,10 @@ $(top_srcdir)/config.mk: $(top_srcdir)/utils/gen-common-flags \
$(top_srcdir)/utils/gen-bcg729-flags \
$(top_srcdir)/utils/gen-codec-chain-flags
$(top_srcdir)/utils/gen-common-flags >$@.new
ifeq (,$(filter pkg.ngcp-rtpengine.nobcg729,${DEB_BUILD_PROFILES}))
ifeq (,$(filter pkg.ngcp-rtpengine.nobcg729 pkg.rtpengine.nobcg729,$(DEB_BUILD_PROFILES)))
$(top_srcdir)/utils/gen-bcg729-flags >>$@.new
endif
ifneq (,$(filter pkg.ngcp-rtpengine.codec-chain,${DEB_BUILD_PROFILES}))
ifneq (,$(filter pkg.ngcp-rtpengine.codec-chain pkg.rtpengine.codec-chain,$(DEB_BUILD_PROFILES)))
$(top_srcdir)/utils/gen-codec-chain-flags >>$@.new
endif
mv $@.new $@

@ -23,7 +23,7 @@ CFLAGS+= $(CFLAGS_LIBSYSTEMD)
LDLIBS+= $(LDLIBS_LIBSYSTEMD)
# look for liburing
ifeq (,$(filter pkg.ngcp-rtpengine.nouring,${DEB_BUILD_PROFILES}))
ifeq (,$(filter pkg.ngcp-rtpengine.nouring pkg.rtpengine.nouring,$(DEB_BUILD_PROFILES)))
CFLAGS+= $(CFLAGS_LIBURING)
LDLIBS+= $(LDLIBS_LIBURING)
endif
@ -36,7 +36,7 @@ endif
LDFLAGS += -rdynamic
ifneq ($(DBG),yes)
ifeq (,$(filter $(CFLAGS),-O0))
ifeq (,$(filter -O0,$(CFLAGS)))
CFLAGS+= $(CFLAGS_DEFAULT)
CPPFLAGS+= $(CPPFLAGS_DEFAULT)
LDFLAGS+= $(LDFLAGS_DEFAULT)

Loading…
Cancel
Save