mirror of
git://nv-tegra.nvidia.com/linux/kernel-devicetree.git
synced 2025-12-22 09:11:28 +03:00
device-tree: Add OS_LINUX as the DTC flag
Add device tree compiler flag as OS_LINUX for building the DT for linux. Bug 3081230 Change-Id: I7b5efc8840988f7afb9bcd2ee7c1c0997d4f8c3a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089477 Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3164878
This commit is contained in:
committed by
mobile promotions
parent
19952c8e25
commit
0acb474aaf
@@ -13,7 +13,7 @@ include $(oottree)/scripts/Makefile.lib
|
|||||||
|
|
||||||
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
||||||
|
|
||||||
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2
|
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2 -DOS_LINUX
|
||||||
|
|
||||||
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||||
ifneq ($(TOP),)
|
ifneq ($(TOP),)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ DTC_FLAGS += -Wno-graph_endpoint
|
|||||||
|
|
||||||
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
DTC_CPP_FLAGS += $(EXTRA_CPP_FLAGS)
|
||||||
|
|
||||||
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2
|
DTC_CPP_FLAGS += -DLINUX_VERSION=600 -DTEGRA_HOST1X_DT_VERSION=2 -DOS_LINUX
|
||||||
|
|
||||||
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
ifneq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||||
ifneq ($(TOP),)
|
ifneq ($(TOP),)
|
||||||
|
|||||||
Reference in New Issue
Block a user