Skip to content

Commit eaa60c8

Browse files
authored
Merge pull request #1825 from petterreinholdtsen/build-threads-make-config
Correct build rules for threads component.
2 parents 0d36b03 + 5eaeba8 commit eaa60c8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ obj-$(CONFIG_PID) += pid.o
894894
pid-objs := hal/components/pid.o $(MATHSTUB)
895895
obj-$(CONFIG_AT_PID) += at_pid.o
896896
at_pid-objs := hal/components/at_pid.o $(MATHSTUB)
897-
obj-$(CONFIG_PID) += threads.o
897+
obj-$(CONFIG_THREADS) += threads.o
898898
threads-objs := hal/components/threads.o $(MATHSTUB)
899899
obj-$(CONFIG_SUPPLY) += supply.o
900900
supply-objs := hal/components/supply.o $(MATHSTUB)

src/Makefile.inc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ CONFIG_AT_PID=m
193193
CONFIG_PID=m
194194
CONFIG_SUPPLY=m
195195
CONFIG_CLASSICLADDER_RT=m
196+
CONFIG_THREADS=m
196197
CONFIG_TIMEDELAY=m
197198
CONFIG_SIM_ENCODER=m
198199
CONFIG_WEIGHTED_SUM=m

0 commit comments

Comments
 (0)