Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/evbarm/gzboot/gzimg Fix building of gzimg's (feh, la...



details:   https://anonhg.NetBSD.org/src/rev/e96ef7ae9c98
branches:  trunk
changeset: 545518:e96ef7ae9c98
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Apr 10 04:35:23 2003 +0000

description:
Fix building of gzimg's (feh, last test build was done from the wrong
source tree).

diffstat:

 distrib/evbarm/gzboot/gzimg/Makefile |  44 +++++++++++++++++++++++------------
 1 files changed, 29 insertions(+), 15 deletions(-)

diffs (75 lines):

diff -r 2a8066b1eaf9 -r e96ef7ae9c98 distrib/evbarm/gzboot/gzimg/Makefile
--- a/distrib/evbarm/gzboot/gzimg/Makefile      Thu Apr 10 04:15:38 2003 +0000
+++ b/distrib/evbarm/gzboot/gzimg/Makefile      Thu Apr 10 04:35:23 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2003/04/08 21:26:59 thorpej Exp $
+#      $NetBSD: Makefile,v 1.12 2003/04/10 04:35:23 thorpej Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -7,24 +7,38 @@
 
 
 #      TARGETS is a list of:
-#              KERNEL_name     GZBOOT_name     RELOC_ADDR      WHICH_kernel
+#              KERNEL_name     GZBOOT_name     GZIMG_name
+#              RELOC_ADDR      WHICH_kernel
 #      
-TARGETS=       ADI_BRH         ADI_BRH_sd0     0x00140000      netbsd-sd0   \
-               ADI_BRH         ADI_BRH_wd0     0x00140000      netbsd-wd0   \
-               IQ80310         IQ80310_sd0     0x00080000      netbsd-sd0   \
-               IQ80310         IQ80310_wd0     0x00080000      netbsd-wd0   \
-               IQ80321         IQ80321_sd0     0xf0080000      netbsd-sd0   \
-               IQ80321         IQ80321_wd0     0xf0080000      netbsd-wd0   \
-               TEAMASA_NPWR    TEAMASA_NPWR_sd0 0x00080000     netbsd-sd0
+TARGETS=       ADI_BRH         ADI_BRH         ADI_BRH_sd0     \
+               0x00140000      netbsd-sd0                      \
+                                                               \
+               ADI_BRH         ADI_BRH         ADI_BRH_wd0     \
+               0x00140000      netbsd-wd0                      \
+                                                               \
+               IQ80310         IQ80310         IQ80310_sd0     \
+               0x00080000      netbsd-sd0                      \
+                                                               \
+               IQ80310         IQ80310         IQ80310_wd0     \
+               0x00080000      netbsd-wd0                      \
+                                                               \
+               IQ80321         IQ80321         IQ80321_sd0     \
+               0xf0080000      netbsd-sd0                      \
+                                                               \
+               IQ80321         IQ80321         IQ80321_wd0     \
+               0xf0080000      netbsd-wd0                      \
+                                                               \
+               TEAMASA_NPWR    TEAMASA_NPWR    TEAMASA_NPWR_sd0 \
+               0x00080000      netbsd-sd0
 
-.for K G R W in ${TARGETS}                             # {
+.for K G I R W in ${TARGETS}                           # {
 
 GZB${G}DIR!=   cd ${.CURDIR}/../gzboot_${G}_flash_${R} && ${PRINTOBJDIR}
 GZB${G}=       ${GZB${G}DIR}/gzboot_${G}_${R}.sym
 
-GZIMGS+=       gzimg_${G}_flash_${R}.gz
+GZIMGS+=       gzimg_${I}_flash_${R}.gz
 
-gzimg_${G}_flash_${R}: .NOTMAIN ${GZB${G}} ${KERNOBJDIR}/${K}/${W}.bin
+gzimg_${I}_flash_${R}: .NOTMAIN ${GZB${G}} ${KERNOBJDIR}/${K}/${W}.bin
        @echo "Populating ${.TARGET}"
        -rm -f ${.TARGET}.kern.gz
        gzip -9c ${KERNOBJDIR}/${K}/${W}.bin > ${.TARGET}.kern.gz
@@ -32,12 +46,12 @@
        ${MDSETIMAGE} -v -s ${.TARGET} ${.TARGET}.kern.gz
        ${OBJCOPY} -O binary ${.TARGET} ${.TARGET}
 
-gzimg_${G}_flash_${R}.gz: .NOTMAIN gzimg_${G}_flash_${R}
+gzimg_${I}_flash_${R}.gz: .NOTMAIN gzimg_${I}_flash_${R}
        -rm -f ${.TARGET}
        gzip -9c ${.ALLSRC} > ${.TARGET}
 
-CLEANFILES+=   gzimg_${G}_flash_${R}.kern gzimg_${G}_flash_${R}.kern.gz \
-               gzimg_${G}_flash_${R}
+CLEANFILES+=   gzimg_${I}_flash_${R}.kern gzimg_${I}_flash_${R}.kern.gz \
+               gzimg_${I}_flash_${R}
 
 .endfor                                                        # }
 



Home | Main Index | Thread Index | Old Index