Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1490422
  • 博文数量: 129
  • 博客积分: 1449
  • 博客等级: 上尉
  • 技术积分: 3048
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-24 18:36
文章分类

全部博文(129)

文章存档

2015年(3)

2014年(20)

2013年(65)

2012年(41)

分类: LINUX

2013-01-21 11:18:49

http://blog.chinaunix.net/uid-9525959-id-2001841.html


UNDEF_SYM=`mips-openwrt-linux-uclibc-objdump -x lib_bootstrap/libbootstrap.a  board/ar7240/ap121/libap121.a  cpu/mips/libmips.a cpu/mips/ar7240/libar7240.a |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
mips-openwrt-linux-uclibc-ld -Bstatic -T /home/xxg/wr703n-uboot-with-web-failsafe-read-only/u-boot/board/ar7240/ap121/u-boot-bootstrap.lds -Ttext 0x9f000000  -G 0 -static -n -nostdlib $UNDEF_SYM cpu/mips/start_bootstrap.o \
--start-group lib_bootstrap/libbootstrap.a  board/ar7240/ap121/libap121.a  cpu/mips/libmips.a cpu/mips/ar7240/libar7240.a --end-group -L /home/xxg/wr703n-uboot-with-web-failsafe-read-only/toolchain/OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.6-linaro_uClibc-0.9.33/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.6.3 -lgcc \
-Map bootstrap.map -o bootstrap
mips-openwrt-linux-uclibc-objcopy --gap-fill=0xff -O binary bootstrap bootstrap.bin

阅读(1826) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~