Commit 4aeb8c85 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

target/device: misc cleanup



Remove outdated and/or unused variables/files.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 6d34f1d3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -181,13 +181,11 @@ choice

config BR2_OPTIMIZE_0
	bool "optimization level 0"
	depends on !BR2_PACKAGE_LINUX
	help
	  Do not optimize. This is the default.

config BR2_OPTIMIZE_1
	bool "optimization level 1"
	depends on !BR2_PACKAGE_LINUX
	help
	  Optimize. Optimizing compilation takes somewhat more time,
	  and a lot more memory for a large function. With -O, the
+0 −2
Original line number Diff line number Diff line
@@ -300,8 +300,6 @@ or
    internal toolchain is being built</li>
    <li><code>BUSYBOX_CONFIG_FILE=&lt;path/to/.config&gt;</code>, path
    to the Busybox configuration file</li>
    <li><code>LINUX26_KCONFIG=&lt;path/to/.config&gt;</code>, path
    to the Linux kernel configuration file</li>
    <li><code>BUILDROOT_DL_DIR</code> to override the directory in
    which Buildroot stores/retrieves downloaded files</li>
    </ul>
+0 −4
Original line number Diff line number Diff line
ifeq ($(BR2_TARGET_ARMLTD),y)
BOARD_NAME=$(call qstrip,$(BR2_BOARD_NAME))
BOARD_PATH=$(call qstrip,$(BR2_BOARD_PATH))


# pin some settings
BR2_GNU_TARGET_SUFFIX:="linux-uclibcgnueabi"
endif
+0 −6
Original line number Diff line number Diff line
if BR2_arm
source "target/device/Atmel/arch-arm/Config.in.linux.patches"
endif
if BR2_avr32
source "target/device/Atmel/arch-avr32/Config.in.linux.patches"
endif
+0 −54
Original line number Diff line number Diff line
@@ -14,61 +14,7 @@ ifeq ($(BR2_avr32),y)
KERNEL_HEADERS_PATCH_DIR=target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2
endif

# These are set by Config.in
DOWNLOAD_LINUX26_VERSION:= $(call qstrip,$(BR2_DOWNLOAD_LINUX26_VERSION))
ifeq ($(DOWNLOAD_LINUX26_VERSION),)
DOWNLOAD_LINUX26_VERSION=$(LINUX_HEADERS_VERSION)
endif

LINUX26_VERSION:=$(call qstrip,$(BR2_LINUX26_VERSION))
ifeq ($(LINUX26_VERSION),)
LINUX26_VERSION=$(LINUX_HEADERS_VERSION)
endif

LINUX26_RC_PATCH:=$(call qstrip,$(BR2_LINUX26_RC_PATCH))

# These are set by "new" Config.in
LINUX26_KCONFIG:=$(BOARD_PATH)/$(BOARD_NAME)-linux-$(LINUX26_VERSION).config

# This should be part of target/linux/Makefile.in
LINUX26_BUILD_DIR:=$(BUILD_DIR)

#LINUX26_BINLOC=$(LINUX26_FORMAT)
#LINUX26_BINLOC:=$(BINARIES_DIR)/$(LINUX26_KERNEL)
ifeq ($(BR2_avr32),y)
LINUX26_BINLOC:=arch/$(KERNEL_ARCH)/boot/images/$(BR2_PACKAGE_LINUX_FORMAT)
endif

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)
#UBOOT_BOARD_NAME:=$(BOARD_NAME)
DFB_BOARD_NAME:=$(BOARD_NAME)

#BR2_PACKAGE_BUSYBOX_CONFIG:=$(BR2_BOARD_PATH)/busybox-$(BR2_BUSYBOX_VERSION).config

U_BOOT_VERSION:=$(call qstrip,$(BR2_UBOOT_VERSION))

# Update things in board specific makefiles
include target/device/Atmel/*/Makefile.in

# Needs to be AFTER board specific Makefiles

UBOOT_CONFIG:=$(UBOOT_BOARD_NAME)_config
UBOOT_CONFIG_FILE:=$(BOARD_PATH)/u-boot/$(UBOOT_BOARD_NAME).h

atmel_status:
	@echo BUILD_DIR=$(BUILD_DIR)
	@echo BOARD_NAME=$(BOARD_NAME)
	@echo BR2_BOARD_PATH=$(BR2_BOARD_PATH)
	@echo BR2_MAJOR_MINOR=$(BR2_LINUX_MAJOR_VERSION)$(BR2_LINUX_MINOR_VERSION)
	@echo MAJOR_MINOR=$(LINUX_MAJOR_VER)$(LINUX_MINOR_VER)
	@echo DOWNLOAD_LINUX26_VERSION=$(DOWNLOAD_LINUX26_VERSION)
	@echo LINUX_SOURCE=$(LINUX_SOURCE)
	@echo TARGETS=$(TARGETS)

#TARGETS+=atmel_status
endif
Loading