2006-04-20 07:14:13 +08:00
|
|
|
ifneq ($(DUMP),)
|
2006-05-12 06:36:20 +08:00
|
|
|
all: dumpinfo
|
2006-04-20 07:14:13 +08:00
|
|
|
else
|
2006-05-12 06:36:20 +08:00
|
|
|
all: compile
|
2006-04-20 11:53:28 +08:00
|
|
|
endif
|
2006-04-14 11:03:32 +08:00
|
|
|
|
|
|
|
define Build/DefaultTargets
|
2006-05-16 04:30:26 +08:00
|
|
|
ifeq ($(DUMP),)
|
2006-06-22 09:00:13 +08:00
|
|
|
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),$(PKG_BUILD_DIR))
|
2006-06-04 22:40:47 +08:00
|
|
|
ifeq ($(CONFIG_AUTOREBUILD),y)
|
2006-06-03 00:17:56 +08:00
|
|
|
$(PKG_BUILD_DIR)/.prepared: package-clean
|
|
|
|
endif
|
2006-05-16 04:30:26 +08:00
|
|
|
endif
|
2006-05-12 07:14:04 +08:00
|
|
|
|
2006-06-01 08:31:20 +08:00
|
|
|
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
|
2006-06-04 22:40:47 +08:00
|
|
|
ifeq ($(CONFIG_AUTOREBUILD),y)
|
2006-06-03 00:17:56 +08:00
|
|
|
$(PKG_BUILD_DIR)/.built: package-rebuild
|
|
|
|
endif
|
2006-06-04 22:40:47 +08:00
|
|
|
endif
|
2006-05-14 17:30:29 +08:00
|
|
|
endif
|
|
|
|
|
2006-06-21 07:40:02 +08:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.prepared:
|
2006-05-11 08:18:12 +08:00
|
|
|
@-rm -rf $(PKG_BUILD_DIR)
|
|
|
|
@mkdir -p $(PKG_BUILD_DIR)
|
2006-04-14 11:03:32 +08:00
|
|
|
$(call Build/Prepare)
|
2006-05-12 07:14:04 +08:00
|
|
|
touch $$@
|
2006-04-14 11:03:32 +08:00
|
|
|
|
2006-05-12 07:14:04 +08:00
|
|
|
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
2006-04-14 11:03:32 +08:00
|
|
|
$(call Build/Configure)
|
|
|
|
touch $$@
|
|
|
|
|
2006-05-14 17:30:29 +08:00
|
|
|
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
2006-04-14 11:03:32 +08:00
|
|
|
$(call Build/Compile)
|
2006-05-14 17:30:29 +08:00
|
|
|
touch $$@
|
2006-06-01 00:20:27 +08:00
|
|
|
|
2006-06-03 00:12:05 +08:00
|
|
|
$(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(PKG_BUILD_DIR)/.built
|
2006-05-24 15:12:59 +08:00
|
|
|
$(call Build/InstallDev)
|
|
|
|
touch $$@
|
2006-06-01 08:06:16 +08:00
|
|
|
|
|
|
|
ifdef Build/InstallDev
|
2006-06-03 00:12:05 +08:00
|
|
|
compile-targets: $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
|
2006-06-01 08:06:16 +08:00
|
|
|
endif
|
2006-06-01 00:20:27 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
package-clean: FORCE
|
2006-04-20 11:45:03 +08:00
|
|
|
$(call Build/Clean)
|
2006-05-24 15:12:59 +08:00
|
|
|
$(call Build/UninstallDev)
|
2006-06-03 00:12:05 +08:00
|
|
|
rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
|
2006-04-20 11:45:03 +08:00
|
|
|
|
2006-05-14 17:30:29 +08:00
|
|
|
package-rebuild: FORCE
|
2006-06-17 05:39:42 +08:00
|
|
|
@-rm -f $(PKG_BUILD_DIR)/.built
|
2006-05-14 17:30:29 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
define Build/DefaultTargets
|
|
|
|
endef
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
2005-07-25 03:58:14 +08:00
|
|
|
|
2006-04-20 07:56:04 +08:00
|
|
|
define Package/Default
|
2006-05-12 06:36:20 +08:00
|
|
|
CONFIGFILE:=
|
|
|
|
SECTION:=opt
|
|
|
|
CATEGORY:=Extra packages
|
|
|
|
DEPENDS:=
|
|
|
|
MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
|
|
|
|
SOURCE:=$(patsubst $(TOPDIR)/%,%,${shell pwd})
|
2006-06-02 08:01:00 +08:00
|
|
|
ifneq ($(PKG_VERSION),)
|
|
|
|
ifneq ($(PKG_RELEASE),)
|
|
|
|
VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
|
|
|
|
else
|
|
|
|
VERSION:=$(PKG_VERSION)
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
VERSION:=$(PKG_RELEASE)
|
|
|
|
endif
|
2006-05-12 06:36:20 +08:00
|
|
|
PKGARCH:=$(ARCH)
|
|
|
|
PRIORITY:=optional
|
|
|
|
DEFAULT:=
|
|
|
|
MENU:=
|
2006-06-26 00:05:43 +08:00
|
|
|
SUBMENU:=
|
2006-05-12 06:36:20 +08:00
|
|
|
TITLE:=
|
|
|
|
DESCRIPTION:=
|
2006-05-11 08:18:12 +08:00
|
|
|
endef
|
|
|
|
|
2006-06-18 21:09:32 +08:00
|
|
|
define BuildIPKGVariable
|
2006-06-18 21:32:43 +08:00
|
|
|
pkg_$(subst .,_,$(subst -,_,$(1)))_$(2) = $$(Package/$(1)/$(2))
|
|
|
|
export pkg_$(subst .,_,$(subst -,_,$(1))_$(2))
|
|
|
|
$(1)_COMMANDS += if [ -n "$$$$$$$$pkg_$(subst .,_,$(subst -,_,$(1)))_$(2)" ]; then echo "$$$$$$$$pkg_$(subst .,_,$(subst -,_,$(1)))_$(2)" > $(2); fi;
|
2006-06-18 21:09:32 +08:00
|
|
|
endef
|
|
|
|
|
2006-04-20 07:56:04 +08:00
|
|
|
define BuildPackage
|
2006-05-12 06:36:20 +08:00
|
|
|
$(eval $(call Package/Default))
|
|
|
|
$(eval $(call Package/$(1)))
|
2006-04-14 09:22:55 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
$(foreach FIELD, TITLE CATEGORY PRIORITY VERSION,
|
|
|
|
ifeq ($($(FIELD)),)
|
|
|
|
$$(error Package/$(1) is missing the $(FIELD) field)
|
|
|
|
endif
|
|
|
|
)
|
2006-05-11 08:18:12 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
ifeq ($(PKGARCH),)
|
|
|
|
PKGARCH:=$(ARCH)
|
|
|
|
endif
|
2006-05-12 05:41:44 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
ifeq ($(DESCRIPTION),)
|
|
|
|
$(eval DESCRIPTION:=$(TITLE))
|
|
|
|
endif
|
2006-04-14 09:22:55 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
|
|
|
|
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
|
|
|
|
INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list
|
2005-05-09 17:33:23 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
ifeq ($(CONFIG_PACKAGE_$(1)),y)
|
|
|
|
install-targets: $$(INFO_$(1))
|
|
|
|
endif
|
2005-05-09 17:33:23 +08:00
|
|
|
|
2006-05-14 17:30:29 +08:00
|
|
|
ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),)
|
|
|
|
compile-targets: $$(IPKG_$(1))
|
2006-05-12 06:36:20 +08:00
|
|
|
endif
|
2006-04-20 11:45:03 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
IDEPEND_$(1):=$$(strip $$(DEPENDS))
|
2006-04-20 08:03:19 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
DUMPINFO += \
|
2006-04-21 08:12:18 +08:00
|
|
|
echo "Package: $(1)";
|
2006-05-12 06:36:20 +08:00
|
|
|
|
|
|
|
ifneq ($(MENU),)
|
|
|
|
DUMPINFO += \
|
2006-04-21 08:12:18 +08:00
|
|
|
echo "Menu: $(MENU)";
|
2006-05-12 06:36:20 +08:00
|
|
|
endif
|
|
|
|
|
2006-06-26 00:05:43 +08:00
|
|
|
ifneq ($(SUBMENU),)
|
|
|
|
DUMPINFO += \
|
|
|
|
echo "Submenu: $(SUBMENU)";
|
|
|
|
endif
|
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
ifneq ($(DEFAULT),)
|
|
|
|
DUMPINFO += \
|
2006-04-21 08:12:18 +08:00
|
|
|
echo "Default: $(DEFAULT)";
|
2006-05-12 06:36:20 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
DUMPINFO += \
|
2006-04-20 08:03:19 +08:00
|
|
|
echo "Version: $(VERSION)"; \
|
2006-04-21 08:12:18 +08:00
|
|
|
echo "Depends: $$(IDEPEND_$(1))"; \
|
2006-05-31 01:09:21 +08:00
|
|
|
echo "Build-Depends: $(PKG_BUILDDEP)"; \
|
2006-04-21 08:12:18 +08:00
|
|
|
echo "Category: $(CATEGORY)"; \
|
2006-04-20 08:03:19 +08:00
|
|
|
echo "Title: $(TITLE)"; \
|
2006-04-21 08:50:48 +08:00
|
|
|
echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n,g';
|
2006-05-12 06:36:20 +08:00
|
|
|
|
|
|
|
ifneq ($(URL),)
|
|
|
|
DUMPINFO += \
|
2006-04-20 08:03:19 +08:00
|
|
|
echo; \
|
2006-04-21 08:50:48 +08:00
|
|
|
echo "$(URL)";
|
2006-05-12 06:36:20 +08:00
|
|
|
endif
|
2006-04-20 08:03:19 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
DUMPINFO += \
|
|
|
|
echo "@@";
|
2005-06-27 18:02:35 +08:00
|
|
|
|
2006-05-20 06:46:24 +08:00
|
|
|
ifneq ($(CONFIG),)
|
|
|
|
DUMPINFO += \
|
|
|
|
echo "Config: $(CONFIG)" | sed -e 's,\\,\n,g'; \
|
|
|
|
echo "@@";
|
|
|
|
endif
|
|
|
|
|
2006-06-18 21:09:32 +08:00
|
|
|
$(eval $(call BuildIPKGVariable,$(1),conffiles))
|
|
|
|
$(eval $(call BuildIPKGVariable,$(1),preinst))
|
|
|
|
$(eval $(call BuildIPKGVariable,$(1),postinst))
|
|
|
|
$(eval $(call BuildIPKGVariable,$(1),prerm))
|
|
|
|
$(eval $(call BuildIPKGVariable,$(1),postrm))
|
2006-05-12 07:14:04 +08:00
|
|
|
$$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared
|
2006-04-14 09:22:55 +08:00
|
|
|
mkdir -p $$(IDIR_$(1))/CONTROL
|
2006-04-20 08:03:19 +08:00
|
|
|
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
|
|
|
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
2006-05-31 02:55:52 +08:00
|
|
|
( \
|
|
|
|
DEPENDS=; \
|
2006-06-01 00:01:46 +08:00
|
|
|
for depend in $$(filter-out @%,$$(IDEPEND_$(1))); do \
|
2006-05-31 02:55:52 +08:00
|
|
|
DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \
|
|
|
|
done; \
|
|
|
|
echo "Depends: $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \
|
|
|
|
)
|
2006-04-20 08:03:19 +08:00
|
|
|
echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control
|
|
|
|
echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control
|
|
|
|
echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control
|
|
|
|
echo "Maintainer: $(MAINTAINER)" >> $$(IDIR_$(1))/CONTROL/control
|
|
|
|
echo "Architecture: $(PKGARCH)" >> $$(IDIR_$(1))/CONTROL/control
|
2006-04-21 08:37:58 +08:00
|
|
|
echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n ,g' >> $$(IDIR_$(1))/CONTROL/control
|
2006-04-14 09:22:55 +08:00
|
|
|
chmod 644 $$(IDIR_$(1))/CONTROL/control
|
2006-06-18 21:09:32 +08:00
|
|
|
(cd $$(IDIR_$(1))/CONTROL; \
|
2006-06-18 21:32:43 +08:00
|
|
|
$($(1)_COMMANDS) \
|
2006-06-18 21:09:32 +08:00
|
|
|
)
|
2005-05-09 17:33:23 +08:00
|
|
|
|
2006-05-14 17:30:29 +08:00
|
|
|
$$(IPKG_$(1)): $$(IDIR_$(1))/CONTROL/control $(PKG_BUILD_DIR)/.built
|
2006-04-14 11:03:32 +08:00
|
|
|
$(call Package/$(1)/install,$$(IDIR_$(1)))
|
2006-04-20 11:45:03 +08:00
|
|
|
mkdir -p $(PACKAGE_DIR)
|
2006-05-31 21:27:11 +08:00
|
|
|
-find $$(IDIR_$(1)) -name CVS | xargs rm -rf
|
|
|
|
-find $$(IDIR_$(1)) -name .svn | xargs rm -rf
|
|
|
|
-find $$(IDIR_$(1)) -name '.#*' | xargs rm -f
|
2006-05-11 03:06:22 +08:00
|
|
|
$(RSTRIP) $$(IDIR_$(1))
|
2006-04-14 11:03:32 +08:00
|
|
|
$(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR)
|
2005-05-13 01:59:08 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
$$(INFO_$(1)): $$(IPKG_$(1))
|
2005-05-09 17:33:23 +08:00
|
|
|
$(IPKG) install $$(IPKG_$(1))
|
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
$(1)-clean:
|
2006-04-20 11:45:03 +08:00
|
|
|
rm -f $(PACKAGE_DIR)/$(1)_*
|
2005-05-09 17:33:23 +08:00
|
|
|
|
2006-05-12 06:36:20 +08:00
|
|
|
clean: $(1)-clean
|
|
|
|
|
2006-05-14 18:24:06 +08:00
|
|
|
$$(eval $$(call Build/DefaultTargets,$(1)))
|
2006-04-14 11:03:32 +08:00
|
|
|
|
|
|
|
endef
|
2005-10-22 09:40:50 +08:00
|
|
|
|
2005-04-18 14:17:39 +08:00
|
|
|
ifneq ($(strip $(PKG_CAT)),)
|
2006-06-21 14:19:43 +08:00
|
|
|
ifeq ($(PKG_CAT),unzip)
|
|
|
|
UNPACK=unzip -d $(PKG_BUILD_DIR) $(DL_DIR)/$(PKG_SOURCE)
|
|
|
|
else
|
|
|
|
UNPACK=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR)/.. $(TAR_OPTIONS) -
|
|
|
|
endif
|
2006-05-12 06:36:20 +08:00
|
|
|
define Build/Prepare/Default
|
2006-06-21 14:19:43 +08:00
|
|
|
$(UNPACK)
|
2006-05-11 08:18:12 +08:00
|
|
|
@if [ -d ./patches ]; then \
|
2006-06-21 14:19:43 +08:00
|
|
|
$(PATCH) $(PKG_BUILD_DIR) ./patches; \
|
2005-04-18 14:17:39 +08:00
|
|
|
fi
|
2006-05-12 06:36:20 +08:00
|
|
|
endef
|
2005-04-18 14:17:39 +08:00
|
|
|
endif
|
|
|
|
|
2006-04-14 11:03:32 +08:00
|
|
|
define Build/Prepare
|
2006-05-12 06:36:20 +08:00
|
|
|
$(call Build/Prepare/Default)
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure/Default
|
2006-06-17 05:39:42 +08:00
|
|
|
@(cd $(PKG_BUILD_DIR)/$(3); \
|
2006-05-10 07:32:56 +08:00
|
|
|
[ -x configure ] && \
|
2006-06-17 05:39:42 +08:00
|
|
|
$(2) \
|
2006-04-21 17:55:30 +08:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2006-05-24 15:12:59 +08:00
|
|
|
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
|
|
|
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
2006-04-21 17:55:30 +08:00
|
|
|
./configure \
|
|
|
|
--target=$(GNU_TARGET_NAME) \
|
|
|
|
--host=$(GNU_TARGET_NAME) \
|
|
|
|
--build=$(GNU_HOST_NAME) \
|
2006-05-24 15:12:59 +08:00
|
|
|
--program-prefix="" \
|
|
|
|
--program-suffix="" \
|
2006-04-21 17:55:30 +08:00
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix=/usr \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/sbin \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--datadir=/usr/share \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--infodir=/usr/info \
|
|
|
|
$(DISABLE_NLS) \
|
|
|
|
$(1); \
|
2006-05-16 04:30:26 +08:00
|
|
|
true; \
|
2006-04-21 17:55:30 +08:00
|
|
|
)
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
2006-05-12 06:36:20 +08:00
|
|
|
$(call Build/Configure/Default,)
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile/Default
|
2006-04-21 18:03:46 +08:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
2006-06-01 08:28:12 +08:00
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2006-04-21 18:03:46 +08:00
|
|
|
CC=$(TARGET_CC) \
|
|
|
|
CROSS="$(TARGET_CROSS)" \
|
2006-06-01 09:06:23 +08:00
|
|
|
EXTRA_CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \
|
2006-04-21 18:03:46 +08:00
|
|
|
ARCH="$(ARCH)" \
|
2006-05-16 04:30:26 +08:00
|
|
|
$(1);
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2006-05-16 04:30:26 +08:00
|
|
|
$(call Build/Compile/Default,)
|
2006-04-14 11:03:32 +08:00
|
|
|
endef
|
2005-04-18 14:17:39 +08:00
|
|
|
|
2006-04-20 07:14:13 +08:00
|
|
|
ifneq ($(DUMP),)
|
2006-05-16 04:30:26 +08:00
|
|
|
dumpinfo: FORCE
|
2006-05-20 06:46:24 +08:00
|
|
|
@$(DUMPINFO)
|
2006-04-20 07:14:13 +08:00
|
|
|
else
|
2006-05-12 06:36:20 +08:00
|
|
|
$(PACKAGE_DIR):
|
2006-05-11 04:32:22 +08:00
|
|
|
mkdir -p $@
|
2006-06-21 07:40:02 +08:00
|
|
|
|
|
|
|
ifneq ($(strip $(PKG_SOURCE)),)
|
|
|
|
source: $(DL_DIR)/$(PKG_SOURCE)
|
|
|
|
|
|
|
|
$(DL_DIR)/$(PKG_SOURCE):
|
|
|
|
mkdir -p $(DL_DIR)
|
|
|
|
$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_SOURCE)" "$(PKG_MD5SUM)" $(PKG_SOURCE_URL)
|
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
|
|
|
endif
|
2006-04-20 07:14:13 +08:00
|
|
|
|
2006-06-21 07:40:02 +08:00
|
|
|
source:
|
2006-05-12 07:14:04 +08:00
|
|
|
prepare: $(PKG_BUILD_DIR)/.prepared
|
|
|
|
configure: $(PKG_BUILD_DIR)/.configured
|
2005-10-22 09:40:50 +08:00
|
|
|
|
2006-06-01 00:20:27 +08:00
|
|
|
compile-targets:
|
2006-05-12 07:14:04 +08:00
|
|
|
compile: compile-targets
|
2005-10-22 09:40:50 +08:00
|
|
|
|
2006-05-12 07:14:04 +08:00
|
|
|
install-targets:
|
|
|
|
install: install-targets
|
2005-05-13 01:59:08 +08:00
|
|
|
|
2006-05-12 07:14:04 +08:00
|
|
|
clean-targets:
|
2006-05-12 06:36:20 +08:00
|
|
|
clean: FORCE
|
2006-05-11 04:32:22 +08:00
|
|
|
@$(MAKE) clean-targets
|
2006-06-11 08:34:11 +08:00
|
|
|
$(call Build/Clean)
|
2005-05-09 17:33:23 +08:00
|
|
|
rm -rf $(PKG_BUILD_DIR)
|
2006-04-20 07:14:13 +08:00
|
|
|
endif
|