projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: Add function pi_include the /lib/functions/boot.sh used by...
[openwrt.git]
/
package
/
uboot-lantiq
/
Makefile
diff --git
a/package/uboot-lantiq/Makefile
b/package/uboot-lantiq/Makefile
index 48f46831613b7a362d8775b54af26e363028fe97..8b69fe95092c9bbd237d05dc6f959528874b13e3 100644
(file)
--- a/
package/uboot-lantiq/Makefile
+++ b/
package/uboot-lantiq/Makefile
@@
-9,8
+9,9
@@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=u-boot
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=u-boot
-PKG_VERSION:=2009.11.1
-PKG_MD5SUM:=6086421c9e2f3a0d0dbc5f706b551dbc
+
+PKG_VERSION:=2010.03
+PKG_MD5SUM:=2bf5ebf497dddc52440b1ea386cc1332
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@
-20,12
+21,17
@@
PKG_TARGETS:=bin
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
+ifeq ($(DUMP),)
+ STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep '^CONFIG_UBOOT_' $(TOPDIR)/.config | md5s)
+endif
+
define Package/uboot-lantiq
SECTION:=boot
CATEGORY:=Boot Loaders
DEPENDS:=@TARGET_ifxmips
TITLE:=U-Boot for Lantiq reference boards
URL:=http://www.denx.de/wiki/U-Boot
define Package/uboot-lantiq
SECTION:=boot
CATEGORY:=Boot Loaders
DEPENDS:=@TARGET_ifxmips
TITLE:=U-Boot for Lantiq reference boards
URL:=http://www.denx.de/wiki/U-Boot
+ MENU:=1
endef
define Build/Prepare
endef
define Build/Prepare
@@
-35,8
+41,8
@@
define Build/Prepare
find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf
endef
find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf
endef
-UBOOT_
CONFIG:=$(call qstrip,$(CONFIG_UBOOT_CONFIG
))
-UBOOT_
DDR_CONFIG:=$(call qstrip,$(CONFIG_U
BOOT_DDR_CONFIG))
+UBOOT_
TARGET:=$(call qstrip,$(CONFIG_UBOOT_TARGET
))
+UBOOT_
RAMBOOT_DDR_CONFIG:=$(call qstrip,$(CONFIG_UBOOT_RAM
BOOT_DDR_CONFIG))
UBOOT_MAKE_OPTS:= \
CROSS_COMPILE=$(TARGET_CROSS) \
UBOOT_MAKE_OPTS:= \
CROSS_COMPILE=$(TARGET_CROSS) \
@@
-44,9
+50,7
@@
UBOOT_MAKE_OPTS:= \
V=1
define Package/uboot-lantiq/config
V=1
define Package/uboot-lantiq/config
- menu "configuration"
- source "$(SOURCE)/Config.in"
- endmenu
+ source "$(SOURCE)/Config.in"
endef
define Build/Configure/Target
endef
define Build/Configure/Target
@@
-57,9
+61,9
@@
define Build/Configure/Target
endef
define Build/Configure
endef
define Build/Configure
- $(call Build/Configure/Target,$(UBOOT_
CONFIG
))
+ $(call Build/Configure/Target,$(UBOOT_
TARGET
))
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
- $(call Build/Configure/Target,$(UBOOT_
CONFIG
)_ramboot)
+ $(call Build/Configure/Target,$(UBOOT_
TARGET
)_ramboot)
endif
endef
endif
endef
@@
-71,24
+75,24
@@
define Build/Compile/Target
endef
define Build/Compile
endef
define Build/Compile
- $(call Build/Compile/Target,$(UBOOT_
CONFIG
))
+ $(call Build/Compile/Target,$(UBOOT_
TARGET
))
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
- $(call Build/Compile/Target,$(UBOOT_
CONFIG
)_ramboot)
+ $(call Build/Compile/Target,$(UBOOT_
TARGET
)_ramboot)
endif
endef
define Package/uboot-lantiq/install
endif
endef
define Package/uboot-lantiq/install
- mkdir -p $(1)/$(UBOOT_
CONFIG
)
+ mkdir -p $(1)/$(UBOOT_
TARGET
)
dd \
dd \
- if=$(PKG_BUILD_DIR)/$(UBOOT_
CONFIG
)/u-boot.bin \
- of=$(1)/$(UBOOT_
CONFIG
)/u-boot.bin \
+ if=$(PKG_BUILD_DIR)/$(UBOOT_
TARGET
)/u-boot.bin \
+ of=$(1)/$(UBOOT_
TARGET
)/u-boot.bin \
bs=64k conv=sync
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
bs=64k conv=sync
ifeq ($(CONFIG_UBOOT_RAMBOOT),y)
- if [ -e $(UBOOT_
CONFIG).conf
]; then \
+ if [ -e $(UBOOT_
RAMBOOT_DDR_CONFIG)
]; then \
perl ./gct \
perl ./gct \
- $(UBOOT_DDR_CONFIG) \
- $(PKG_BUILD_DIR)/$(UBOOT_
CONFIG
)_ramboot/u-boot.srec \
- $(1)/$(UBOOT_
CONFIG
)/u-boot.asc; \
+ $(UBOOT_
RAMBOOT_
DDR_CONFIG) \
+ $(PKG_BUILD_DIR)/$(UBOOT_
TARGET
)_ramboot/u-boot.srec \
+ $(1)/$(UBOOT_
TARGET
)/u-boot.asc; \
fi
endif
endef
fi
endif
endef