diff options
author | Christian Cunningham <cc@localhost> | 2022-03-24 09:41:08 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-24 09:41:08 -0700 |
commit | d91b1f275e7a62fa5787df49769238c29c605a91 (patch) | |
tree | 46b7e3d3795129bc974e87bfaf43f66b8fced645 | |
parent | 93bf62580a68533dc8252b9a2a055c02f34ecb67 (diff) |
Build command flag
-rw-r--r-- | Common.mk | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 $@ |