aboutsummaryrefslogtreecommitdiffstats
path: root/efi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'efi/Makefile')
-rw-r--r--efi/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/efi/Makefile b/efi/Makefile
index d5443bd5..bbf23f24 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -60,11 +60,10 @@ DATE := $(shell sh $(SRC)/../gen-id.sh $(VERSION) $(HEXDATE))
endif
CFLAGS += -DDATE_STR='"$(DATE)"'
-.PHONY: subdirs
-subdirs:
- mkdir -p $(ARCH)
+$(OBJ)/$(ARCH):
+ mkdir -p $@
-$(OBJS): subdirs
+$(OBJS): | $(OBJ)/$(ARCH)
# The targets to build in this directory
BTARGET = syslinux.efi