summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 09d960f2dd..4a8d2fe33f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,23 +5,6 @@
# Embedded Controller firmware build system
#
-# If we came here via a symlink we restart make and deduce the correct BOARD
-# value from the current directory.
-SYMLINK := $(shell readlink $(lastword $(MAKEFILE_LIST)))
-
-ifneq (,$(SYMLINK))
-
-.PHONY: restart
-restart: .DEFAULT
- @true
-
-.DEFAULT:
- @$(MAKE) -C $(dir $(SYMLINK)) \
- --no-print-directory \
- $(MAKECMDGOALS) \
- BOARD=$(notdir $(shell pwd))
-else
-
BOARD ?= bds
# Directory where the board is configured (includes /$(BOARD) at the end)
@@ -209,4 +192,3 @@ libsharedobjs: $(libsharedobjs-y)
include Makefile.rules
export CROSS_COMPILE CFLAGS CC CPP LD NM AR OBJCOPY OBJDUMP
-endif # SYMLINK