Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/distrib/acorn32/stand Pullup rev 1.12 (requested by abs...
details: https://anonhg.NetBSD.org/src/rev/58acfdc02b40
branches: netbsd-2-0
changeset: 561265:58acfdc02b40
user: jmc <jmc%NetBSD.org@localhost>
date: Thu Jun 03 23:05:41 2004 +0000
description:
Pullup rev 1.12 (requested by abs in ticket #433)
Updated bootloader packaging tools for acorn32
diffstat:
distrib/acorn32/stand/Makefile | 78 ++++++++++++++++++++++++++++++++++-------
1 files changed, 64 insertions(+), 14 deletions(-)
diffs (110 lines):
diff -r 5fcd28925378 -r 58acfdc02b40 distrib/acorn32/stand/Makefile
--- a/distrib/acorn32/stand/Makefile Thu Jun 03 23:05:39 2004 +0000
+++ b/distrib/acorn32/stand/Makefile Thu Jun 03 23:05:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10.2.1 2004/03/31 08:06:28 tron Exp $
+# $NetBSD: Makefile,v 1.10.2.2 2004/06/03 23:05:41 jmc Exp $
#
.include <bsd.own.mk>
@@ -7,8 +7,8 @@
.include <bsd.kernobj.mk>
-# we use compressed tar, SparkPlug doesn't handle gzipped tar
-ARCHIVE=BtNetBSD.tar.Z
+# we use spark, so that we get filetypes.
+ARCHIVE=BtNetBSD.spk
RAMDISKDIR!= cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
@@ -19,16 +19,59 @@
${RELEASEDIR}/${MACHINE}/installation/misc/
${ARCHIVE}: tmp/BtNetBSD
- cd tmp && tar cZf ${.OBJDIR}/${ARCHIVE} BtNetBSD
+ cd tmp/BtNetBSD && ${.CURDIR}/../mksparkive.sh * > ${.OBJDIR}/${ARCHIVE}
+
+UUDECODE_FILES=unixfs_res Sprite banner pling.Sprites pling.Sprites22 MemFix
+
+UUDECODE_FILES_RENAME_unixfs_res=tmp/BtNetBSD/!BtNetBSD/native/unixfs_res,ffa
+UUDECODE_FILES_RENAME_Sprite=tmp/BtNetBSD/!BtNetBSD/src/Banner/Sprite,ff9
+UUDECODE_FILES_RENAME_banner=tmp/BtNetBSD/!BtNetBSD/Banner,ffa
+UUDECODE_FILES_RENAME_pling.Sprites=tmp/BtNetBSD/!BtNetBSD/!Sprites,ff9
+UUDECODE_FILES_RENAME_pling.Sprites22=tmp/BtNetBSD/!BtNetBSD/!Sprites22,ff9
+UUDECODE_FILES_RENAME_MemFix=tmp/BtNetBSD/!BtNetBSD/MemFix,ffa
-UUDECODE_FILES=unixfs_res Sprite banner Sprites Sprites22 MemFix
+SETTYPE_FILES=!BtNetBSD/!Boot !BtNetBSD/!Edit !BtNetBSD/!Run !BtNetBSD/BtNetBSD
+SETTYPE_FILES+=!BtNetBSD/PreBoot !BtNetBSD/TestBoot !BtNetBSD/checkro403
+
+SETTYPE_FILE_!BtNetBSD/!Boot=feb
+SETTYPE_FILE_!BtNetBSD/!Edit=feb
+SETTYPE_FILE_!BtNetBSD/!Run=feb
+SETTYPE_FILE_!BtNetBSD/BtNetBSD=ffb
+SETTYPE_FILE_!BtNetBSD/PreBoot=feb
+SETTYPE_FILE_!BtNetBSD/TestBoot=ffb
+SETTYPE_FILE_!BtNetBSD/checkro403=ffb
-UUDECODE_FILES_RENAME_unixfs_res=tmp/BtNetBSD/!BtNetBSD/native/unixfs_res
-UUDECODE_FILES_RENAME_Sprite=tmp/BtNetBSD/!BtNetBSD/src/Banner/Sprite
-UUDECODE_FILES_RENAME_banner=tmp/BtNetBSD/!BtNetBSD/Banner
-UUDECODE_FILES_RENAME_Sprites=tmp/BtNetBSD/!BtNetBSD/!Sprites
-UUDECODE_FILES_RENAME_Sprites22=tmp/BtNetBSD/!BtNetBSD/!Sprites22
-UUDECODE_FILES_RENAME_MemFix=tmp/BtNetBSD/!BtNetBSD/MemFix
+SETTYPE_FILES+=!BtNetBSD/native/MountUFS !BtNetBSD/native/KillUnixfs
+SETTYPE_FILES+=!BtNetBSD/native/OpenRoot !BtNetBSD/native/wd0a
+SETTYPE_FILES+=!BtNetBSD/native/wd0e !BtNetBSD/native/wd0f
+SETTYPE_FILES+=!BtNetBSD/native/wd0g !BtNetBSD/native/wd1a
+SETTYPE_FILES+=!BtNetBSD/native/wd1e
+
+SETTYPE_FILE_!BtNetBSD/native/KillUnixfs=feb
+SETTYPE_FILE_!BtNetBSD/native/MountUFS=ffb
+SETTYPE_FILE_!BtNetBSD/native/OpenRoot=feb
+SETTYPE_FILE_!BtNetBSD/native/wd0a=feb
+SETTYPE_FILE_!BtNetBSD/native/wd0e=feb
+SETTYPE_FILE_!BtNetBSD/native/wd0f=feb
+SETTYPE_FILE_!BtNetBSD/native/wd0g=feb
+SETTYPE_FILE_!BtNetBSD/native/wd1a=feb
+SETTYPE_FILE_!BtNetBSD/native/wd1e=feb
+
+SETTYPE_FILES+=!BtNetBSD/src/Banner/!Path !BtNetBSD/src/Banner/Banner
+SETTYPE_FILES+=!BtNetBSD/src/Banner/resutil
+
+SETTYPE_FILE_!BtNetBSD/src/Banner/!Path=feb
+SETTYPE_FILE_!BtNetBSD/src/Banner/Banner=ffb
+SETTYPE_FILE_!BtNetBSD/src/Banner/resutil=ffb
+
+SETTYPE_FILES+=misc/bb_netbsd
+
+SETTYPE_FILE_misc/bb_netbsd=feb
+
+SETTYPE_FILES+=misc/Mkrel/MkRelease misc/Mkrel/MkRelScr
+
+SETTYPE_FILE_misc/Mkrel/MkRelease=feb
+SETTYPE_FILE_misc/Mkrel/MkRelScr=feb
.PATH: ${.CURDIR}/BtNetBSD/!BtNetBSD
.PATH: ${.CURDIR}/BtNetBSD/!BtNetBSD/native
@@ -43,11 +86,18 @@
cp -R ${.CURDIR}/BtNetBSD tmp/
find tmp -path '*/CVS/*' -type f -exec rm -rf {} \;
find tmp -name CVS -type d | xargs rmdir
+ find tmp -name '*.uue' -type f -exec rm -f {} \;
+
+.PHONY: settypes
+settypes: setup_tmp
+.for file in ${SETTYPE_FILES}
+ mv tmp/BtNetBSD/${file} tmp/BtNetBSD/${file},${SETTYPE_FILE_${file}}
+.endfor
.PHONY: tmp/BtNetBSD
-tmp/BtNetBSD: setup_tmp
- cp ${KERNOBJDIR}/INSTALL/netbsd tmp/BtNetBSD/InstKern
- ${TOOL_MDSETIMAGE} tmp/BtNetBSD/InstKern ${RAMDISKDIR}/ramdisk.fs
+tmp/BtNetBSD: setup_tmp settypes
+ cp ${KERNOBJDIR}/INSTALL/netbsd tmp/BtNetBSD/InstKern,1a9
+ ${TOOL_MDSETIMAGE} tmp/BtNetBSD/InstKern,1a9 ${RAMDISKDIR}/ramdisk.fs
# unixfs is copied into the !BtNetBSD dir at install time
cd tmp/BtNetBSD && cp -R '!BtNetBSD/native' unixfs
Home |
Main Index |
Thread Index |
Old Index