瀏覽代碼

add top_dir in the correct place

Jack Humbert 7 年之前
父節點
當前提交
583541c7e0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 2 0
      build_keyboard.mk
  2. 0 2
      common.mk

+ 2 - 0
build_keyboard.mk

@@ -12,6 +12,8 @@ endif
 
 .DEFAULT_GOAL := all
 
+TOP_DIR ?= .
+
 include $(TOP_DIR)/common.mk
 
 # Set the filename for the final firmware binary

+ 0 - 2
common.mk

@@ -1,6 +1,4 @@
 # Directory common source files exist
-TOP_DIR ?= .
-
 include $(TOP_DIR)/message.mk
 
 TMK_DIR = tmk_core