mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] add dist and distcheck target (to create new source balls)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -70,7 +70,7 @@ CONFIGURE_VARS = \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
|
||||
CONFIGURE_PATH = .
|
||||
CONFIGURE_CMD = ./configure
|
||||
CONFIGURE_CMD = $(CONFIGURE_PATH)/configure
|
||||
|
||||
replace_script=$(FIND) $(1) -name $(2) | $(XARGS) chmod u+w; $(FIND) $(1) -name $(2) | $(XARGS) -n1 cp $(SCRIPT_DIR)/$(2);
|
||||
|
||||
@@ -117,3 +117,11 @@ define Build/Install/Default
|
||||
$(MAKE_INSTALL_FLAGS) \
|
||||
$(1) install;
|
||||
endef
|
||||
|
||||
define Build/Dist/Default
|
||||
$(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" dist)
|
||||
endef
|
||||
|
||||
define Build/DistCheck/Default
|
||||
$(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" distcheck)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user