custom FW repos code generation process #5817

preparation
This commit is contained in:
Andrey 2023-12-19 15:36:28 -05:00 committed by rusefillc
parent 8217713535
commit eefd3751d8
2 changed files with 28 additions and 2 deletions

View File

@ -1,3 +1,16 @@
#include "efi_quote.h"
#pragma once
#include "engine_configuration_generated_structures.h"
#pragma message ("SHORT_BOARD_NAME: " QUOTE(SHORT_BOARD_NAME))
#define META_ENGINE_GENERATED_NAME engine_configuration_generated_structures_
#define META_ENGINE_GENERATED_EXT .h
#if !EFI_UNIT_TEST
#define META_ENGINE_GENERATED_H_FILENAME QUOTE(META_ENGINE_GENERATED_NAME SHORT_BOARD_NAME META_ENGINE_GENERATED_EXT)
#include META_ENGINE_GENERATED_H_FILENAME
#pragma message ("META_ENGINE_GENERATED_H_FILENAME: " META_ENGINE_GENERATED_H_FILENAME)
#endif

View File

@ -1,3 +1,16 @@
#include "efi_quote.h"
#pragma once
#include "rusefi_generated.h"
#pragma message ("SHORT_BOARD_NAME: " QUOTE(SHORT_BOARD_NAME))
#define META_GENERATED_NAME rusefi_generated_
#define META_GENERATED_EXT .h
#if !EFI_UNIT_TEST
#define META_GENERATED_H_FILENAME QUOTE(META_GENERATED_NAME SHORT_BOARD_NAME META_GENERATED_EXT)
#include META_GENERATED_H_FILENAME
#pragma message ("META_GENERATED_H_FILENAME: " META_GENERATED_H_FILENAME)
#endif