Makefile: Remove U-boot rules
Building u-boot in the android-kvm repo is deprecated (we use the AOSP
build scripts now), so remove the redundant build rules.
Test: make test
Change-Id: I006c7c6d8927867489cd1615dfe5ed78babd45a9
diff --git a/Makefile b/Makefile
index 4e3bd66..8979764 100644
--- a/Makefile
+++ b/Makefile
@@ -124,14 +124,14 @@
default: kvm-unit-tests linux
.PHONY: clean
-clean: buildroot_clean kvm-unit-tests_clean linux_clean u-boot_clean
+clean: buildroot_clean kvm-unit-tests_clean linux_clean
.PHONY: distclean
distclean:
- rm -rf $(OUT_DIR) $(DIST_DIR)
.PHONY: all
-all: buildroot kvm-unit-tests linux u-boot
+all: buildroot kvm-unit-tests linux
.PHONY: help
help:
@@ -141,7 +141,6 @@
@echo ' buildroot - the buildroot rootfs image as well as the host qemu'
@echo ' kvm-unit-tests - the kvm-unit-tests'
@echo ' linux - the linux kernel'
- @echo ' u-boot - the u-boot'
@echo ''
@echo 'Clean Targets:'
@echo ' clean - cleans all, but keeps the prebuilts'
@@ -149,7 +148,6 @@
@echo ' buildroot_clean - the buildroot rootfs image as well as the host qemu'
@echo ' kvm-unit-tests_clean - the kvm-unit-tests'
@echo ' linux_clean - the linux kernel'
- @echo ' u-boot_clean - the u-boot'
@echo ''
@echo 'Test Targets:'
@echo ' test - runs all tests in qemu-aarch64 simulated environment'
@@ -269,44 +267,6 @@
##
-## u-boot
-##
-UBOOT_DEFCONFIG ?= pvmfw_arm64_defconfig
-UBOOT_VERBOSE ?= $(VERBOSE)
-UBOOT_SRC ?= $(ROOT_DIR)/u-boot
-UBOOT_OUT := $(OUT_DIR)/u-boot
-UBOOT_MAKE := \
- PATH=$(TOOLCHAIN_BIN):$(GCC_TOOLCHAIN_BIN):$(PATH) \
- ARCH=$(ARCH) \
- CROSS_COMPILE="$(TARGET)-" \
- $(MAKE) \
- CC=$(CC) \
- LD=$(LD) \
- -C $(UBOOT_SRC) \
- V=$(UBOOT_VERBOSE) \
- O=$(UBOOT_OUT)
-
-UBOOT_CONFIG := $(UBOOT_OUT)/.config
-UBOOT_BIN := $(UBOOT_OUT)/u-boot.bin
-
-.PHONY: u-boot_defconfig
-u-boot_defconfig $(UBOOT_CONFIG):
- + $(UBOOT_MAKE) $(UBOOT_DEFCONFIG)
-
-.PHONY: u-boot_menuconfig
-u-boot_menuconfig: $(UBOOT_CONFIG)
- + $(UBOOT_MAKE) menuconfig
-
-.PHONY: u-boot
-u-boot $(UBOOT_BIN): $(UBOOT_CONFIG)
- + $(UBOOT_MAKE)
-
-.PHONY: u-boot_clean
-u-boot_clean:
- + $(UBOOT_MAKE) mrproper
-
-
-##
## Generating/Updating prebuilts
##