📄 makefile
字号:
# call me like this...# "# make PREFIX=/some/where/to/install target=relook300 install" or...# "# make PREFIX=/some/where/to/install target=relook400 install"#TOP = $(shell pwd)#version = 1.2.1version = 1.1.3#version = 1.00# bug on e2fsprogs# mkfs후 마운트하지 못한다.#version = 1.1.0target = relook400sPREFIX = $(TOP)/target# configure and build.PHONY: all clean distclean install configureall: .$(target)_buildclean: rm -Rf $(target)_busybox.$(version) rm -f .$(target)_install rm -f .$(target)_build rm -f .$(target)_configure rm -f .$(target)_sourcedistclean: clean rm -f busybox-$(version).tar.gz rm -rf busybox-$(version)install: .$(target)_install.$(target)_configure: .$(target)_source $(target)_$(version)_config cp -f $(target)_$(version)_config $(target)_busybox.$(version)/.config make -C $(target)_busybox.$(version) oldconfig make -C $(target)_busybox.$(version) dep touch $@.$(target)_build: .$(target)_configure make -C $(target)_busybox.$(version) touch $@.$(target)_install: .$(target)_build make -C $(target)_busybox.$(version) PREFIX=$(PREFIX) install# get and unpack.busybox-$(version).tar.gz: wget http://www.busybox.net/downloads/busybox-$(version).tar.gz || \ wget ftp://dev.dgstation.co.kr/pub/common/downloads/mirror/busybox-$(version).tar.gzbusybox-$(version): busybox-$(version).tar.gz tar zxf $< if test -d $(TOP)/patchs/$(version); then \ for file in $(TOP)/patchs/$(version)/*; do \ if test -f $$file ; then \ echo appling $$file; \ ( cd $@ && patch -p1 < $$file; ) || exit 1; \ fi \ done \ fi touch $@.$(target)_source: busybox-$(version) cp -Rdp $< $(target)_busybox.$(version) touch $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -