# # Copyright (C) 2008 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:=redboot-ar231x PKG_VERSION:=2010-10-26 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_TARGETS:=bin PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://nbd.name/redboot-ar231x.git PKG_SOURCE_VERSION:=327f02ce1645d3427f26cf8116353332c81564a9 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.bz2 include $(INCLUDE_DIR)/package.mk export GCC_HONOUR_COPTS=s define Package/redboot-ar231x SECTION:=boot CATEGORY:=Boot Loaders DEPENDS:=@TARGET_atheros @BROKEN TITLE:=Tiny redboot for AR231x/AR531x endef define Build/Configure mkdir -p $(PKG_BUILD_DIR)/host-build if [ \! -x $(PKG_BUILD_DIR)/host-install/bin/ecosconfig ]; then ( \ cd $(PKG_BUILD_DIR)/host-build; \ ../ecos/host/configure \ --prefix=$(PKG_BUILD_DIR)/host-install \ --exec-prefix=$(PKG_BUILD_DIR)/host-install; \ CFLAGS="$(HOST_CFLAGS)" $(MAKE) all install; \ ) fi endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) all endef define Package/redboot-ar231x/install $(CP) $(PKG_BUILD_DIR)/bin/* $(1)/ endef $(eval $(call BuildPackage,redboot-ar231x)) tion> upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/Makefile
blob: 56e07d82f3338d2fe2b05a495a2297818372b80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109