diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-15 21:12:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-15 21:12:51 +0200 |
commit | bcd4b1859d9d500f43f4199fbac341fb40aa4767 (patch) | |
tree | 2b227d99a91dca7b04d879dadc9a8b5533098a0c /target/arm/Makefile | |
parent | d9db1a94a5ed1fb6d4c3c3c55cd01c6e6704ce3b (diff) |
allow to build older kernel for qemu-arm-versatilepb without device-tree
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r-- | target/arm/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 72e60c772..ad6e1d9ae 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -30,7 +30,11 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE),y) QEMU_ARGS+=-M realview-eb-mpcore -net user -net nic endif ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB),y) +ifeq ($(ADK_TARGET_WITH_DEVICETREE),y) QEMU_ARGS+=-M versatilepb -net user -net nic,model=smc91c111 -dtb $(FW_DIR)/versatile-pb.dtb +else +QEMU_ARGS+=-M versatilepb -net user -net nic,model=smc91c111 +endif endif ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9),y) QEMU_ARGS+=-M vexpress-a9 -cpu cortex-a9 -m 256 -net user -net nic,model=lan9118 -dtb $(FW_DIR)/vexpress-v2p-ca9.dtb |