no more variable include

master
Stefan Dorn 2016-06-11 20:16:11 +01:00
parent 3dda86dd7e
commit e7221e5eab
3 changed files with 2 additions and 22 deletions

View File

@ -15,9 +15,6 @@
// --------------------------------------------------------------------
// include the appropriate keyboard layout header
#include "../../lib/variable-include.h"
#define INCLUDE EXP_STR( ./layout/MAKEFILE_KEYBOARD_LAYOUT.h )
#include INCLUDE
#include "./layout/saneo-mod.h"
#endif

View File

@ -9,8 +9,4 @@
* Project located at <https://github.com/benblazak/ergodox-firmware>
* ------------------------------------------------------------------------- */
#include "../lib/variable-include.h"
#define INCLUDE EXP_STR( ./twi/MAKEFILE_BOARD.h )
#include INCLUDE
#include "./twi/teensy-2-0.h"

View File

@ -1,13 +0,0 @@
/* ----------------------------------------------------------------------------
* Macros to help with conditional includes
* ----------------------------------------------------------------------------
* Copyright (c) 2012 Ben Blazak <benblazak.dev@gmail.com>
* Released under The MIT License (MIT) (see "license.md")
* Project located at <https://github.com/benblazak/ergodox-firmware>
* ------------------------------------------------------------------------- */
#undef INCLUDE
#define STR(s) #s // stringify
#define EXP_STR(s) STR(s) // expand -> stringify