summaryrefslogtreecommitdiffstats
path: root/target/device/KwikByte/Makefile.in
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-03 08:27:50 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-03 08:27:50 +0000
commite27fef51834042a1b108e04927a2a91742a54327 (patch)
treefd0179bb0da69ac3d7c69f7aac2f8c9ef7cb961a /target/device/KwikByte/Makefile.in
parent41e6a671f3cc284da7dc32eb96e257265d233893 (diff)
downloadbuildroot-novena-e27fef51834042a1b108e04927a2a91742a54327.tar.gz
buildroot-novena-e27fef51834042a1b108e04927a2a91742a54327.zip
Add support for KwikByte KB9202 board, courtesy Brian Beattie
Diffstat (limited to 'target/device/KwikByte/Makefile.in')
-rw-r--r--target/device/KwikByte/Makefile.in52
1 files changed, 52 insertions, 0 deletions
diff --git a/target/device/KwikByte/Makefile.in b/target/device/KwikByte/Makefile.in
new file mode 100644
index 000000000..347d6ab60
--- /dev/null
+++ b/target/device/KwikByte/Makefile.in
@@ -0,0 +1,52 @@
+ifeq ($(BR2_TARGET_KWIKBYTE),y)
+
+BOARD_NAME:=$(strip $(subst ",, $(BR2_BOARD_NAME)))
+BOARD_PATH:=$(strip $(subst ",, $(BR2_BOARD_PATH)))
+
+# 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=arch/$(KERNEL_ARCH)/boot/$(LINUX26_FORMAT)
+
+LINUX26_COPYTO:=/tftpboot
+
+#LINUX26_PATCH_DIR:=$(BOARD_PATH)/kernel-patches
+
+# The board specific Makefile.in can redefine BOARD_NAME's
+LINUX_BOARD_NAME:=$(BOARD_NAME)
+
+ifeq ($(BR2_TARGET_KB9202),y)
+include target/device/KwikByte/kb9202/Makefile.in
+endif
+
+# Needs to be AFTER board specific Makefiles
+
+kwikbyte_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)
+ @echo LINUX26_BINLOC=$(LINUX26_BINLOC)
+
+endif