CROSS_COMPILE := $(shell if [ -f .cross_compile ]; then \
     cat .cross_compile; \

     fi)


-f file: ture if file exists and is a regular file

-s file: true if file exists and has a size greater than zero

Logo

更多推荐