mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 05:13:34 +08:00
Merge pull request #7 from UAVenture/make-fix
Trailing slashes in included makefiles break build under OS X
This commit is contained in:
@@ -9,7 +9,7 @@ UAVCAN_DIR := $(LIBUAVCAN_DIR)/../
|
||||
#
|
||||
# Library sources
|
||||
#
|
||||
LIBUAVCAN_SRC := $(shell find $(LIBUAVCAN_DIR)/src/ -type f -name '*.cpp')
|
||||
LIBUAVCAN_SRC := $(shell find $(LIBUAVCAN_DIR)/src -type f -name '*.cpp')
|
||||
|
||||
LIBUAVCAN_INC := $(LIBUAVCAN_DIR)/include
|
||||
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
|
||||
LIBUAVCAN_STM32_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
LIBUAVCAN_STM32_SRC := $(shell find $(LIBUAVCAN_STM32_DIR)/src/ -type f -name '*.cpp')
|
||||
LIBUAVCAN_STM32_SRC := $(shell find $(LIBUAVCAN_STM32_DIR)/src -type f -name '*.cpp')
|
||||
|
||||
LIBUAVCAN_STM32_INC := $(LIBUAVCAN_STM32_DIR)/include/
|
||||
|
||||
Reference in New Issue
Block a user