logo

한국어

kernel compile

관리자 2014.06.02 17:49 조회 수 : 20

export LINUX_SRC_DIR=/home/hasu0707/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.36
export INCLUDE_DIR=/home/hasu0707/openwrt/staging_dir/host/include
export OUTPUT_DIR=/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x

make -C ${LINUX_SRC_DIR} \
HOSTCFLAGS="-O2 -I${INCLUDE_DIR} -Wall -Wmissing-prototypes -Wstrict-prototypes" \
CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" \
ARCH="mips" \
KBUILD_HAVE_NLS=no \
CONFIG_SHELL="/bin/bash" \
V=''

mipsel-openwrt-linux-uclibc-objcopy \
-O binary \
-R .reginfo \
-R .notes \
-R .note \
-R .comment \
-R .mdebug \
-R .note.gnu.build-id \
-S ${OUTPUT_DIR}/linux-3.10.36/vmlinux \
${OUTPUT_DIR}/vmlinux

mipsel-openwrt-linux-uclibc-objcopy \
-R .reginfo \
-R .notes \
-R .note \
-R .comment \
-R .mdebug \
-R .note.gnu.build-id \
-S ${OUTPUT_DIR}/linux-3.10.36/vmlinux \
${OUTPUT_DIR}/vmlinux.elf


번호 제목 날짜 조회 수
8 OpenWRT Package 제작 2014.05.02 80
7 OpenWRT Boot Sequence 2014.05.17 56
6 TP-Link TL-WR740N 2014.05.03 51
5 SL-R6804 정보 file 2014.05.23 51
4 OpenWRT에 pure-ftpd 설치하기 2014.05.04 33
3 [OpenWRT] gnutls 컴파일 오류 해결방법 2014.05.24 33
2 CentOS x86_64에 libmagic 최신버전 설치 2014.04.25 20
» kernel compile 2014.06.02 20