aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--efi/Makefile3
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 115ed8f1..38611684 100644
--- a/Makefile
+++ b/Makefile
@@ -329,12 +329,13 @@ install: local-install
-f $(SRC)/$$i/Makefile $@; done
else
install:
+ mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
set -e ; for i in $(INSTALLSUBDIRS) ; \
do $(MAKE) -C $$i SRC="$(SRC)/$$i" OBJ="$(OBJ)/$$i" \
- BITS="$(BITS)" -f $(SRC)/$$i/Makefile $@; done
-
- mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
- install -m 755 $(MODULES) $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
+ BITS="$(BITS)" AUXDIR="$(AUXDIR)/efi$(BITS)" \
+ -f $(SRC)/$$i/Makefile $@; done
+ -install -m 644 $(INSTALLABLE_MODULES) $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
+ install -m 644 com32/elflink/ldlinux/$(LDLINUX) $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
endif
netinstall: installer
diff --git a/efi/Makefile b/efi/Makefile
index cb99f2a2..20034301 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -69,8 +69,7 @@ codepage.o: ../codepage/cp865.cp
installer: syslinux.efi
install: all
- mkdir -m 755 -p $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
- install -m 755 $(BTARGET) $(INSTALLROOT)$(AUXDIR)/efi$(BITS)
+ install -m 755 $(BTARGET) $(INSTALLROOT)$(AUXDIR)
strip: