f00fe7fb9665d003bd95787bb976fb72007eabce
3 NFS_MODULES_VERSION
:= $(SNAPSHOT
)
4 NFS_MODULES_RELEASE
:= 1
6 NFS_MODULES_BUILD_DIR
:= $(BUILD_DIR
)/nfs-modules_
$(NFS_MODULES_VERSION
)-$(NFS_MODULES_RELEASE
)
7 NFS_MODULES_IPK_DIR
:= $(OPENWRT_IPK_DIR
)/nfs-modules
8 NFS_MODULES_IPK
:= $(NFS_MODULES_BUILD_DIR
)_
$(ARCH
).ipk
11 $(NFS_MODULES_BUILD_DIR
)/CONTROL
/control
: $(BASE_DIR
)/openwrt-kmodules.
tar.bz2
12 rm -rf
$(NFS_MODULES_BUILD_DIR
)
13 mkdir
-p
$(NFS_MODULES_BUILD_DIR
)/lib
/
14 bzcat
$(BASE_DIR
)/openwrt-kmodules.
tar.bz2 |
tar -C
$(NFS_MODULES_BUILD_DIR
)/lib
/ -xvf
- \
15 modules
/$(LINUX_VERSION
)/kernel
/fs
/lockd
/lockd.o \
16 modules
/$(LINUX_VERSION
)/kernel
/fs
/nfs
/nfs.o \
17 modules
/$(LINUX_VERSION
)/kernel
/net
/sunrpc
/sunrpc.o
19 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
/fs
/lockd
/*.o \
20 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/
22 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
/fs
/nfs
/*.o \
23 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/
25 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
/net
/sunrpc
/*.o \
26 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/
28 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/kernel
29 chmod
0755 $(NFS_MODULES_BUILD_DIR
)/lib
30 chmod
0755 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
31 chmod
0755 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)
32 chmod
0755 $(NFS_MODULES_BUILD_DIR
)/lib
/modules
/$(LINUX_VERSION
)/*
33 cp
-a
$(NFS_MODULES_IPK_DIR
)/CONTROL
$(NFS_MODULES_BUILD_DIR
)/
34 perl
-pi
-e
"s/^Vers.*:.*$$/Version: $(NFS_MODULES_VERSION)-$(NFS_MODULES_RELEASE)/" $(NFS_MODULES_BUILD_DIR
)/CONTROL
/control
35 perl
-pi
-e
"s/^Arch.*:.*$$/Architecture: $(ARCH)/" $(NFS_MODULES_BUILD_DIR
)/CONTROL
/control
37 touch
$(NFS_MODULES_BUILD_DIR
)/CONTROL
/control
40 $(NFS_MODULES_IPK
): $(NFS_MODULES_BUILD_DIR
)/CONTROL
/control
41 cd
$(BUILD_DIR
); $(IPKG_BUILD
) $(NFS_MODULES_BUILD_DIR
)
44 nfs-modules-ipk
: ipkg-utils
$(NFS_MODULES_IPK
)
47 rm -rf
$(NFS_MODULES_IPK
)
48 rm -rf
$(NFS_MODULES_BUILD_DIR
)
This page took 0.040795 seconds and 3 git commands to generate.