1. 基本信息:
2. 过程分析 下载的稳定版本,configure已经存在,直接进行配置: [root@linux readline-5.1]# ./configure --host=$ARCH-linux --prefix=$ROOTFS_DIR/usr
OK,配置成功,编译: [root@linux readline-5.1]# make && make install
OK,编译成功。少有的顺利!
3. 构建处方 l readline.mk
READLINE_DIR="readline-5.1"
all: clean config build
config: @cd $(READLINE_DIR) && ./configure --prefix=$$ROOTFS_DIR/usr --host=$$ARCH-linux && echo "config done"
build: @cd $(READLINE_DIR) && make && make install && echo "build done"
clean: @cd $(READLINE_DIR) && if [ -e Makefile ]; then make distclean; fi && echo "clean done"
1. 基本信息:
2. 过程分析 下载的稳定版本,configure已经存在,直接进行配置: [root@linux ncurses-5.5]# ./configure --host=$ARCH-linux --prefix=$ROOTFS_DIR/usr
OK,配置成功,编译: [root@linux ncurses-5.5]# make && make install
OK,编译成功。少有的顺利!
3. 构建处方 l ncurses.mk NCURSES_DIR="ncurses-5.5"
all: clean config build
config: @cd $(NCURSES_DIR) && ./configure --prefix=$$ROOTFS_DIR/usr --host=$$ARCH-linux && echo "config done"
build: @cd $(NCURSES_DIR) && make && make install && echo "build done"
clean: @cd $(NCURSES_DIR) && if [ -e Makefile ]; then make distclean; fi && echo "clean done" |
|