OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2006 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=genext2fs |
||
11 | PKG_VERSION:=1.4.1 |
||
12 | |||
13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
||
14 | PKG_SOURCE_URL:=@SF/genext2fs |
||
15 | PKG_HASH:=404dbbfa7a86a6c3de8225c8da254d026b17fd288e05cec4df2cc7e1f4feecfc |
||
16 | |||
17 | include $(INCLUDE_DIR)/host-build.mk |
||
18 | |||
19 | HOST_CONFIGURE_ARGS = \ |
||
20 | --target=$(GNU_HOST_NAME) \ |
||
21 | --host=$(GNU_HOST_NAME) \ |
||
22 | --build=$(GNU_HOST_NAME) \ |
||
23 | --program-prefix="" \ |
||
24 | --program-suffix="" \ |
||
25 | --prefix=/usr \ |
||
26 | --exec-prefix=/usr \ |
||
27 | --bindir=/usr/bin \ |
||
28 | --sbindir=/usr/sbin \ |
||
29 | --libexecdir=/usr/lib \ |
||
30 | --sysconfdir=/etc \ |
||
31 | --datadir=/usr/share \ |
||
32 | --localstatedir=/var \ |
||
33 | --mandir=/usr/man \ |
||
34 | --infodir=/usr/info \ |
||
35 | |||
36 | define Host/Compile |
||
37 | $(MAKE) -C $(HOST_BUILD_DIR) \ |
||
38 | CFLAGS="$(HOST_CFLAGS)" \ |
||
39 | LDFLAGS="$(HOST_LDFLAGS)" \ |
||
40 | all |
||
41 | endef |
||
42 | |||
43 | define Host/Install |
||
44 | install -m0755 $(HOST_BUILD_DIR)/genext2fs $(STAGING_DIR_HOST)/bin/ |
||
45 | endef |
||
46 | |||
47 | define Host/Clean |
||
48 | rm -f $(STAGING_DIR_HOST)/bin/genext2fs |
||
49 | endef |
||
50 | |||
51 | $(eval $(call HostBuild)) |