Skip to content

Commit

Permalink
kernel: Move full kernel build guard flag below all targets
Browse files Browse the repository at this point in the history
* The Pixel DTBO generation step should also be guarded by the full
  kernel build flag.

Change-Id: I06d230b1b32ad9d974f90bfe6ae82008f4454d83
  • Loading branch information
intervigilium authored and hungphan2001 committed May 28, 2019
1 parent dd2f6c4 commit 38715d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/tasks/kernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ alldefconfig:
env KCONFIG_NOTIMESTAMP=true \
$(PATH_OVERRIDE) $(MAKE) -C $(KERNEL_SRC) O=$(KERNEL_OUT) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) $(KERNEL_CLANG_TRIPLE) $(KERNEL_CC) alldefconfig

endif # FULL_KERNEL_BUILD

TARGET_PREBUILT_DTBO = $(PRODUCT_OUT)/dtbo/arch/$(KERNEL_ARCH)/boot/dtbo.img
$(TARGET_PREBUILT_DTBO): $(AVBTOOL)
echo -e ${CL_GRN}"Building DTBO.img"${CL_RST}
Expand All @@ -281,6 +279,8 @@ $(TARGET_PREBUILT_DTBO): $(AVBTOOL)
--partition_name dtbo $(INTERNAL_AVB_DTBO_SIGNING_ARGS) \
$(BOARD_AVB_DTBO_ADD_HASH_FOOTER_ARGS)

endif # FULL_KERNEL_BUILD

## Install it

ifeq ($(NEEDS_KERNEL_COPY),true)
Expand Down

0 comments on commit 38715d0

Please sign in to comment.