2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=ftp
://ftp.denx.de
/pub
/u-boot
18 PKG_MD5SUM
:=579707c8ecbf1ab4127285d2aac2a9ee
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/uboot-ifxmips
26 CATEGORY
:=Boot Loaders
27 DEPENDS
:=@TARGET_ifxmips
28 TITLE
:=U-Boot for Infineon MIPS boards
29 URL
:=http
://www.denx.de
/wiki
/UBoot
/WebHome
33 $(call Build
/Prepare
/Default
)
34 cp
-r .
/files
/* $(PKG_BUILD_DIR
)
35 find
$(PKG_BUILD_DIR
) -name .svn |
$(XARGS
) rm -rf
39 cd
$(PKG_BUILD_DIR
);chmod a
+x build_danube.sh
;.
/build_danube.sh
42 define Package
/uboot-ifxmips
/install
44 dd if
=$(PKG_BUILD_DIR
)/u-boot.ifx of
=$(1)/u-boot.ifx bs
=64k conv
=sync
47 $(eval
$(call BuildPackage
,uboot-ifxmips
))