mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-15 12:29:11 +01:00
-------------------------------------------------------------------------------
* e925b36 Rename ex300 to ex400
-------------------------------------------------------------------------------
commit e925b36e4e29416aac7f2a64ef40d44ef034d4c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-20 14:14:50 +0200
Rename ex300 to ex400
Base directory -> /
arch/mips/Kconfig | 6 +-
board/inteno/ex300/Kconfig | 11 -
board/inteno/ex300/Makefile | 10 -
board/inteno/ex300/board.c | 200 -------
board/inteno/ex300/jtag/ex300.cmm | 99 ----
board/inteno/ex300/jtag/go | 11 -
board/inteno/ex300/jtag/mt7621_ref_nand.cmm | 75 ---
board/inteno/ex300/lowlevel_init.S | 12 -
board/inteno/ex300/rt_mmap.h | 844 ----------------------------
board/inteno/ex400/Kconfig | 11 +
board/inteno/ex400/Makefile | 10 +
board/inteno/ex400/board.c | 200 +++++++
board/inteno/ex400/jtag/ex300.cmm | 99 ++++
board/inteno/ex400/jtag/go | 11 +
board/inteno/ex400/jtag/mt7621_ref_nand.cmm | 75 +++
board/inteno/ex400/lowlevel_init.S | 12 +
board/inteno/ex400/rt_mmap.h | 844 ++++++++++++++++++++++++++++
configs/ex300_defconfig | 511 -----------------
configs/ex400_defconfig | 511 +++++++++++++++++
include/configs/ex300.h | 202 -------
include/configs/ex400.h | 202 +++++++
21 files changed, 1978 insertions(+), 1978 deletions(-)
-------------------------------------------------------------------------------
96 lines
2.2 KiB
Makefile
96 lines
2.2 KiB
Makefile
#
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=u-boot
|
|
PKG_VERSION:=2016.08
|
|
PKG_RELEASE:=1
|
|
PKG_SOURCE_URL:=git@private.inteno.se:uboot
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=e925b36e4e29416aac7f2a64ef40d44ef034d4c4
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define uboot/Default
|
|
TITLE:=
|
|
CONFIG:=
|
|
IMAGE:=
|
|
endef
|
|
|
|
define uboot/ex400
|
|
TITLE:=U-Boot for the ex400
|
|
endef
|
|
|
|
UBOOTS := \
|
|
ex400
|
|
|
|
define Package/uboot/template
|
|
define Package/uboot-$(1)
|
|
SECTION:=boot
|
|
CATEGORY:=Boot Loaders
|
|
DEPENDS:=@TARGET_iopsys_ramips
|
|
TITLE:=$(2)
|
|
URL:=http://www.denx.de/wiki/U-Boot
|
|
VARIANT:=$(1)
|
|
endef
|
|
endef
|
|
|
|
define BuildUBootPackage
|
|
$(eval $(uboot/Default))
|
|
$(eval $(uboot/$(1)))
|
|
$(call Package/uboot/template,$(1),$(TITLE))
|
|
endef
|
|
|
|
ifdef BUILD_VARIANT
|
|
$(eval $(call uboot/$(BUILD_VARIANT)))
|
|
UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT))
|
|
UBOOT_IMAGE:=$(if $(IMAGE),$(IMAGE),openwrt-$(BOARD)-$(BUILD_VARIANT)-u-boot.bin)
|
|
endif
|
|
|
|
define Build/Configure
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
|
$(UBOOT_CONFIG)_config
|
|
endef
|
|
|
|
define Build/Compile
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
|
CROSS_COMPILE=$(TARGET_CROSS)
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
|
CROSS_COMPILE=$(TARGET_CROSS) env
|
|
endef
|
|
|
|
define Package/uboot/install/default
|
|
$(INSTALL_DIR) $(BIN_DIR)/$(TARGET)
|
|
$(CP) \
|
|
$(PKG_BUILD_DIR)/uboot.img \
|
|
$(BIN_DIR)/$(TARGET)/
|
|
$(INSTALL_DIR) $$(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $$(1)/usr/sbin/
|
|
ln -s /usr/sbin/fw_printenv $$(1)/usr/sbin/fw_setenv
|
|
endef
|
|
|
|
define Package/uboot/install/template
|
|
define Package/uboot-$(1)/install
|
|
$(call Package/uboot/install/default,$(2))
|
|
endef
|
|
endef
|
|
|
|
$(foreach u,$(UBOOTS), \
|
|
$(eval $(call Package/uboot/install/template,$(u),$(u))) \
|
|
)
|
|
|
|
$(foreach u,$(UBOOTS), \
|
|
$(eval $(call BuildUBootPackage,$(u))) \
|
|
$(eval $(call BuildPackage,uboot-$(u))) \
|
|
)
|