summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-11 21:41:44 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-11 21:41:44 +0000
commitd07c87f4db9f0c6004fc77aad204ff0fe8881f32 (patch)
tree42af5ad1b89ba4e93b1b3fadc17e7d4f075392dc /package
parenta4d3980243dc9d0ffabafd3cf0fd17ac6e852e6f (diff)
fix rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/rules.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/rules.mk b/package/rules.mk
index f3a1287b15..571193373d 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -18,6 +18,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
touch $$@
$(PKG_BUILD_DIR)/.built: FORCE $(PKG_BUILD_DIR)/.configured
+#$#$#(error $$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $$(IPKG_$(1)) $(PKG_BUILD_DIR)))
ifeq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $$(IPKG_$(1)) $(PKG_BUILD_DIR)),$(PKG_BUILD_DIR))
$(call Build/Compile)
touch $$@
@@ -62,11 +63,10 @@ $(foreach FIELD, TITLE CATEGORY PRIORITY VERSION, $(eval $(call RequiredField,$(
ifeq ($(PKGARCH),)
PKGARCH:=$(ARCH)
endif
-$(eval
+
ifeq ($(DESCRIPTION),)
-DESCRIPTION:=$(TITLE)
+$(eval DESCRIPTION:=$(TITLE))
endif
-)
IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
@@ -80,8 +80,8 @@ ifeq ($(CONFIG_PACKAGE_$(1)),y)
install-targets: $$(INFO_$(1))
endif
-ifneq ($$(COMPILE_$(1)),)
-compile-targets: $$(IPKG_$(1))
+ifneq ($(COMPILE_$(1)),)
+compile-targets: $(IPKG_$(1))
endif
IDEPEND_$(1):=$$(strip $$(DEPENDS))
@@ -141,7 +141,7 @@ $(1)-clean:
clean: $(1)-clean
ifneq ($(__DEFAULT_TARGETS),1)
-$(eval $(call Build/DefaultTargets))
+$$(eval $$(call Build/DefaultTargets,$(1)))
endif
endef