History log of /src/distrib/macppc/Makefile |
Revision | | Date | Author | Comments |
1.21 |
| 23-Sep-2025 |
rillig | all: fix "Invalid internal option" warning from make
|
1.20 |
| 02-Feb-2025 |
tsutsui | Add "build.sh live-image" support for macppc.
Confirmed on qemu-9.2.0.
--- qemu-system-ppc -m 256 -machine mac99 -cpu g3 \ -drive file=NetBSD-10.99.12-macppc-live.img,media=disk,format=raw,if=none,id=disk0 \ -device ide-hd,bus=ide.0,drive=disk0 \ -netdev user,id=net0 -device e1000,netdev=net0 \ -nographic >> ============================================================= >> OpenBIOS 1.1 [Sep 24 2024 19:56] >> Configuration device id QEMU version 1 machine id 1 >> CPUs: 1 >> Memory: 256M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,750 milliseconds isn't unique. Welcome to OpenBIOS v1.1 built on Sep 24 2024 19:56 Trying hd:,\\:tbxi... Trying hd:,\ppc\bootinfo.txt... Trying hd:,%BOOT... >> Not a bootable ELF image >> switching to new context:
OF_open bootpath=/pci@f2000000/mac-io@c/ata-3@20000/disk@0 read stage 2 blocks: 01234. done! starting stage 2...
>> NetBSD/macppc OpenFirmware Boot, Revision 1.15 (Sun Feb 2 06:06:05 UTC 2025) >> Open Firmware version 3.x >> Open Firmware running in virtual-mode. 11891244+164812 [489184+466096]=0xc68ee8 start=0x100000 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.99.12 (GENERIC) #0: Sun Feb 2 06:28:31 UTC 2025 [ 1.0000000] runner@fv-az1670-954:/home/runner/work/netbsd-src/netbsd-src/sys/arch/macppc/compile/obj.macppc/GENERIC [ 1.0000000] total memory = 256 MB [ 1.0000000] avail memory = 225 MB [ 1.0000000] found openpic PIC at 80040000 [ 1.0000000] OpenPIC Version 1.2: Supports 1 CPUs and 64 interrupt sources. [ 1.0000000] bootpath: /pci@f2000000/mac-io@c/ata-3@20000/disk@0:/netbsd [ 1.0000000] mainbus0 (root) [ 1.0000000] cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary) [ 1.0000000] cpu0: HID0 0x805000a4<EMCP,NAP,DPM,SGE,BTIC,BHT>, powersave: 1 [ 1.0000000] cpu0: 0.00 MHz L2 cache present but not enabled
:
[ 13.8062284] boot device: wd0 [ 13.8062284] root on wd0a dumps on wd0b [ 13.8212139] root file system type: ffs [ 13.8212139] entropy: best effort [ 13.8212139] kern.module.path=/stand/macppc/10.99.12/modules Sun Feb 2 10:28:53 UTC 2025 Starting root file system check: /dev/rwd0a: file system is clean; not checking
:
Sun Feb 2 10:29:18 UTC 2025 Feb 2 10:29:19 getty[1181]: /dev/ttyE1: Device not configured
NetBSD/macppc (Amnesiac) (ttyZ0)
Feb 2 10:29:19 getty[1275]: /dev/ttyE3: Device not configured login: Feb 2 10:29:19 getty[1055]: /dev/ttyE0: Device not configured Feb 2 10:29:19 getty[1023]: /dev/ttyE2: Device not configured ---
Note -cpu g4 (default for -machine mac99) triggers qemu assertion: --- : Starting syslogd. qemu: fatal: Raised an exception without defined vector 94
NIP fdb4d560 LR fdb4dd40 CTR fd61a308 XER 20000000 CPU#0 MSR 0200d032 HID0 809400a4 HF 02004012 iidx 0 didx 0
: ---
|
1.19 |
| 02-Feb-2025 |
tsutsui | Fix typo in comment.
|
1.18 |
| 08-Jun-2024 |
tsutsui | branches: 1.18.2; Build macppc iso with TOOL_MKHYBRID via "iso-image" target in src/etc.
|
1.17 |
| 25-May-2021 |
martin | branches: 1.17.4; While we do not yet have any 64bit kernels, do not build floppy or CD images for installation.
|
1.16 |
| 23-Jun-2008 |
matt | branches: 1.16.68; Change remaining instances of ${RELEASEDIR}/${MACHINES} to ${RELEASEDIR}/${RELEASEMACHINEDIR}
|
1.15 |
| 06-Mar-2007 |
bouyer | branches: 1.15.12; 1.15.16; Add an iso_image target (iso-image as a target name doesn't play well with bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for: alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax. mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
|
1.14 |
| 03-Jan-2003 |
lukem | branches: 1.14.16; Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined.
|
1.13 |
| 02-May-2002 |
lukem | yet another distrib overhaul: - move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib (fixes problem caused by implicit include of ../Makefile.inc in certain submake conditions triggered by makefiles not yet in tree) - removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of etc/Makefile to create all the release directories - renamed RELINSTALL to RELEASE_INSTALL - renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR - renamed MDSETDIR to MDSET_RELEASEDIR - removed ITARGET - move release target from top level to appropriate subdirectory - ensure release target has correct depends - replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD - Makefile.image: add realall: ${IMAGE}
|
1.12 |
| 26-Apr-2002 |
lukem | replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
|
1.11 |
| 12-Apr-2002 |
lukem | cleanup makefiles to NNDWO
|
1.10 |
| 31-Mar-2002 |
lukem | use check_RELEASEDIR
|
1.9 |
| 09-Feb-2002 |
lukem | don't set the owner or group when installing into $RELEASEDIR
|
1.8 |
| 14-Nov-2001 |
tv | ${MAKE} print-objdir -> ${PRINTOBJDIR}
|
1.7 |
| 09-Apr-2001 |
tsubai | Install netbsd.GENERIC_MD instead of netbsd.ram. (Why did we use netbsd.ram? It is only a temporary file...)
|
1.6 |
| 13-Sep-2000 |
matt | Need ${.CURDIR} for print-objdir
|
1.5 |
| 30-Aug-2000 |
jhawk | Use ${MAKE} instead of make
|
1.4 |
| 23-Jun-2000 |
matt | branches: 1.4.2; Export boot.fs
|
1.3 |
| 12-Jun-2000 |
matt | branches: 1.3.2; Install XCOFF ofwboot into installation area.
|
1.2 |
| 08-Jun-2000 |
matt | Add make release support so automake snapshots
|
1.1 |
| 06-Jun-2000 |
matt | Needed so that obj directories are created properly.
|
1.3.2.2 |
| 09-Nov-2000 |
tv | Pullup 1.5 [releng] and 1.6 [matt]: Fix ${.CURDIR} and ${MAKE}.
|
1.3.2.1 |
| 23-Jun-2000 |
matt | Export boot.fs (pullup rev 1.4)
|
1.4.2.2 |
| 13-Jul-2000 |
he | Apply patch (new file, requested by he): Enhance the ``make release'' process: o Build and install the distrib and boot bits
|
1.4.2.1 |
| 23-Jun-2000 |
he | file Makefile was added on branch netbsd-1-4 on 2000-07-13 20:59:48 +0000
|
1.14.16.1 |
| 09-Mar-2007 |
riz | Pull up following revision(s) (requested by bouyer in ticket #494): sys/arch/i386/conf/GENERIC.MP: revision 1.9 distrib/pc532/cdroms/installcd/Makefile: revision 1.1 distrib/macppc/Makefile: revision 1.15 distrib/ofppc/Makefile: revision 1.2 distrib/ibmnws/Makefile: revision 1.2 distrib/acorn32/Makefile: revision 1.18 distrib/x68k/cdroms/installcd/Makefile: revision 1.1 distrib/sparc/Makefile: revision 1.7 distrib/sparc64/cdroms/Makefile: revision 1.1 distrib/hp300/cdroms/Makefile: revision 1.1 distrib/hpcsh/Makefile: revision 1.6 distrib/ofppc/cdroms/installcd/Makefile: revision 1.1 distrib/playstation2/Makefile: revision 1.13 distrib/news68k/cdroms/installcd/Makefile: revision 1.1 distrib/amiga/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/cdroms/installcd/Makefile: revision 1.1 distrib/playstation2/cdroms/Makefile: revision 1.1 distrib/amiga/cdroms/Makefile: revision 1.1 etc/etc.mac68k/Makefile.inc: revision 1.18 distrib/shark/cdroms/installcd/Makefile: revision 1.1 distrib/hpcmips/Makefile: revision 1.28 distrib/hpcmips/cdroms/Makefile: revision 1.1 distrib/amd64/floppies/Makefile: revision 1.3 sys/arch/amd64/conf/INSTALL_ACPI: file removal distrib/i386/cdroms/Makefile: revision 1.4 distrib/acorn26/cdroms/installcd/Makefile: revision 1.1 distrib/hpcsh/cdroms/Makefile: revision 1.1 distrib/prep/cdroms/Makefile: revision 1.1 distrib/pc532/Makefile: revision 1.4 distrib/acorn32/cdroms/installcd/Makefile: revision 1.1 distrib/sun2/Makefile: revision 1.8 distrib/vax/Makefile: revision 1.17 distrib/sparc64/cdroms/installcd/Makefile: revision 1.1 distrib/pmax/cdroms/Makefile: revision 1.1 distrib/mipsco/cdroms/installcd/Makefile: revision 1.1 distrib/sun3/cdroms/installcd/Makefile: revision 1.1 distrib/vax/cdroms/installcd/Makefile: revision 1.1 distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1 distrib/mvme68k/Makefile: revision 1.4 distrib/mvmeppc/cdroms/Makefile: revision 1.1 distrib/newsmips/Makefile: revision 1.4 sys/arch/i386/conf/GENERIC.MPACPI: file removal distrib/hpcarm/cdroms/Makefile: revision 1.1 distrib/evbppc/cdroms/Makefile: revision 1.1 sys/arch/i386/conf/INSTALL_LARGE: revision 1.1 distrib/i386/cdroms/installcd/Makefile: revision 1.2 distrib/i386/cdroms/installcd/Makefile: revision 1.3 doc/CHANGES: revision 1.804 distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1 distrib/i386/cdroms/bootcd/Makefile: revision 1.2 distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1 distrib/i386/cdroms/bootcd/Makefile: revision 1.3 distrib/evbarm/Makefile: revision 1.8 distrib/mvmeppc/Makefile: revision 1.3 distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2 distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3 distrib/macppc/cdroms/installcd/Makefile: revision 1.1 distrib/acorn26/cdroms/Makefile: revision 1.1 distrib/alpha/cdroms/Makefile: revision 1.1 distrib/hp300/cdroms/installcd/Makefile: revision 1.1 distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4 distrib/pmppc/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/Makefile: revision 1.2 distrib/pmppc/Makefile: revision 1.2 distrib/arc/cdroms/Makefile: revision 1.1 sys/arch/amd64/conf/INSTALL: revision 1.66 distrib/sun3/cdroms/Makefile: revision 1.1 distrib/mipsco/Makefile: revision 1.4 distrib/sun3/Makefile: revision 1.9 distrib/vax/cdroms/Makefile: revision 1.1 distrib/pmppc/cdroms/Makefile: revision 1.1 distrib/amd64/cdroms/Makefile.cdrom: revision 1.1 distrib/atari/cdroms/installcd/Makefile: revision 1.1 distrib/evbppc/cdroms/installcd/Makefile: revision 1.1 distrib/newsmips/cdroms/installcd/Makefile: revision 1.1 distrib/pmax/Makefile: revision 1.4 Makefile: revision 1.247 distrib/cats/cdroms/installcd/Makefile: revision 1.1 sys/arch/amd64/conf/GENERIC: revision 1.130 sys/arch/amd64/conf/GENERIC: revision 1.131 distrib/sgimips/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/cdroms/Makefile: revision 1.1 distrib/cats/cdroms/Makefile: revision 1.1 distrib/evbmips/Makefile: revision 1.3 distrib/evbmips/Makefile: revision 1.4 sys/arch/amd64/conf/GENERIC_ACPI: file removal distrib/ews4800mips/Makefile: revision 1.2 distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2 distrib/i386/Makefile: revision 1.5 distrib/amd64/cdroms/installcd/Makefile: revision 1.2 distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1 distrib/alpha/cdroms/installcd/Makefile: revision 1.1 etc/etc.amd64/Makefile.inc: revision 1.7 distrib/i386/instkernel/Makefile: revision 1.6 distrib/x68k/cdroms/Makefile: revision 1.1 distrib/i386/cdroms/Makefile.cdrom: revision 1.1 distrib/sandpoint/Makefile: revision 1.4 distrib/i386/cdroms/Makefile.cdrom: revision 1.2 distrib/amiga/Makefile: revision 1.3 distrib/amd64/cdroms/bootcd/Makefile: revision 1.2 distrib/news68k/Makefile: revision 1.4 distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5 distrib/news68k/cdroms/Makefile: revision 1.1 distrib/sparc/cdroms/Makefile: revision 1.1 distrib/shark/cdroms/Makefile: revision 1.1 etc/Makefile: revision 1.341 distrib/amd64/instkernel/Makefile: revision 1.2 distrib/sparc64/Makefile: revision 1.7 distrib/dreamcast/cdroms/Makefile: revision 1.1 distrib/shark/Makefile: revision 1.3 distrib/ews4800mips/cdroms/Makefile: revision 1.1 distrib/sun2/cdroms/installcd/Makefile: revision 1.1 distrib/shark/Makefile: revision 1.4 distrib/macppc/cdroms/Makefile: revision 1.1 distrib/mvme68k/cdroms/Makefile: revision 1.1 distrib/sun2/cdroms/Makefile: revision 1.1 distrib/hpcarm/Makefile: revision 1.3 distrib/arc/cdroms/installcd/Makefile: revision 1.1 distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1 distrib/mipsco/cdroms/Makefile: revision 1.1 distrib/Makefile.inc: revision 1.9 distrib/playstation2/cdroms/installcd/Makefile: revision 1.1 distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1 distrib/newsmips/cdroms/Makefile: revision 1.1 distrib/arc/Makefile: revision 1.3 distrib/sparc/cdroms/installcd/Makefile: revision 1.1 distrib/evbmips/cdroms/installcd/Makefile: revision 1.1 distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1 distrib/prep/Makefile: revision 1.3 distrib/ibmnws/cdroms/Makefile: revision 1.1 distrib/sandpoint/cdroms/Makefile: revision 1.1 distrib/atari/Makefile: revision 1.6 distrib/sgimips/cdroms/Makefile: revision 1.1 distrib/amd64/Makefile: revision 1.4 distrib/atari/cdroms/Makefile: revision 1.1 distrib/x68k/Makefile: revision 1.5 distrib/x68k/Makefile: revision 1.6 distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1 distrib/evbarm/cdroms/Makefile: revision 1.1 distrib/acorn32/cdroms/Makefile: revision 1.1 distrib/cats/Makefile: revision 1.3 distrib/evbmips/cdroms/Makefile: revision 1.1 distrib/pc532/cdroms/Makefile: revision 1.1 distrib/Makefile: revision 1.14 distrib/evbarm/cdroms/installcd/Makefile: revision 1.1 distrib/ofppc/cdroms/Makefile: revision 1.1 distrib/amd64/cdroms/Makefile: revision 1.3 distrib/common/Makefile.bootcd: revision 1.8 distrib/i386/cdroms/bootcd-laptop/Makefile: file removal sys/arch/i386/conf/GENERIC: revision 1.813 distrib/hp300/Makefile: revision 1.17 sys/arch/i386/conf/GENERIC: revision 1.814 distrib/evbppc/Makefile: revision 1.2 distrib/pmax/cdroms/installcd/Makefile: revision 1.1 etc/etc.i386/Makefile.inc: revision 1.49 distrib/sgimips/Makefile: revision 1.2 distrib/prep/cdroms/installcd/Makefile: revision 1.1 distrib/acorn26/Makefile: revision 1.4 distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1 distrib/alpha/Makefile: revision 1.22 distrib/dreamcast/Makefile: revision 1.2 Improve the use of makefs to build boot CDs, and make it truely MI: - allow to specify the "instkernel" directory, and allow to put multiple kernels on the image - allow to specify the directory where the image will be created - only use bootxx_cd9660 if it exists - search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to usr/mdec/boot - make 'installboot -e' optional - use target 'release' or 'iso_image' depending on ${CDRELEASE} - call some MD targets, which will eventually complete the file list or make the image bootable For the benefit of modern hardware, enable ACPI by default in INSTALL and GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and 'disable acpi' should be a workaround. ACPI-enabled kernels works fine on pre-acpi hardware. for amd64: - add ACPI to INSTALL and GENERIC, remove the *_ACPI config files. - get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot image for i386: - introduce INSTALL_LARGE which has ACPI and some devices with big firmware - move some devices from INSTALL to INSTALL_LARGE - Boot floppies still use INSTALL, and bootfloppy-big.fs is still there (for thoses who want to build el-torito floppy emulation boot CD) and use INSTALL. For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll use something else to build bootable CDs. Add an iso_image target (iso-image as a target name doesn't play well with bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for: alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax. mac68k/macppc no there yet because of missing feature in makefs. call iso_image in distrib/ for iso-image in the top Makefile. Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO images. amd64 gets a single kernel; i386 images gets 3 kernels: - netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default - nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz - nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal non-ACPI kernel - drop the bootcd-laptop image both gets an installcd image, which is the same as bootcd but with the binary sets in addition to kernels. Make iso-image do nothing for all but mac68k, which still relies on mkisofs to create bootable ISO image. macppc should also be there, but it seems the code to make an iso bootable never got added in etc.macppc/ Fix typo in subdir name. Revert local changes that went in accidentally with the "add ACPI" commit. Note ACPI by default in i386/amd64, and the iso-image changes. Fix SUBDIR in previous Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly. Correct typo: the directory is named cdroms, not cdrom. Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by Alan Barrett. While there factor out the kernels in Makefile.cdrom.
|
1.15.16.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.15.12.2 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
1.15.12.1 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.68.1 |
| 31-May-2021 |
cjep | sync with head
|
1.17.4.1 |
| 03-Jul-2024 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #733):
external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.6 distrib/cdrom/Makefile: revision 1.55 distrib/cdrom/macppc_installboot/Makefile: revision 1.12 external/gpl2/mkhybrid/dist/getopt.c: revision 1.2 external/gpl2/mkhybrid/dist/libfile/LEGAL.NOTICE: revision 1.1 external/gpl2/mkhybrid/dist/write.c: revision 1.1 distrib/cdrom/Makefile: revision 1.56 distrib/cdrom/macppc_installboot/Makefile: revision 1.13 distrib/cdrom/macppc_installboot/installboot.c: revision 1.6 external/gpl2/mkhybrid/dist/getopt.c: revision 1.3 external/gpl2/mkhybrid/dist/write.c: revision 1.2 external/gpl2/mkhybrid/dist/libhfs_iso/data.h: revision 1.1 distrib/cdrom/Makefile: revision 1.57 distrib/cdrom/macppc_installboot/Makefile: revision 1.14 distrib/cdrom/macppc_installboot/installboot.c: revision 1.7 tools/Makefile: revision 1.221 tools/Makefile: revision 1.222 external/gpl2/mkhybrid/dist/libhfs_iso/file.h: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/README: revision 1.1 distrib/macppc/Makefile: revision 1.18 external/gpl2/mkhybrid/dist/TODO: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/block.h: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/record.c: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/hfs.c: revision 1.1 external/gpl2/mkhybrid/dist/match.c: revision 1.1 external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.1 external/gpl2/mkhybrid/dist/match.c: revision 1.2 external/gpl2/mkhybrid/dist/libfile/softmagic.c: revision 1.2 external/gpl2/mkhybrid/dist/volume.c: revision 1.1 external/gpl2/mkhybrid/dist/volume.c: revision 1.2 external/gpl2/mkhybrid/dist/libhfs_iso/internal.h: revision 1.1 external/gpl2/mkhybrid/dist/getopt1.c: revision 1.1 external/gpl2/mkhybrid/dist/getopt1.c: revision 1.2 external/gpl2/mkhybrid/dist/getopt1.c: revision 1.3 external/gpl2/mkhybrid/dist/README.mkisofs: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/hybrid.h: revision 1.1 tools/mkhybrid/Makefile: revision 1.1 external/gpl2/mkhybrid/dist/README.hfs_magic: revision 1.1 external/gpl2/mkhybrid/dist/apple.h: revision 1.1 external/gpl2/mkhybrid/dist/include/prototyp.h: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/volume.h: revision 1.1 external/gpl2/mkhybrid/dist/apple.h: revision 1.2 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.1 external/gpl2/mkhybrid/dist/desktop.c: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.2 external/gpl2/mkhybrid/dist/desktop.c: revision 1.2 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.3 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.4 external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.5 external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.2 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.6 external/gpl2/mkhybrid/dist/libfile/file.h: revision 1.3 external/gpl2/mkhybrid/dist/mkisofs.c: revision 1.7 external/gpl2/mkhybrid/dist/getopt.h: revision 1.1 distrib/cdrom/macppc_installboot/installboot.h: revision 1.5 etc/etc.mac68k/Makefile.inc: revision 1.25 external/gpl2/mkhybrid/dist/getopt.h: revision 1.2 external/gpl2/mkhybrid/dist/write.h: revision 1.1 etc/etc.mac68k/Makefile.inc: revision 1.26 external/gpl2/mkhybrid/dist/rock.c: revision 1.1 external/gpl2/mkhybrid/dist/hash.c: revision 1.1 external/gpl2/mkhybrid/dist/hash.c: revision 1.2 external/gpl2/mkhybrid/dist/libhfs_iso/record.h: revision 1.1 external/gpl2/mkhybrid/dist/README.hfs_boot: revision 1.1 external/gpl2/mkhybrid/dist/README: revision 1.1 external/gpl2/mkhybrid/dist/README.win32: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/hfs.h: revision 1.2 external/gpl2/mkhybrid/dist/config.h.in: revision 1.1 external/gpl2/mkhybrid/dist/config.h.in: revision 1.2 distrib/cdrom/boothfs.uue: revision 1.2 external/gpl2/mkhybrid/dist/config.h.in: revision 1.3 external/gpl2/mkhybrid/dist/volume.h: revision 1.1 external/gpl2/mkhybrid/dist/volume.h: revision 1.2 external/gpl2/mkhybrid/dist/ChangeLog: revision 1.1 external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.1 external/gpl2/mkhybrid/dist/libfile/apprentice.c: revision 1.2 external/gpl2/mkhybrid/dist/mapping: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/btree.h: revision 1.1 external/gpl2/mkhybrid/bin/Makefile: revision 1.1 external/gpl2/mkhybrid/dist/include/statdefs.h: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/Makefile: revision 1.1 external/gpl2/mkhybrid/bin/Makefile: revision 1.2 external/gpl2/mkhybrid/dist/magic: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/node.h: revision 1.1 external/gpl2/mkhybrid/bin/Makefile: revision 1.3 external/gpl2/mkhybrid/dist/acconfig.h: revision 1.1 external/gpl2/mkhybrid/dist/eltorito.c: revision 1.1 external/gpl2/mkhybrid/dist/libfile/patchlevel.h: revision 1.1 share/mk/bsd.own.mk: revision 1.1375 share/mk/bsd.own.mk: revision 1.1376 external/gpl2/mkhybrid/dist/README.session: revision 1.1 external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.1 external/gpl2/mkhybrid/dist/libfile/lfile.c: revision 1.2 tools/macppc_installboot/Makefile: revision 1.1 external/gpl2/mkhybrid/README.md: revision 1.1 etc/etc.macppc/Makefile.inc: revision 1.13 external/gpl2/mkhybrid/dist/defaults.h: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.spec: revision 1.1 external/gpl2/mkhybrid/dist/defaults.h: revision 1.2 external/gpl2/mkhybrid/dist/mac_label.h: revision 1.1 external/gpl2/mkhybrid/dist/defaults.h: revision 1.3 external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.1 external/gpl2/mkhybrid/dist/include/mconfig.h: revision 1.2 external/gpl2/mkhybrid/dist/libfile/proto.h: revision 1.1 external/gpl2/mkhybrid/dist/COPYING: revision 1.1 external/gpl2/mkhybrid/dist/name.c: revision 1.1 external/gpl2/mkhybrid/dist/configure.in: revision 1.1 external/gpl2/mkhybrid/dist/configure.in: revision 1.2 external/gpl2/mkhybrid/dist/mac_label_proto.h: revision 1.1 external/gpl2/mkhybrid/dist/configure.in: revision 1.3 external/gpl2/mkhybrid/dist/libhfs_iso/low.c: revision 1.1 distrib/cdrom/macppc_mkboothfs/mkboothfs.c: revision 1.4 external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/btree.c: revision 1.1 distrib/cdrom/macppc_installboot/cd9660.c: revision 1.5 external/gpl2/mkhybrid/dist/config.h: revision 1.1 external/gpl2/mkhybrid/dist/mkhybrid.8: revision 1.2 distrib/cdrom/macppc_installboot/cd9660.c: revision 1.6 external/gpl2/mkhybrid/dist/config.h: revision 1.2 external/gpl2/mkhybrid/dist/libhfs_iso/node.c: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/data.c: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/file.c: revision 1.1 external/gpl2/mkhybrid/dist/README.eltorito: revision 1.1 external/gpl2/mkhybrid/dist/include/fctldefs.h: revision 1.1 external/gpl2/mkhybrid/dist/libfile/README: revision 1.1 external/gpl2/mkhybrid/dist/libhfs_iso/block.c: revision 1.1 external/gpl2/mkhybrid/dist/mactypes.h: revision 1.1 external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.1 external/gpl2/mkhybrid/dist/apple_proto.h: revision 1.2 external/gpl2/mkhybrid/dist/multi.c: revision 1.1 external/gpl2/mkhybrid/dist/match.h: revision 1.1 external/gpl2/mkhybrid/dist/match.h: revision 1.2 external/gpl2/mkhybrid/dist/mac_label.c: revision 1.1 external/gpl2/mkhybrid/dist/Makefile.in: revision 1.1 external/gpl2/mkhybrid/dist/mac_label.c: revision 1.2 external/gpl2/mkhybrid/dist/libhfs_iso/lvolume.c: revision 1.1 external/gpl2/mkhybrid/dist/Makefile.in: revision 1.2 external/gpl2/mkhybrid/dist/configure: revision 1.1 external/gpl2/mkhybrid/dist/configure: revision 1.2 external/gpl2/mkhybrid/dist/install-sh: revision 1.1 external/gpl2/mkhybrid/dist/configure: revision 1.3 distrib/cdrom/macppc_installboot/cd9660.c: file removal external/gpl2/mkhybrid/dist/README.mkhybrid: revision 1.1 external/gpl2/mkhybrid/dist/ChangeLog.mkhybrid: revision 1.1 external/gpl2/mkhybrid/dist/iso9660.h: revision 1.1 external/gpl2/mkhybrid/dist/joliet.c: revision 1.1 external/gpl2/mkhybrid/dist/apple.c: revision 1.1 external/gpl2/mkhybrid/dist/apple.c: revision 1.2 external/gpl2/mkhybrid/dist/apple.c: revision 1.3 etc/Makefile: revision 1.471 external/gpl2/mkhybrid/dist/apple.c: revision 1.4 external/gpl2/mkhybrid/dist/tree.c: revision 1.1 etc/Makefile: revision 1.472 external/gpl2/mkhybrid/dist/tree.c: revision 1.2 external/gpl2/mkhybrid/dist/tree.c: revision 1.3 external/gpl2/mkhybrid/dist/libhfs_iso/low.h: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.8: revision 1.1 external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.2 external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.3 external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.4 external/gpl2/mkhybrid/dist/mkisofs.h: revision 1.5 distrib/cdrom/Makefile: revision 1.54 external/gpl2/mkhybrid/dist/getopt.c: revision 1.1
Add -data-change-warn to MKISOFS_ARGS for macppc as done for mac68k: https://mail-index.netbsd.org/source-changes/2023/05/19/msg144826.html
Creating Type&Creator mappings for .bin (macbinary encoded) files, mkisofs changes files, then turns around and complains they have been changed. This is a self-inflicted wound, so demote the error to a warning. This looks to make macppccd builds with cdrtools-3.02a10. Sync with src/usr.sbin/installboot/cd9660.c: - include now properly updated cd9660_extern.h for function prototypes and remove them from local installboot.h - use ISO_MAXNAMLEN rather than (BSD specific and incorrect) MAXNAMLEN - use proper names for the secondary boot file - appease several pointer signedness warnings (not fatal on HOST tools) Use native cd9660 blocksize to specify block numbers in cd9660.c. This reduces diffs from src/usr.sbin/installboot/cd9660.c. Also explicitly call cd9660_match() to get fstype->blocksize properly. Pull sharable src/usr.sbin/installboot/cd9660.c. Import mkhybrid from OpenBSD 7.3 to create ISO9660/HFS hybrid ISO images. - files in libfile except proto.h prepared by OpenBSD are not imported due to non-standard license (newer BSD Licensed versions will be imported later) - unnecessary files for tools build are not imported - RCSId strings are trimmed to avoid unintended substitutions Proposed on tech-toolchain@: https://mail-index.netbsd.org/tech-toolchain/2024/05/25/msg004355.html
Import BSD licensed libfile for mkhybrid builds from cdrtools-3.01. - unnecessary files for tools build are not imported - file.c is renamed to lfile.c to avoid conflict with libhfs_iso - RCSId strings are trimmed Remove dependencies on non-existent exclude.h. Pull changes from mkisofs-1.12.1 to avoid statvfs(2). Make newer BSD Licensed libfile sources build as tools. Update mkhybrid Makefile for NetBSD's tools builds. Suppress implicit declaration warnings. Appease discard-const warnings. Remove duplicated SYSTEM_ID_DEFAULT definitions. Don't redefine SYSTEM_ID_DEFAULT if it's specified in CPPFLAGS. Remove ancient rlimit hacks for NetBSD disabled in cdrtools-2.01. Always use local getopt.h as cdrtools-2.01 did. Tweak and regen configure using autoconf-2.13 to use pkgsrc tools. Check <stdlib.h> and <flock.h> in configure and regen config.h. Use HAVE_CONFIG_H to include <stdlib.h> and <string.h> in getopt sources. Appease more warnings and remove unused getopt functions. Pull options -hide-joliet-trans-tbl and -hide-rr-moved from mkisofs-1.13. Pull -graft-points option from mkisofs-1.13 and cdrtools-2.01. Also remove #ifdef APPLE_HYB for NON-HFS changes to reduce diffs. Tweak OPTION_* definitions to reduce diffs from mkisofs-1.13. Pull malloc related fixes from cdrtools-2.01. This seems to fix SIGSEGV during free(3) in write.c:write_one_file(). Build mkhybrid as a build tool. Build mac68k and macppc iso images using tools/mkhybrid. Drop -data-change-warn from MKISOFS_FLAGS. It's available only on cdrtools-3.x and later. Use tools/mkhybrid as MKISOFS for mac68k and future macppc. Note about current status. Also pull man page description of options pulled from mkisofs-1.13. Don't print progress if -quiet is specfied as cdrtools-2.01 and later. Exclude debug.tgz and xdebug.tgz from mac68k ISO to save ~320MB. Drop -T (for non-Rock Ridge capable systems) from ${MKISOFS_FLAGS}. Even old mac68k and macppc don't require it, and somehow TRANS.TBL files are shown on NetBSD when the ISO images created with both -T and and -hide-joliet-trans-tbl are mounted by mount_cd9660(8). Note this also happens with mkisofs(8) from cdrtools-3.02, but I have not investigated if it's expected behavior. Build src/distrib/cdrom/macppc_installboot in src/tools as a tool. Also use the tools version ${TOOLS_MACPPC_INSTALLBOOT} to create bootable ISO9660/HFS hybrid installcd image for macppc. Make sure NetBSD_BootBlock partition has 32KB to avoid extra padding. It looks at least OpenFirmware 2.x fails to load the primary bootloader in the NetBSD_BootBlock partition if the partition size is too small, probably because OpenFirmware read() function implicitly uses 32KB blocks. Build macppc iso with TOOL_MKHYBRID via "iso-image" target in src/etc. No need to check and redefine C89 strerror(3) and strtoul(3). Fixes build error on MacOS 10.4 with Xcode 2.5.
|
1.18.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|