summaryrefslogtreecommitdiff
path: root/target/device/ARM/Makefile.in
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-20 23:04:30 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-20 23:04:30 +0000
commit374f8383b979761ff6eb3de9e6302efb21439a64 (patch)
tree6ac602289ec73bdcae40da6a0eaf99e020c3e3de /target/device/ARM/Makefile.in
parent42b0271533a9fa6158cee783a13bf0a6d9be909c (diff)
Add generic ARM target, if none other is choosen
Diffstat (limited to 'target/device/ARM/Makefile.in')
-rw-r--r--target/device/ARM/Makefile.in51
1 files changed, 51 insertions, 0 deletions
diff --git a/target/device/ARM/Makefile.in b/target/device/ARM/Makefile.in
new file mode 100644
index 000000000..a12182155
--- /dev/null
+++ b/target/device/ARM/Makefile.in
@@ -0,0 +1,51 @@
+ifeq ($(BR2_TARGET_ARM),y)
+
+BOARD_NAME=arm
+BR2_BOARD_PATH:=target/device/ARM
+BOARD_PATH:=target/device/ARM
+
+# These are set by Config.in
+DOWNLOAD_LINUX26_VERSION:=$(strip $(subst ",, $(BR2_DOWNLOAD_LINUX26_VERSION)))
+#"))
+ifeq ($(DOWNLOAD_LINUX26_VERSION),)
+DOWNLOAD_LINUX26_VERSION=$(LINUX_HEADERS_VERSION)
+endif
+
+LINUX26_VERSION:=$(strip $(subst ",, $(BR2_LINUX26_VERSION)))
+#"))
+ifeq ($(LINUX26_VERSION),)
+LINUX26_VERSION=$(LINUX_HEADERS_VERSION)
+endif
+
+# These are set by "new" Config.in
+ifeq ($(BR2_LINUX26_KCONFIG),)
+LINUX26_KCONFIG:=$(BOARD_PATH)/$(BOARD_NAME)-linux.config
+endif
+
+# This should be part of target/linux/Makefile.in
+LINUX26_BUILD_DIR:=$(PROJECT_BUILD_DIR)
+
+LINUX26_BINLOC=$(LINUX26_FORMAT)
+
+LINUX26_COPYTO:=/tftpboot
+
+LINUX26_PATCH_DIR:=target/device/ARM/kernel-patches
+
+# The board specific Makefile.in can redefine BOARD_NAME's
+LINUX_BOARD_NAME:=$(BOARD_NAME)
+
+BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox.config
+
+
+# Needs to be AFTER board specific Makefiles
+
+arm_status:
+ @echo PROJECT_BUILD_DIR=$(PROJECT_BUILD_DIR)
+ @echo BOARD_NAME=$(BOARD_NAME)
+ @echo BR2_BOARD_PATH=$(BR2_BOARD_PATH)
+ @echo MAJOR_MINOR=$(LINUX_MAJOR_VER)$(LINUX_MINOR_VER)
+ @echo DOWNLOAD_LINUX26_VERSION=$(DOWNLOAD_LINUX26_VERSION)
+ @echo LINUX_SOURCE=$(LINUX_SOURCE)
+ @echo TARGETS=$(TARGETS)
+
+endif