logo

한국어

kernel compile

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

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 VLAN 설정 2014.05.14 229
7 OpenWRT에 pure-ftpd 설치하기 2014.05.04 32
6 ipTIME N604M 2014.05.03 178
5 TP-Link TL-WR740N 2014.05.03 44
4 OpenWRT StrongSwan IPSec VPN 설정 file 2014.05.02 135
3 OpenWRT Package 제작 2014.05.02 55
2 OpenWRT Cross Compile 2014.05.01 328
1 CentOS x86_64에 libmagic 최신버전 설치 2014.04.25 18