zipl: Add missing build dependency

Building zipl from outside the zipl/ sub-directory fails due to a
missing dependency:

  # cd s390-tools
  # make -C zipl/src/ zipl
  boot.c:18:10: fatal error: ../boot/data.h: No such file or directory
   #include "../boot/data.h"

This is because boot/data.h needs to be generated before src/boot.c can
be compiled. Fix this by adding the missing dependency to the zipl
Makefile.

Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Peter Oberparleiter
2018-08-22 08:38:03 +01:00
committed by Jan Höppner
parent 9894e391ef
commit 68b46eea7a

View File

@@ -41,6 +41,8 @@ clean:
# Additional manual dependencies
.boot.o.d boot.o: ../boot/data.h
../boot/data.h:
make -C ../boot data.h