summaryrefslogtreecommitdiffstats
path: root/rules/fuse.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-01-05 14:01:18 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-01-05 14:01:18 +0000
commit5279c3c92a9371c810090d6cb7687800da466c95 (patch)
treee53be9fafb3d71293517d5b8b7334b96814a9bc1 /rules/fuse.make
parent222dbf78f93dcaf1b8a5955c681cd42e27d33e20 (diff)
downloadptxdist-5279c3c92a9371c810090d6cb7687800da466c95.tar.gz
ptxdist-5279c3c92a9371c810090d6cb7687800da466c95.tar.xz
* fuse.make:
cleanups git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9385 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/fuse.make')
-rw-r--r--rules/fuse.make70
1 files changed, 11 insertions, 59 deletions
diff --git a/rules/fuse.make b/rules/fuse.make
index ce5c6ce3c..0600de06b 100644
--- a/rules/fuse.make
+++ b/rules/fuse.make
@@ -28,101 +28,53 @@ FUSE_DIR := $(BUILDDIR)/$(FUSE)
# Get
# ----------------------------------------------------------------------------
-fuse_get: $(STATEDIR)/fuse.get
-
-$(STATEDIR)/fuse.get: $(fuse_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(FUSE_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, FUSE)
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-fuse_extract: $(STATEDIR)/fuse.extract
-
-$(STATEDIR)/fuse.extract: $(fuse_extract_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(FUSE_DIR))
- @$(call extract, FUSE)
- @$(call patchin, FUSE)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-fuse_prepare: $(STATEDIR)/fuse.prepare
-
FUSE_PATH := PATH=$(CROSS_PATH)
FUSE_ENV := $(CROSS_ENV)
#
# autoconf
#
-FUSE_AUTOCONF := \
+# don't use := here
+#
+FUSE_AUTOCONF = \
$(CROSS_AUTOCONF_USR) \
--disable-example \
--disable-mtab \
- --disable-rpath
+ --disable-rpath \
+ --with-kernel=$(KERNEL_DIR)
ifdef PTXCONF_FUSE__KERNEL_MODULE
FUSE_AUTOCONF += --enable-kernel-module
else
FUSE_AUTOCONF += --disable-kernel-module
endif
+
ifdef PTXCONF_FUSE__LIB
FUSE_AUTOCONF += --enable-lib
else
FUSE_AUTOCONF += --disable-lib
endif
+
ifdef PTXCONF_FUSE__UTIL
FUSE_AUTOCONF += --enable-util
else
FUSE_AUTOCONF += --disable-util
endif
-$(STATEDIR)/fuse.prepare: $(fuse_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call clean, $(FUSE_DIR)/config.cache)
- cd $(FUSE_DIR) && \
- $(FUSE_PATH) $(FUSE_ENV) \
- ./configure $(FUSE_AUTOCONF)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-fuse_compile: $(STATEDIR)/fuse.compile
-
-$(STATEDIR)/fuse.compile: $(fuse_compile_deps_default)
- @$(call targetinfo, $@)
- cd $(FUSE_DIR) && $(FUSE_PATH) $(MAKE) $(PARALLELMFLAGS)
- @$(call touch, $@)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-fuse_install: $(STATEDIR)/fuse.install
-
-$(STATEDIR)/fuse.install: $(fuse_install_deps_default)
- @$(call targetinfo, $@)
- @$(call install, FUSE)
- @$(call touch, $@)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-fuse_targetinstall: $(STATEDIR)/fuse.targetinstall
-
-$(STATEDIR)/fuse.targetinstall: $(fuse_targetinstall_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/fuse.targetinstall:
+ @$(call targetinfo)
@$(call install_init, fuse)
@$(call install_fixup, fuse,PACKAGE,fuse)
@@ -152,7 +104,7 @@ ifdef PTXCONF_FUSE__UTIL
endif
@$(call install_finish, fuse)
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean