summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/arm/Makefile10
-rw-r--r--target/linux/config/Config.in.kernel6
2 files changed, 12 insertions, 4 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index b15206558..72cd87c59 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -100,6 +100,12 @@ kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
dtb-install:
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \
+ dtbs
+ $(CP) $(LINUX_DIR)/arch/arm/boot/dts/*.dtb \
+ $(FW_DIR)
+endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \
imx6q-cubox-i.dtb imx6dl-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb $(MAKE_TRACE)
@@ -109,11 +115,7 @@ endif
# filesystem specific targets
ifeq ($(ADK_TARGET_FS),archive)
-ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
imageinstall: dtb-install $(FW_DIR)/$(ROOTFSTARBALL) targethelp
-else
-imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
-endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 816982b12..1da519c1c 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -203,6 +203,12 @@ config ADK_KERNEL_PREEMPT
bool "Enable preemptive kernel"
default n
+config ADK_KERNEL_BCM2708_DT
+ bool "Enable Devicetree support"
+ depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
+ depends on ADK_KERNEL_VERSION_3_18
+ default n
+
config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size"
# does not boot in qemu