Commit a8bd178d authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

remove unused rule, and rewrite c++ rule to use $(COMPILE.cpp)


Signed-off-by: default avatarErik Faye-Lund <kusmabite@gmail.com>
parent 46e8a89d
......@@ -221,13 +221,9 @@ $(HOST_BUILD_DIR)/%.o: %.c
### C++
$(TARGET_BUILD_DIR)/%.o: %.cpp
@$(MKDIR) $(dir $@)
$(QUIET_CXX)$(TARGET_CXX) $(CPPFLAGS) $(CXXFLAGS) $(THUMB) -c $< -o $@ -MMD -MP -MF $(@:.o=.d)
$(HOST_BUILD_DIR)/%.o: %.cpp
@$(MKDIR) $(dir $@)
$(QUIET_CXX)$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@ -MMD -MP -MF $(@:.o=.d)
$(QUIET_CXX)$(COMPILE.cpp) $(OUTPUT_OPTION) $< -MMD -MP -MF $(@:.o=.d)
### ASM
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment