mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Makefile: Avoid relink of modules during 'make install'
Because targets check-dep-zkey and check-dep-zkey-cryptsetup do not produce any file, any targets that have a pre-req on those targets are rebuilt during 'make install'. Also correct .PHONY targets. Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/46 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
cd46297d7c
commit
c33cc5a619
@@ -37,6 +37,7 @@ check-dep-zkey:
|
||||
"openssl/evp.h", \
|
||||
"openssl-devel", \
|
||||
"HAVE_OPENSSL=0")
|
||||
touch check-dep-zkey
|
||||
|
||||
check-dep-zkey-cryptsetup: detect-libcryptsetup.h
|
||||
$(call check_dep, \
|
||||
@@ -50,6 +51,7 @@ check-dep-zkey-cryptsetup: detect-libcryptsetup.h
|
||||
"json-c/json.h", \
|
||||
"json-c-devel", \
|
||||
"HAVE_JSONC=0")
|
||||
touch check-dep-zkey-cryptsetup
|
||||
|
||||
zkey-skip:
|
||||
echo " SKIP zkey due to HAVE_OPENSSL=0"
|
||||
@@ -93,6 +95,9 @@ install-zkey-cryptsetup:
|
||||
install: all install-common $(INSTALL_TARGETS)
|
||||
|
||||
clean:
|
||||
rm -f *.o zkey zkey-cryptsetup detect-libcryptsetup.h
|
||||
rm -f *.o zkey zkey-cryptsetup detect-libcryptsetup.h \
|
||||
check-dep-zkey check-dep-zkey-cryptsetup
|
||||
|
||||
.PHONY: all install clean
|
||||
.PHONY: all install clean zkey-skip zkey-cryptsetup-skip-cryptsetup2 \
|
||||
zkey-cryptsetup-skip-jsonc install-common install-zkey \
|
||||
install-zkey-cryptsetup
|
||||
|
||||
Reference in New Issue
Block a user