Do not export the wrapInstall function when porg style is not in use
This commit is contained in:
parent
45f8a9c86d
commit
322226dbf8
2 changed files with 4 additions and 1 deletions
|
@ -45,6 +45,7 @@ ADD_REPORT = $REPORT
|
||||||
ADD_CUSTOM_TOOLS = $CUSTOM_TOOLS
|
ADD_CUSTOM_TOOLS = $CUSTOM_TOOLS
|
||||||
ADD_BLFS_TOOLS = $BLFS_TOOL
|
ADD_BLFS_TOOLS = $BLFS_TOOL
|
||||||
PKGMNGT = $PKGMNGT
|
PKGMNGT = $PKGMNGT
|
||||||
|
WRAP_INSTALL = $WRAP_INSTALL
|
||||||
|
|
||||||
|
|
||||||
export PATH := \${PATH}:/usr/sbin
|
export PATH := \${PATH}:/usr/sbin
|
||||||
|
|
|
@ -115,7 +115,9 @@ define get_pkg_root2
|
||||||
echo "export PKG_DEST=$(SRC)/$@" >> envars; \
|
echo "export PKG_DEST=$(SRC)/$@" >> envars; \
|
||||||
echo "source packInstall.sh" >> envars; \
|
echo "source packInstall.sh" >> envars; \
|
||||||
echo "export -f packInstall" >> envars; \
|
echo "export -f packInstall" >> envars; \
|
||||||
echo "export -f wrapInstall" >> envars; \
|
if [ "$(WRAP_INSTALL)" = "y" ]; then \
|
||||||
|
echo "export -f wrapInstall" >> envars; \
|
||||||
|
fi; \
|
||||||
fi;
|
fi;
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Reference in a new issue