fix in english makefile for nasm

git-svn-id: svn://kolibrios.org@1757 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2011-01-20 10:23:26 +00:00
parent 593afd2285
commit a32033d090

View File

@ -255,9 +255,10 @@ fimage=$(call respace,$(call imagepart,$(f)))
fsource=$(call respace,$(call sourcepart,$(f)))
# Define targets for image file.
# Join lists $(FASM_PROGRAMS), $(COPY_FILES) and $(OTHER_FILES);
# for each item in the united list call fbinary.
targets:=$(foreach f,$(COPY_FILES) $(FASM_PROGRAMS) $(OTHER_FILES),$(fbinary))
# Join all the lists above.
targets_full:=$(COPY_FILES) $(FASM_PROGRAMS) $(NASM_PROGRAMS) $(OTHER_FILES)
# 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.
# mcopy_command is a macro with two parameters,
@ -277,7 +278,7 @@ define newline
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.
$(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \