Fri Aug 23 06:25:02 2013 UTC ()
Add a SYSTEM_DEP for the ramdisk on INSTALL kernels.


(matt)
diff -r1.51 -r1.52 src/sys/arch/powerpc/conf/Makefile.powerpc

cvs diff -r1.51 -r1.52 src/sys/arch/powerpc/conf/Makefile.powerpc (expand / switch to unified diff)

--- src/sys/arch/powerpc/conf/Makefile.powerpc 2013/03/10 07:18:20 1.51
+++ src/sys/arch/powerpc/conf/Makefile.powerpc 2013/08/23 06:25:02 1.52
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.powerpc,v 1.51 2013/03/10 07:18:20 christos Exp $ 1# $NetBSD: Makefile.powerpc,v 1.52 2013/08/23 06:25:02 matt Exp $
2# 2#
3# Makefile for NetBSD 3# Makefile for NetBSD
4# 4#
5# This makefile is constructed from a machine description: 5# This makefile is constructed from a machine description:
6# config machineid 6# config machineid
7# Most changes should be made in the machine description 7# Most changes should be made in the machine description
8# /sys/arch/powerpc/conf/``machineid'' 8# /sys/arch/powerpc/conf/``machineid''
9# after which you should do 9# after which you should do
10# config machineid 10# config machineid
11# Machine generic makefile changes should be made in 11# Machine generic makefile changes should be made in
12# /sys/arch/powerpc/conf/Makefile.powerpc 12# /sys/arch/powerpc/conf/Makefile.powerpc
13# after which config should be rerun for all machines of that type. 13# after which config should be rerun for all machines of that type.
14# 14#
@@ -79,26 +79,27 @@ ${SYSTEM_FIRST_OBJ}: ${SYSTEM_FIRST_SFIL @@ -79,26 +79,27 @@ ${SYSTEM_FIRST_OBJ}: ${SYSTEM_FIRST_SFIL
79 ${NORMAL_S} 79 ${NORMAL_S}
80 80
81## 81##
82## (5) link settings 82## (5) link settings
83## 83##
84KERNLDSCRIPT?= ${POWERPC}/conf/kern.ldscript 84KERNLDSCRIPT?= ${POWERPC}/conf/kern.ldscript
85TEXTADDR?= 0x100000 85TEXTADDR?= 0x100000
86LINKFORMAT= -N -T ${KERNLDSCRIPT} 86LINKFORMAT= -N -T ${KERNLDSCRIPT}
87 87
88ENTRYPOINT= __start 88ENTRYPOINT= __start
89 89
90.if defined(NEED_MDSETIMAGE) && $(NEED_MDSETIMAGE) != "no" \ 90.if defined(NEED_MDSETIMAGE) && $(NEED_MDSETIMAGE) != "no" \
91 && defined(RAMDISKDIR) && exists(${RAMDISKDIR}/ramdisk.fs) 91 && defined(RAMDISKDIR) && exists(${RAMDISKDIR}/ramdisk.fs)
 92SYSTEM_DEP+= ${RAMDISKDIR}/ramdisk.fs
92SYSTEM_LD_TAIL_EXTRA+=; \ 93SYSTEM_LD_TAIL_EXTRA+=; \
93 echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \ 94 echo ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs; \
94 ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs 95 ${TOOL_MDSETIMAGE} -s $@ ${RAMDISKDIR}/ramdisk.fs
95.endif 96.endif
96 97
97.if defined(NEED_SREC) && ${NEED_SREC} != "no" 98.if defined(NEED_SREC) && ${NEED_SREC} != "no"
98SYSTEM_LD_TAIL_EXTRA+=; \ 99SYSTEM_LD_TAIL_EXTRA+=; \
99 echo ${OBJCOPY} -O srec $@ $@.srec; \ 100 echo ${OBJCOPY} -O srec $@ $@.srec; \
100 ${OBJCOPY} -O srec $@ $@.srec 101 ${OBJCOPY} -O srec $@ $@.srec
101.endif 102.endif
102 103
103.if defined(NEED_BINARY) && ${NEED_BINARY} != "no" 104.if defined(NEED_BINARY) && ${NEED_BINARY} != "no"
104SYSTEM_LD_TAIL_EXTRA+=; \ 105SYSTEM_LD_TAIL_EXTRA+=; \