summaryrefslogtreecommitdiff
path: root/target/ppc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-02 15:52:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-02 15:55:11 +0200
commit1f94ff184c4fc6d74b8147370600e29a71415729 (patch)
treec2afec72181046f62cdef0521c1e1815db357f8e /target/ppc/Makefile
parent05374459533dd3d3a8e2bdfa5c68a791a893e290 (diff)
refactor kernel mini.config.
We do not need to manually set mini.config file anymore. Every target system, even Qemu emulating different models get it its own. Cleaner and simpler to add new targets.
Diffstat (limited to 'target/ppc/Makefile')
-rw-r--r--target/ppc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index 7195753dc..64660ef59 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -9,14 +9,14 @@ KERNEL:=$(LINUX_DIR)/vmlinux
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
QEMU_ARGS:=${ADK_QEMU_ARGS}
-ifeq ($(ADK_TARGET_QEMU_PPC_MACPPC),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC),y)
QEMU_ARGS+=-M mac99
QEMU_ARGS+=-device e1000,netdev=adk0 -netdev user,id=adk0
endif
-ifeq ($(ADK_TARGET_QEMU_PPC_VIRTEX_ML507),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
QEMU_ARGS+=-M virtex-ml507 -m 256 -dtb $(FW_DIR)/ppc.dtb
endif
-ifeq ($(ADK_TARGET_QEMU_PPC_BAMBOO),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO),y)
QEMU_ARGS+=-M bamboo
QEMU_ARGS+=-device e1000,netdev=adk0 -netdev user,id=adk0
endif
@@ -76,14 +76,14 @@ dtb-install:
# filesystem specific targets
ifeq ($(ADK_TARGET_FS),archive)
-ifeq ($(ADK_TARGET_QEMU_PPC_VIRTEX_ML507),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install $(FW_DIR)/$(ROOTFSTARBALL) targethelp
else
imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
-ifeq ($(ADK_TARGET_QEMU_PPC_VIRTEX_ML507),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
else
imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
@@ -93,7 +93,7 @@ ifeq ($(ADK_TARGET_FS),initramfsarchive)
imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
-ifeq ($(ADK_TARGET_QEMU_PPC_VIRTEX_ML507),y)
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC_VIRTEX_ML507),y)
imageinstall: dtb-install createinitramfs targethelp
else
imageinstall: createinitramfs targethelp