forked from KolibriOS/kolibrios
fix in english makefile for nasm
git-svn-id: svn://kolibrios.org@1757 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
593afd2285
commit
a32033d090
@ -255,9 +255,10 @@ fimage=$(call respace,$(call imagepart,$(f)))
|
|||||||
fsource=$(call respace,$(call sourcepart,$(f)))
|
fsource=$(call respace,$(call sourcepart,$(f)))
|
||||||
|
|
||||||
# Define targets for image file.
|
# Define targets for image file.
|
||||||
# Join lists $(FASM_PROGRAMS), $(COPY_FILES) and $(OTHER_FILES);
|
# Join all the lists above.
|
||||||
# for each item in the united list call fbinary.
|
targets_full:=$(COPY_FILES) $(FASM_PROGRAMS) $(NASM_PROGRAMS) $(OTHER_FILES)
|
||||||
targets:=$(foreach f,$(COPY_FILES) $(FASM_PROGRAMS) $(OTHER_FILES),$(fbinary))
|
# For each item in the united list call fbinary.
|
||||||
|
targets:=$(foreach f,$(targets_full),$(fbinary))
|
||||||
|
|
||||||
# Define a command for copying a file inside the image.
|
# Define a command for copying a file inside the image.
|
||||||
# mcopy_command is a macro with two parameters,
|
# mcopy_command is a macro with two parameters,
|
||||||
@ -277,7 +278,7 @@ define newline
|
|||||||
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
mcopy_all_items:=$(foreach f,$(FASM_PROGRAMS) $(COPY_FILES) $(OTHER_FILES),$(mcopy_item_command)$(newline))
|
mcopy_all_items:=$(foreach f,$(targets_full),$(mcopy_item_command)$(newline))
|
||||||
|
|
||||||
# The main goal: image.
|
# The main goal: image.
|
||||||
$(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \
|
$(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \
|
||||||
|
Loading…
Reference in New Issue
Block a user