summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-27 07:53:26 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-27 07:53:26 +0000
commitc2cabfa0bb39068600e542bb7e47338555a765f0 (patch)
treef1a02858dd3bc9a2bb45ea9dbc3548e45a20a274
parentfff865894d66638afe285bcbae26310e9db7ec73 (diff)
Use linux headers version, if linux is not defined
-rw-r--r--target/device/Atmel/Linux/linux.mk0
-rw-r--r--target/device/Atmel/Makefile.in10
2 files changed, 9 insertions, 1 deletions
diff --git a/target/device/Atmel/Linux/linux.mk b/target/device/Atmel/Linux/linux.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/target/device/Atmel/Linux/linux.mk
diff --git a/target/device/Atmel/Makefile.in b/target/device/Atmel/Makefile.in
index aa75898bd..b380a32b7 100644
--- a/target/device/Atmel/Makefile.in
+++ b/target/device/Atmel/Makefile.in
@@ -18,8 +18,16 @@ TARGET_ATMEL_COPYTO:=$(strip $(subst ",, $(BR2_TARGET_ATMEL_COPYTO)))
# 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
+
LINUX26_RC_PATCH:=$(strip $(subst ",, $(BR2_LINUX26_RC_PATCH)))
#"))
LINUX_BSP_PATCH:=$(strip $(subst ",, $(BR2_LINUX_BSP_ATMEL_PATCH)))
@@ -55,7 +63,7 @@ UBOOT_CONFIG:=$(UBOOT_BOARD_NAME)_config
UBOOT_CONFIG_FILE:=$(BOARD_PATH)/u-boot/$(UBOOT_BOARD_NAME).h
ifeq ($(strip $(BR2_PACKAGE_LINUX)),y)
-#include $(ATMEL_PATH)/Linux/linux.mk
+include $(ATMEL_PATH)/Linux/linux.mk
endif
ifeq ($(strip $(BR2_TARGET_UBOOT)),y)