makefile吧 关注:103贴子:179
  • 1回复贴,共1

Makefile 有误段修改

只看楼主收藏回复

KERNEL_SRC := $(shell if [ -d /usr/src/linux ]; then echo /usr/src/linux; elif [ -d /usr/src/kernels/$(shell uname -r)-i686; then echo /usr/src/kernels/$(shell uname -r)-i686; else echo /usr/src/kernels/$(shell uname -r); fi)
上段内容有误,请大家帮忙看下。实验发现if判断部分没有执行,只执行最后一句。语法有错吗?


IP属地:北京1楼2013-01-14 16:35回复
    顶一个先


    IP属地:北京2楼2013-01-14 16:41
    回复