Do not require external vppapigen when not cross-compiling
[vpp.git] / build-data / platforms.mk
index 6f21b6d..e192155 100644 (file)
@@ -76,7 +76,7 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
           >> deb/debian/vpp.install ;                                  \
                                                                        \
        : dev package needs a couple of additions ;                     \
-       echo ../build-tool-native/tools/vppapigen /usr/bin              \
+       echo ../$(INSTALL_PREFIX)$(ARCH)/vpp/bin/vppapigen /usr/bin     \
           >> deb/debian/vpp-dev.install ;                              \
        echo ../../src/vpp-api/java/jvpp/gen/jvpp_gen.py /usr/bin       \
           >> deb/debian/vpp-dev.install ;                              \