Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
fafb5211
Commit
fafb5211
authored
Jul 09, 2012
by
Dean Camera
Browse files
Fix broken builds when OBJDIR is specified in the BUILD build system module.
parent
73a87a8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
LUFA/Build/lufa.build.in
View file @
fafb5211
...
...
@@ -145,7 +145,7 @@ endif
# Convert input source filenames into a list of required output object files
OBJECT_FILES += $(addsuffix .o, $(basename $(SRC)))
ifneq ($(OBJDIR),.)
$(shell mkdir $(OBJDIR) 2>
&1 >
/dev/null)
$(shell mkdir $(OBJDIR) 2> /dev/null)
VPATH += $(dir $(SRC))
OBJECT_FILES := $(addprefix $(patsubst %/,%,$(OBJDIR))/, $(notdir $(OBJECT_FILES)))
endif
...
...
@@ -228,7 +228,7 @@ clean: mostlyclean
all: build_begin check-source gcc-version elf hex lss sym size build_end
lib: $(TARGET).a
lib:
lib
$(TARGET).a
elf: $(TARGET).elf
hex: $(TARGET).hex $(TARGET).eep
lss: $(TARGET).lss
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment