上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 1 SRCS := $(wildcard *.c) 2 OBJS := $(patsubst %.c,%.o,$(SRCS) ) //把$(SRCS)中的文件.c全部换成.o文件 3 all: 4 @echo "SRCS:" $(SRCS) //@表示这条指令不再文本界面显示出来 5... 阅读全文
posted @ 2015-07-09 10:36 haoxing990 阅读(290) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-07-09 09:51 haoxing990 阅读(1) 评论(0) 推荐(0) 编辑
摘要: linux文本界面../和./的区别../代表的是上一个目录./代表的当前目录 阅读全文
posted @ 2015-07-09 09:36 haoxing990 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1 /* 2 * Copyright (C) 2012 Freescale Semiconductor, Inc. 3 * 4 * Configuration settings for the MX6Q Sabre Lite2 Freescale board. 5 * 6 *... 阅读全文
posted @ 2015-07-08 17:05 haoxing990 阅读(561) 评论(0) 推荐(0) 编辑
摘要: ## (C) Copyright 2000-2006# Wolfgang Denk, DENX Software Engineering, wd@denx.de.## See file CREDITS for list of people who contributed to this# proje... 阅读全文
posted @ 2015-07-08 16:11 haoxing990 阅读(573) 评论(0) 推荐(0) 编辑
摘要: VERSION = 2009PATCHLEVEL = 08SUBLEVEL =EXTRAVERSION =ifneq "$(SUBLEVEL)" ""U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)elseU_B... 阅读全文
posted @ 2015-07-08 15:06 haoxing990 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: GNU make:http://www.gnu.org/software/make/manual/make.html#Rules 为了便于理解把uboot中的Makefile配置部分弄出来便于理解,这里贴出我的Makefile配置部分。我的是FREESCALE的mx6q_sabresd开发板 mx6 阅读全文
posted @ 2015-07-08 13:48 haoxing990 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: addprefix 是makefile中的函数,是添加前缀的函数例如:$(addprefix src/,foo bar)返回值为“src/foo src/bar”.所以上面的意思是为dirver_dirs变量添加前缀,$(DRIVERS_DIR)/ 阅读全文
posted @ 2015-07-08 13:25 haoxing990 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 在Makefile规则中,通配符会被自动展开。但在变量的定义和函数引用时,通配符将失效。这种情况下如果需要通配符有效,就需要使用函数“wildcard”,它的用法是:$(wildcard PATTERN...)。在Makefile中,它被展开为已经存在的、使用空格分开的、匹配此模式的所有文件列表。如... 阅读全文
posted @ 2015-07-08 10:32 haoxing990 阅读(50543) 评论(0) 推荐(4) 编辑
摘要: haoxin$ sed --helpUsage: sed [OPTION]... {script-only-if-no-other-script} [input-file]... -n, --quiet, --silent suppress automatic pr... 阅读全文
posted @ 2015-07-08 09:24 haoxing990 阅读(1548) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页