Comment 8 for bug 2025578

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2023-07-14 10:13 EDT-------
As of commit https://github.com/ibm-s390-linux/s390-tools/commit/de013d2f04b32b3b456877ad44a7158be695437b, genprotimg is also built on architectures other than s390x (note: the bootloaders are skipped - they need to be built with a cross-compiler or on a s390x system).

$ # Build and install /usr/bin/genprotimg
$ make -C genprotimg
$ make install -C genprotimg

$ # Build and install the genprotimg bootloaders unsing a cross-compiler or on a s390x system
$ make -C genprotimg/boot HOST_ARCH=s390x CROSS_COMPILE=s390x-linux-gnu-
$ make install -C genprotimg/boot HOST_ARCH=s390x CROSS_COMPILE=s390x-linux-gnu-

See https://github.com/ibm-s390-linux/s390-tools/discussions/150#discussioncomment-6371525 for details.