diff options
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/dtc.in | 8 | ||||
-rw-r--r-- | platforms/kernel.in | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/platforms/dtc.in b/platforms/dtc.in index 5442c2388..470c36f78 100644 --- a/platforms/dtc.in +++ b/platforms/dtc.in @@ -1,5 +1,6 @@ menuconfig HOST_DTC bool + depends on !KERNEL_DTC prompt "Build device tree compiler " help Select this if the HOST_DTC tool is required without @@ -24,7 +25,8 @@ endif menuconfig DTC bool - select HOST_DTC + select HOST_DTC if !DTC_KERNEL + select KERNEL_DTC if DTC_KERNEL select KERNEL prompt "Build device tree " help @@ -48,6 +50,10 @@ config DTC_OFTREE_DTS blob generation. Default is to use the one shipped with the kernel. +config DTC_KERNEL + bool + prompt "use kernel dtc" + config DTC_EXTRA_ARGS string "extra options passed to dtc" diff --git a/platforms/kernel.in b/platforms/kernel.in index 37d7bc63c..176cd11ab 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -191,6 +191,9 @@ config KERNEL_IMAGE default "simpleImage.${PTXCONF_KERNEL_IMAGE_SIMPLE_TARGET}.elf" if KERNEL_IMAGE_SIMPLE && KERNEL_ARCH_POWERPC default "simpleImage.${PTXCONF_KERNEL_IMAGE_SIMPLE_TARGET}" if KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE +config KERNEL_DTC + bool + config KERNEL_XZ prompt "build xz-utils hosttool" bool |