크로스컴파일 중인데, 사소한 문제가 하나 발생했습니다.
타겟보드가 2개라서 .profile 파일(호스트는 우분투환경입니다.)
에서 환경변수를 등록하면 타겟보드가 바뀔 때 마다 .profile 변경해야 되서
makefile 안에
------------------------------------------------------
...
STAGING_DIR := somthing...
CC = mips-openwrt-linux-gcc
...
------------------------------------------------------
요로코롬 넣고 쉘에서 컴파일 시도하니까
------------------------------------------------------
...
mips-openwrt-linux-gcc: warning: environment variable 'STAGING_DIR' not defined