From d91b1f275e7a62fa5787df49769238c29c605a91 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Mar 2022 09:41:08 -0700 Subject: Build command flag --- Common.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Common.mk b/Common.mk index 8d91776..4d349c3 100644 --- a/Common.mk +++ b/Common.mk @@ -19,7 +19,6 @@ A_OBJECTD = $(A_OBJECTK) $(A_OBJECTU) ATTACH_USB ?= 0 AUTO ?= 0 BSP ?= 2 -BUILD ?= 0 GDEBUG ?= 0 DEBUG ?= 0 SILENT ?= 0 @@ -56,12 +55,6 @@ ifeq ($(BSP),2) CFLAGS += -DBSP23 endif -# Use Correct Hardware Timing -ifneq ($(BUILD),0) - RPI_BUILD = 1 - CFLAGS += -DRPI_BUILD -endif - # Pause and wait for GDB if requested ifneq ($(GDEBUG),0) QFLAGS += -s -S @@ -86,6 +79,7 @@ endif default: clean build/kernel7.img +build/kernel7.img: CFLAGS += -DRPI_BUILD build/kernel7.img: build/kernel.elf @mkdir -p $(@D) ${OBJCOPY} $< -O binary $@ -- cgit v1.2.1