Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
fa8f9508
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fa8f9508
编写于
10月 17, 2013
作者:
M
Masahiro Yamada
提交者:
Tom Rini
10月 31, 2013
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARM: convert makefiles to Kbuild style
Signed-off-by:
N
Masahiro Yamada
<
yamada.m@jp.panasonic.com
>
上级
3d9c8473
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
65 addition
and
429 deletion
+65
-429
arch/arm/cpu/arm1136/Makefile
arch/arm/cpu/arm1136/Makefile
+2
-24
arch/arm/cpu/arm1136/mx31/Makefile
arch/arm/cpu/arm1136/mx31/Makefile
+3
-24
arch/arm/cpu/arm1136/mx35/Makefile
arch/arm/cpu/arm1136/mx35/Makefile
+3
-25
arch/arm/cpu/arm1176/Makefile
arch/arm/cpu/arm1176/Makefile
+2
-24
arch/arm/cpu/arm1176/bcm2835/Makefile
arch/arm/cpu/arm1176/bcm2835/Makefile
+2
-23
arch/arm/cpu/arm1176/tnetv107x/Makefile
arch/arm/cpu/arm1176/tnetv107x/Makefile
+2
-25
arch/arm/cpu/arm946es/Makefile
arch/arm/cpu/arm946es/Makefile
+2
-24
arch/arm/cpu/arm_intcm/Makefile
arch/arm/cpu/arm_intcm/Makefile
+2
-24
arch/arm/cpu/ixp/Makefile
arch/arm/cpu/ixp/Makefile
+4
-26
arch/arm/cpu/pxa/Makefile
arch/arm/cpu/pxa/Makefile
+6
-30
arch/arm/cpu/sa1100/Makefile
arch/arm/cpu/sa1100/Makefile
+3
-25
arch/arm/cpu/tegra-common/Makefile
arch/arm/cpu/tegra-common/Makefile
+2
-23
arch/arm/cpu/tegra114-common/Makefile
arch/arm/cpu/tegra114-common/Makefile
+1
-22
arch/arm/cpu/tegra20-common/Makefile
arch/arm/cpu/tegra20-common/Makefile
+4
-25
arch/arm/cpu/tegra30-common/Makefile
arch/arm/cpu/tegra30-common/Makefile
+1
-25
arch/arm/lib/Makefile
arch/arm/lib/Makefile
+26
-60
未找到文件。
arch/arm/cpu/arm1136/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,27 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS
=
cpu.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
$(SOBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
extra-y
=
start.o
obj-y
=
cpu.o
arch/arm/cpu/arm1136/mx31/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,27 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
.o
COBJS
+=
generic.o
COBJS
+=
timer.o
COBJS
+=
devices.o
SRCS
:=
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
generic.o
obj-y
+=
timer.o
obj-y
+=
devices.o
arch/arm/cpu/arm1136/mx35/Makefile
浏览文件 @
fa8f9508
...
...
@@ -7,28 +7,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
.o
COBJS
+=
generic.o
COBJS
+=
timer.o
COBJS
+=
mx35_sdram.o
SRCS
:=
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
generic.o
obj-y
+=
timer.o
obj-y
+=
mx35_sdram.o
arch/arm/cpu/arm1176/Makefile
浏览文件 @
fa8f9508
...
...
@@ -8,27 +8,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS
=
cpu.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
$(SOBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
extra-y
=
start.o
obj-y
=
cpu.o
arch/arm/cpu/arm1176/bcm2835/Makefile
浏览文件 @
fa8f9508
...
...
@@ -12,26 +12,5 @@
# GNU General Public License for more details.
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
.o
SOBJS
:=
lowlevel_init.o
COBJS
:=
init.o reset.o timer.o mbox.o
SRCS
:=
$(SOBJS:.o=.c)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
:=
lowlevel_init.o
obj-y
+=
init.o reset.o timer.o mbox.o
arch/arm/cpu/arm1176/tnetv107x/Makefile
浏览文件 @
fa8f9508
...
...
@@ -2,28 +2,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
.o
COBJS
+=
aemif.o clock.o init.o mux.o timer.o
SOBJS
+=
lowlevel_init.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
$(SOBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
aemif.o clock.o init.o mux.o timer.o
obj-y
+=
lowlevel_init.o
arch/arm/cpu/arm946es/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,28 +5,6 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
extra-y
=
start.o
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS
=
cpu.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
$(SOBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
=
cpu.o
arch/arm/cpu/arm_intcm/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,27 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS
=
cpu.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
$(SOBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
extra-y
=
start.o
obj-y
=
cpu.o
arch/arm/cpu/ixp/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,30 +5,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
extra-y
=
start.o
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS-y
+=
cpu.o
COBJS-$(CONFIG_USE_IRQ)
+=
interrupts.o
COBJS-y
+=
timer.o
SRCS
:=
$(START:.o=.S)
$
(
SOBJS-y:.o
=
.S
)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$
(
SOBJS-y
)
$
(
COBJS-y
))
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
cpu.o
obj-$(CONFIG_USE_IRQ)
+=
interrupts.o
obj-y
+=
timer.o
arch/arm/cpu/pxa/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,35 +5,11 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
extra-y
=
start.o
LIB
=
$(obj)
lib
$(CPU)
.o
obj-$(CONFIG_CPU_PXA25X)
+=
pxa2xx.o
obj-$(CONFIG_CPU_PXA27X)
+=
pxa2xx.o
START
=
start.o
COBJS-$(CONFIG_CPU_PXA25X)
=
pxa2xx.o
COBJS-$(CONFIG_CPU_PXA27X)
=
pxa2xx.o
COBJS-y
+=
cpuinfo.o
COBJS
=
$
(
COBJS-y
)
COBJS
+=
timer.o
COBJS
+=
usb.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
cpuinfo.o
obj-y
+=
timer.o
obj-y
+=
usb.o
arch/arm/cpu/sa1100/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,29 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
extra-y
=
start.o
LIB
=
$(obj)
lib
$(CPU)
.o
START
=
start.o
COBJS
+=
cpu.o
COBJS
+=
timer.o
SRCS
:=
$(START:.o=.S)
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
START
:=
$(
addprefix
$(obj)
,
$(START)
)
all
:
$(obj).depend $(START) $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
cpu.o
obj-y
+=
timer.o
arch/arm/cpu/tegra-common/Makefile
浏览文件 @
fa8f9508
...
...
@@ -7,26 +7,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
libcputegra-common.o
SOBJS
+=
lowlevel_init.o
COBJS-y
+=
ap.o board.o sys_info.o timer.o clock.o cache.o
SRCS
:=
$(SOBJS:.o=.S)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$
(
COBJS-y
))
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
lowlevel_init.o
obj-y
+=
ap.o board.o sys_info.o timer.o clock.o cache.o
arch/arm/cpu/tegra114-common/Makefile
浏览文件 @
fa8f9508
...
...
@@ -17,25 +17,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
-common
.o
COBJS-y
+=
clock.o funcmux.o pinmux.o
SRCS
:=
$(SOBJS:.o=.S)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$
(
COBJS-y
))
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
clock.o funcmux.o pinmux.o
arch/arm/cpu/tegra20-common/Makefile
浏览文件 @
fa8f9508
...
...
@@ -7,32 +7,11 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
# The AVP is ARMv4T architecture so we must use special compiler
# flags for any startup files it might use.
CFLAGS_arch/arm/cpu/tegra20-common/
warmboot_avp.o
+=
-march
=
armv4t
LIB
=
$(obj)
lib
$(SOC)
-common
.o
COBJS-y
+=
clock.o funcmux.o pinmux.o
COBJS-$(CONFIG_TEGRA_LP0)
+=
warmboot.o crypto.o warmboot_avp.o
COBJS-$(CONFIG_TEGRA_CLOCK_SCALING)
+=
emc.o
COBJS-$(CONFIG_TEGRA_PMU)
+=
pmu.o
SRCS
:=
$(SOBJS:.o=.S)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$
(
COBJS-y
))
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
clock.o funcmux.o pinmux.o
obj-$(CONFIG_TEGRA_LP0)
+=
warmboot.o crypto.o warmboot_avp.o
obj-$(CONFIG_TEGRA_CLOCK_SCALING)
+=
emc.o
obj-$(CONFIG_TEGRA_PMU)
+=
pmu.o
arch/arm/cpu/tegra30-common/Makefile
浏览文件 @
fa8f9508
...
...
@@ -17,28 +17,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
include
$(TOPDIR)/config.mk
# The AVP is ARMv4T architecture so we must use special compiler
# flags for any startup files it might use.
LIB
=
$(obj)
lib
$(SOC)
-common
.o
COBJS-y
+=
clock.o funcmux.o pinmux.o
SRCS
:=
$(SOBJS:.o=.S)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$
(
COBJS-y
))
all
:
$(obj).depend $(LIB)
$(LIB)
:
$(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
obj-y
+=
clock.o funcmux.o pinmux.o
arch/arm/lib/Makefile
浏览文件 @
fa8f9508
...
...
@@ -5,77 +5,43 @@
# SPDX-License-Identifier: GPL-2.0+
#
include
$(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(ARCH)
.o
LIBGCC
=
$(obj)
libgcc.o
GLSOBJS
+=
_ashldi3.o
GLSOBJS
+=
_ashrdi3.o
GLSOBJS
+=
_divsi3.o
GLSOBJS
+=
_lshrdi3.o
GLSOBJS
+=
_modsi3.o
GLSOBJS
+=
_udivsi3.o
GLSOBJS
+=
_umodsi3.o
GLCOBJS
+=
div0.o
# Build private libgcc only when asked for
ifdef
USE_PRIVATE_LIBGCC
lib-y
+=
_ashldi3.o
lib-y
+=
_ashrdi3.o
lib-y
+=
_divsi3.o
lib-y
+=
_lshrdi3.o
lib-y
+=
_modsi3.o
lib-y
+=
_udivsi3.o
lib-y
+=
_umodsi3.o
lib-y
+=
div0.o
endif
SOBJS
-y
+=
crt0.o
obj
-y
+=
crt0.o
ifndef
CONFIG_SPL_BUILD
SOBJS
-y
+=
relocate.o
obj
-y
+=
relocate.o
ifndef
CONFIG_SYS_GENERIC_BOARD
COBJS
-y
+=
board.o
obj
-y
+=
board.o
endif
COBJS
-y
+=
sections.o
obj
-y
+=
sections.o
COBJS
-$(CONFIG_OF_LIBFDT)
+=
bootm-fdt.o
COBJS
-$(CONFIG_CMD_BOOTM)
+=
bootm.o
COBJS
-$(CONFIG_SYS_L2_PL310)
+=
cache-pl310.o
SOBJS
-$(CONFIG_USE_ARCH_MEMSET)
+=
memset.o
SOBJS
-$(CONFIG_USE_ARCH_MEMCPY)
+=
memcpy.o
obj
-$(CONFIG_OF_LIBFDT)
+=
bootm-fdt.o
obj
-$(CONFIG_CMD_BOOTM)
+=
bootm.o
obj
-$(CONFIG_SYS_L2_PL310)
+=
cache-pl310.o
obj
-$(CONFIG_USE_ARCH_MEMSET)
+=
memset.o
obj
-$(CONFIG_USE_ARCH_MEMCPY)
+=
memcpy.o
else
COBJS
-$(CONFIG_SPL_FRAMEWORK)
+=
spl.o
obj
-$(CONFIG_SPL_FRAMEWORK)
+=
spl.o
endif
COBJS-y
+=
interrupts.o
COBJS-y
+=
reset.o
COBJS-y
+=
cache.o
COBJS-y
+=
cache-cp15.o
SRCS
:=
$(GLSOBJS:.o=.S)
$(GLCOBJS:.o=.c)
\
$
(
SOBJS-y:.o
=
.S
)
$
(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(obj)
,
$
(
SOBJS-y
)
$
(
COBJS-y
))
LGOBJS
:=
$(
addprefix
$(obj)
,
$(GLSOBJS)
)
\
$(
addprefix
$(obj)
,
$(GLCOBJS)
)
obj-y
+=
interrupts.o
obj-y
+=
reset.o
# Always build libarm.o
TARGETS
:=
$(LIB)
# Build private libgcc only when asked for
ifdef
USE_PRIVATE_LIBGCC
TARGETS
+=
$(LIBGCC)
endif
obj-y
+=
cache.o
obj-y
+=
cache-cp15.o
# For EABI conformant tool chains, provide eabi_compat()
ifneq
(,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS)))
TARGETS
+=
$(obj)
eabi_compat.o
extra-y
+=
eabi_compat.o
endif
all
:
$(TARGETS)
$(LIB)
:
$(obj).depend $(OBJS)
$(
call
cmd_link_o_target,
$(OBJS)
)
$(LIBGCC)
:
$(obj).depend $(LGOBJS)
$(
call
cmd_link_o_target,
$(LGOBJS)
)
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录