Skip to content

Commit

Permalink
allow to build apps with other configs
Browse files Browse the repository at this point in the history
  • Loading branch information
LAMBERT des CILLEULS Charles committed Dec 19, 2023
1 parent 81a0821 commit 5c00016
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/make/oot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ OOT_CONFIG ?= $(OOT)/oot-config

OOT_ARGS ?= -C $(CRAZYFLIE_BASE) OOT=$(OOT) EXTRA_CFLAGS="$(EXTRA_CFLAGS)"

CONFIG ?= alldefconfig

ifneq ($(OOT_USES_CXX),)
OOT_ARGS += OOT_USES_CXX=1
endif

.PHONY: all clean

all:
$(MAKE) KBUILD_OUTPUT=$(OOT)/build $(OOT_ARGS) KCONFIG_ALLCONFIG=$(OOT_CONFIG) alldefconfig
$(MAKE) KBUILD_OUTPUT=$(OOT)/build $(OOT_ARGS) KCONFIG_ALLCONFIG=$(OOT_CONFIG) $(CONFIG)
$(MAKE) KBUILD_OUTPUT=$(OOT)/build $(OOT_ARGS) -j 12

clean:
Expand Down

0 comments on commit 5c00016

Please sign in to comment.