freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $Id: Makefile 3527 2006-03-28 18:21:42Z wbx $
|
|---|
| 2 |
|
|---|
| 3 | PKG_NAME:=fuse
|
|---|
| 4 | PKG_VERSION:=2.5.2
|
|---|
| 5 | PKG_RELEASE:=1
|
|---|
| 6 | PKG_MD5SUM:=ea565debe6c7486963bef05c45c50361
|
|---|
| 7 |
|
|---|
| 8 | PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|---|
| 9 |
|
|---|
| 10 | include $(TOPDIR)/rules.mk
|
|---|
| 11 | include ../../rules.mk
|
|---|
| 12 | include $(TOPDIR)/package/rules.mk
|
|---|
| 13 |
|
|---|
| 14 | $(eval $(call PKG_template,KMOD_FUSE,kmod-fuse,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
|
|---|
| 15 |
|
|---|
| 16 | $(WRKBUILD)/.configured:
|
|---|
| 17 | (cd $(WRKBUILD); \
|
|---|
| 18 | rm -rf config.{cache,status} ; \
|
|---|
| 19 | touch configure.in ; \
|
|---|
| 20 | touch aclocal.m4 ; \
|
|---|
| 21 | touch Makefile.in ; \
|
|---|
| 22 | touch include/config.h.in ; \
|
|---|
| 23 | touch configure ; \
|
|---|
| 24 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 25 | ./configure \
|
|---|
| 26 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 28 | --build=$(GNU_HOST_NAME) \
|
|---|
| 29 | --program-prefix="" \
|
|---|
| 30 | --program-suffix="" \
|
|---|
| 31 | --prefix=/usr \
|
|---|
| 32 | --exec-prefix=/usr \
|
|---|
| 33 | --bindir=/usr/bin \
|
|---|
| 34 | --datadir=/usr/share \
|
|---|
| 35 | --includedir=/usr/include \
|
|---|
| 36 | --infodir=/usr/share/info \
|
|---|
| 37 | --libdir=/usr/lib \
|
|---|
| 38 | --libexecdir=/usr/lib \
|
|---|
| 39 | --localstatedir=/var \
|
|---|
| 40 | --mandir=/usr/share/man \
|
|---|
| 41 | --sbindir=/usr/sbin \
|
|---|
| 42 | --sysconfdir=/etc \
|
|---|
| 43 | --enable-largefile \
|
|---|
| 44 | --disable-nls \
|
|---|
| 45 | --enable-shared \
|
|---|
| 46 | --enable-static \
|
|---|
| 47 | --disable-rpath \
|
|---|
| 48 | --enable-kernel-module \
|
|---|
| 49 | --disable-lib \
|
|---|
| 50 | --disable-util \
|
|---|
| 51 | --disable-example \
|
|---|
| 52 | --disable-auto-modprobe \
|
|---|
| 53 | --with-kernel=$(LINUX_DIR) \
|
|---|
| 54 | --disable-mtab \
|
|---|
| 55 | );
|
|---|
| 56 | touch $@
|
|---|
| 57 |
|
|---|
| 58 | $(WRKBUILD)/.built:
|
|---|
| 59 | mkdir -p $(WRKINST)
|
|---|
| 60 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 61 | ARCH="$(LINUX_KARCH)" \
|
|---|
| 62 | CROSS_COMPILE="$(TARGET_CROSS)" \
|
|---|
| 63 | PATH="$(TARGET_PATH)" \
|
|---|
| 64 | DESTDIR="$(WRKINST)" \
|
|---|
| 65 | SUBDIRS="kernel" \
|
|---|
| 66 | all install
|
|---|
| 67 | touch $@
|
|---|
| 68 |
|
|---|
| 69 | $(IPKG_KMOD_FUSE):
|
|---|
| 70 | mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)
|
|---|
| 71 | $(CP) $(WRKINST)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) \
|
|---|
| 72 | $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)/
|
|---|
| 73 | $(IPKG_BUILD) $(IDIR_KMOD_FUSE) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.