Files
android_kernel_samsung_sm87…/Makefile
yulong li 3099b0c2ee synx-devicetree: fix synx devicetree compile can not find sun_le.mk
add sun_le.mk to compile synx-devicetree

Change-Id: Id2d90d45b1efed41ad6e44598d469c5fbc34f5a2
2025-04-25 01:30:42 -07:00

20 lines
539 B
Makefile

SYNX_DEVICETREE_ROOT=$(shell pwd)
SYNX_KERNEL_ROOT=$(SYNX_DEVICETREE_ROOT)/../../opensource/synx-kernel
KBUILD_OPTIONS += SYNX_DEVICETREE_ROOT=$(shell pwd)
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE+=$(SYNX_KERNEL_ROOT)
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
KBUILD_OPTIONS += MODNAME=synx-devicetree
all: dtbs
dtbs:
$(MAKE) -C $(KERNEL_SRC) M=$(M) dtbs $(KBUILD_OPTIONS)
modules_install:
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean