summaryrefslogtreecommitdiff
path: root/toolchain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r--toolchain/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index 2502d3f15..09b02c743 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -57,7 +57,7 @@ ifeq (${ADK_PRELINK},y)
TARGETS+=prelink-cross
endif
-DOWNLOAD:=kernel-headers-download $(patsubst %,%-download,$(TARGETS))
+DOWNLOAD:=$(ADK_TARGET_OS)-headers-download $(patsubst %,%-download,$(TARGETS))
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
FINAL:=$(patsubst %,%-final,$(COMPILER))
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
@@ -77,7 +77,7 @@ endif
ifeq ($(ADK_TARGET_LIB_NEWLIB),y)
$(CLIB)-install: $(COMPILER)-configure
else
-$(CLIB)-install: $(COMPILER)-configure kernel-headers-configure
+$(CLIB)-install: $(COMPILER)-configure $(ADK_TARGET_OS)-headers-configure
endif
$(COMPILER)-install: $(ELF2FLT) $(CLIB)-install
$(COMPILER)-final: $(COMPILER)-install $(GDB)