1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:06:31 +02:00

remove u-boot under target/linux/xburst/image, use package/uboot-xburst instead

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
Xiangfu Liu 2010-05-09 23:40:25 +08:00
parent 85ea6401e0
commit c0f7879da8
6 changed files with 0 additions and 13458 deletions

View File

@ -1,13 +0,0 @@
config XBURST_UBOOT
bool "Build U-Boot bootloader"
depends TARGET_xburst
default n
config XBURST_UBOOT_TARGET
string "U-Boot target board"
depends TARGET_xburst
depends XBURST_UBOOT
default "qi_lb60"
help
For all supported boards there are ready-to-use default
configurations available; just type "<board_name>".

View File

@ -17,16 +17,6 @@ UBIFS_OPTS = -m 2048 -e 126KiB -c 4096
UBINIZE_OPTS = -m 2048 -p 128KiB -s 512
endif
ifneq ($(CONFIG_XBURST_UBOOT),)
define Build/Clean
$(MAKE) -C u-boot clean
endef
define Build/Compile
$(MAKE) -C u-boot compile
endef
endif
define Image/BuildKernel
cp $(LINUX_DIR)/arch/mips/boot/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage.bin
endef

View File

@ -1,34 +0,0 @@
#
# Copyright (C) 2009 Qi Hardware, Inc.
#
# This is free software, licensed under the GNU General Public License v3
# or any later.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=u-boot
PKG_VERSION:=2009.11
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
PKG_CAT:=bzcat
include $(INCLUDE_DIR)/package.mk
UBOOT_CONFIG=$(strip $(subst ",, $(CONFIG_XBURST_UBOOT_TARGET)))
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config
$(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE=$(TARGET_CROSS)
endef
define Build/InstallDev
mkdir -p $(BIN_DIR)
cp $(PKG_BUILD_DIR)/u-boot-nand.bin $(BIN_DIR)/openwrt-$(BOARD)-u-boot.bin
endef
$(eval $(call Build/DefaultTargets))