From de013d2f04b32b3b456877ad44a7158be695437b Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Mon, 22 May 2023 15:01:56 +0000 Subject: [PATCH] Makefile: add genprotimg to non-s390x architectures target list `genprotimg` can be useful on non-s390x architectures such as x86 or arm. Therefore add `genprotimg` to the non-s390x target list. How to build genprotimg on a non-s390x system (s390x cross-compiler required) $ # Build and install /usr/bin/genprotimg $ make -C genprotimg $ make install -C genprotimg $ # Build and install the genprotimg bootloaders $ 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- Reviewed-by: Steffen Eiden Signed-off-by: Marc Hartmayer Signed-off-by: Steffen Eiden --- CHANGELOG.md | 1 + Makefile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fd84c33..9d13e0e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Release history for s390-tools (MIT version) Add new tools / libraries: Changes of existing tools: + - add support for architectures other than s390x for `genprotimg` Bug Fixes: diff --git a/Makefile b/Makefile index 02bf0c02..85baeafb 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,7 @@ TOOL_DIRS = zipl zdump fdasd dasdfmt dasdview tunedasd \ genprotimg lsstp hsci hsavmcore chreipl-fcp-mpath ap_tools pvattest else BASELIB_DIRS = -LIB_DIRS = libpv -TOOL_DIRS = pvattest +LIB_DIRS = genprotimg libpv endif SUB_DIRS = $(BASELIB_DIRS) $(LIB_DIRS) $(TOOL_DIRS)