Skip to content

Commit

Permalink
Merge pull request #1334 from atoums/apps_config
Browse files Browse the repository at this point in the history
allow to build apps with other configs
  • Loading branch information
ataffanel authored Dec 20, 2023
2 parents 81a0821 + 5c00016 commit df96c57
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 df96c57

Please sign in to comment.