summaryrefslogtreecommitdiffstats
path: root/build-data/platforms.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-data/platforms.mk')
-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 8a18ec14d5c..625006b474f 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) ..