Skip to content

Commit 26ca48e

Browse files
committed
move make.mk and rules.mk to build_system/make
1 parent 7213b8a commit 26ca48e

File tree

34 files changed

+65
-65
lines changed

34 files changed

+65
-65
lines changed

.idea/cmake.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/make.mk renamed to examples/build_system/make/make.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# $(lastword $(MAKEFILE_LIST)) returns the name of this makefile relative to where make was invoked.
99
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
1010

11-
# strip off /tools/top.mk to get for example ../../..
11+
# strip off /examples/build_system/make to get for example ../../..
1212
# and Set TOP to an absolute path
13-
TOP = $(abspath $(subst make.mk,..,$(THIS_MAKEFILE)))
13+
TOP = $(abspath $(subst make.mk,../../..,$(THIS_MAKEFILE)))
1414

1515
# Set CURRENT_PATH to the relative path from TOP to the current directory, ie examples/device/cdc_msc_freertos
1616
CURRENT_PATH = $(subst $(TOP)/,,$(abspath .))
File renamed without changes.

examples/device/audio_4_channel_mic/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -11,4 +11,4 @@ EXAMPLE_SOURCE += \
1111

1212
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1313

14-
include ../../rules.mk
14+
include ../../build_system/make/rules.mk
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -8,4 +8,4 @@ INC += \
88
EXAMPLE_SOURCE += $(wildcard src/*.c)
99
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1010

11-
include ../../rules.mk
11+
include ../../build_system/make/rules.mk
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -8,4 +8,4 @@ INC += \
88
EXAMPLE_SOURCE += $(wildcard src/*.c)
99
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1010

11-
include ../../rules.mk
11+
include ../../build_system/make/rules.mk
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -8,4 +8,4 @@ INC += \
88
EXAMPLE_SOURCE += $(wildcard src/*.c)
99
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1010

11-
include ../../rules.mk
11+
include ../../build_system/make/rules.mk
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -8,4 +8,4 @@ INC += \
88
EXAMPLE_SOURCE += $(wildcard src/*.c)
99
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1010

11-
include ../../rules.mk
11+
include ../../build_system/make/rules.mk

examples/device/cdc_msc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
INC += \
44
src \
@@ -12,4 +12,4 @@ EXAMPLE_SOURCE += \
1212

1313
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
1414

15-
include ../../rules.mk
15+
include ../../build_system/make/rules.mk

examples/device/cdc_msc_freertos/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include ../../make.mk
1+
include ../../build_system/make/make.mk
22

33
FREERTOS_SRC = lib/FreeRTOS-Kernel
44
FREERTOS_PORTABLE_PATH= $(FREERTOS_SRC)/portable/$(if $(USE_IAR),IAR,GCC)
@@ -43,4 +43,4 @@ CFLAGS_GCC += -Wno-error=cast-qual
4343
# FreeRTOS (lto + Os) linker issue
4444
LDFLAGS_GCC += -Wl,--undefined=vTaskSwitchContext
4545

46-
include ../../rules.mk
46+
include ../../build_system/make/rules.mk

0 commit comments

Comments
 (0)