aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorSachin <sachin.saxena@nxp.com>2016-06-18 15:28:08 +0530
committerSachin <sachin.saxena@nxp.com>2016-06-18 15:28:08 +0530
commit693b7026a8da00d4b325f1cde09959d88696b294 (patch)
tree8a76a43aa094b90a391caa117351074d631cc71e /build-data
parent98897e26ceb10f46b890db24a949145d52353087 (diff)
Enhanced RPM build process to make rpm for any given platform
- Currently default rpm.spec only look for "install-vpp-native" Change-Id: Iaa78c46ae62d2747bda6ffc1189cb8ac6d578bd8 Signed-off-by: Sachin <sachin.saxena@nxp.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk
index 8a18ec14..625006b4 100644
--- a/build-data/platforms.mk
+++ b/build-data/platforms.mk
@@ -72,6 +72,7 @@ install-rpm: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
$(ROOT_PACKAGES)) || exit 1; \
\
cd rpm ; \
- rpmbuild -bb --define "_topdir $$PWD" vpp.spec ; \
+ rpmbuild -bb --define "_topdir $$PWD" --define \
+ "_install_dir $(INSTALL_PREFIX)$(ARCH)" vpp.spec ; \
mv $$(find RPMS -name \*.rpm -type f) ..