mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Move the code responsible for installing stage3.bin to the boot/Makefile. In addition, remove the stage3.bin from the Makefile `all` target prerequisites in src/Makefile, as zipl can be built without it. While at it, use $(INSTALL) instead of $(CP) for the bootloader installation. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
22 lines
541 B
Makefile
22 lines
541 B
Makefile
# Common definitions
|
|
include ../common.mak
|
|
|
|
all:
|
|
$(MAKE) -C boot
|
|
$(MAKE) -C src
|
|
|
|
install: all
|
|
$(MAKE) -C boot install
|
|
$(MAKE) -C src install
|
|
$(MAKE) -C man install
|
|
$(MAKE) -C dracut install
|
|
$(MAKE) -C initramfs-tools install
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 doc/zipl.conf.minimal $(DESTDIR)$(TOOLS_LIBDIR)/zipl.conf
|
|
ifeq ($(wildcard $(DESTDIR)$(SYSCONFDIR)/ziplenv),)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 doc/ziplenv.minimal $(DESTDIR)$(SYSCONFDIR)/ziplenv
|
|
endif
|
|
|
|
clean:
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C boot clean
|