Ubuntu系统编译整个osdrv目录:
make OSDRV_CROSS=arm-hisiv100nptl-linux all 时出现错误。
如下:
make[10]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[9]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[8]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[7]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[6]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[5]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[4]: *** [hidrv] 错误 127
/bin/sh: popd: not found
make[3]: *** [hibusybox] 错误 127
/bin/sh: popd: not found
make[2]: *** [hidrv] 错误 127
改成一下运行:
make OSDRV_CROSS=arm-hisiv100nptl-linux all SHELL=bash