aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-11-17 15:39:15 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:51 -0400
commit748edc3887c714dcc92768556aac7ac563b6247e (patch)
tree22c0fa3074961045adb084d27020f2c3e6489daf /libmaple/stm32f1
parentbb657c68e77a1c597b45c35978e4c833739144e9 (diff)
downloadlibrambutan-748edc3887c714dcc92768556aac7ac563b6247e.tar.gz
librambutan-748edc3887c714dcc92768556aac7ac563b6247e.zip
libmaple: Add build infrastructure for private headers.
libmaple/rules.mk: Add LIBMAPLE_PRIVATE_INCLUDES, a place for storing headers which should be commonly available throughout libmaple, but not made public. Currently, this is just the libmaple directory. Add LIBMAPLE_PRIVATE_INCLUDES to the target flags in the STM32F1 and USB submodules. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f1')
-rw-r--r--libmaple/stm32f1/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk
index 03d2f95..5267e9b 100644
--- a/libmaple/stm32f1/rules.mk
+++ b/libmaple/stm32f1/rules.mk
@@ -5,7 +5,7 @@ d := $(dir)
BUILDDIRS += $(BUILD_PATH)/$(d)
# Local flags
-CFLAGS_$(d) = -I$(d) $(LIBMAPLE_INCLUDES) -Wall -Werror
+CFLAGS_$(d) = -I$(d) $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror
# Local rules and targets
sSRCS_$(d) := isrs_performance.S \