X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Fipkg;h=428dabc3326034deca1b4702ddbe85af581bfe8c;hb=9707abe87559d89a0610ee9c5e18bcd569e38cdc;hp=2fd39ebb66065bd9ae4302dc340d3c3eea409194;hpb=41a3c942f728b24569714610b5b08ab7b36e430e;p=hvlinux.git diff --git a/functions/ipkg b/functions/ipkg index 2fd39eb..428dabc 100644 --- a/functions/ipkg +++ b/functions/ipkg @@ -80,7 +80,12 @@ hvconfig() hvbuild() { ${HVMAKE} - ${HVMAKE} install + + if [ -n "${INSTALL_DIR}" ]; then + ${HVMAKE} DESTDIR=${INSTALL_DIR} install + else + ${HVMAKE} install + fi } # Default patch applying function