mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
tremor: build specific svn revision
Select a specific svn revision (current trunk: r16259) instead of the latest from the trunk. Simplifies support, mirroring and makes the system reproducible. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -28,21 +28,15 @@ else
|
|||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
TREMOR_TRUNK:=http://svn.xiph.org/trunk/Tremor/
|
TREMOR_TRUNK:=http://svn.xiph.org/trunk/Tremor/
|
||||||
TREMOR_VERSION:=svn-$(DATE)
|
TREMOR_VERSION:=16259
|
||||||
TREMOR_NAME:=Tremor-$(TREMOR_VERSION)
|
TREMOR_NAME:=Tremor-svn-r$(TREMOR_VERSION)
|
||||||
TREMOR_DIR:=$(BUILD_DIR)/$(TREMOR_NAME)
|
TREMOR_DIR:=$(BUILD_DIR)/$(TREMOR_NAME)
|
||||||
TREMOR_SOURCE:=$(TREMOR_NAME).tar.bz2
|
TREMOR_SOURCE:=$(TREMOR_NAME).tar.bz2
|
||||||
TREMOR_CAT=$(BZCAT)
|
TREMOR_CAT=$(BZCAT)
|
||||||
|
|
||||||
$(DL_DIR)/$(TREMOR_SOURCE):
|
$(DL_DIR)/$(TREMOR_SOURCE):
|
||||||
(cd $(BUILD_DIR); \
|
$(SVN_CO) -r $(TREMOR_VERSION) $(TREMOR_TRUNK) $(TREMOR_DIR)
|
||||||
$(SVN_CO) $(TREMOR_TRUNK); \
|
tar -cv -C $(BUILD_DIR) $(TREMOR_NAME) | bzip2 - -c > $@
|
||||||
mv -f Tremor $(TREMOR_NAME); \
|
|
||||||
tar -cvf $(TREMOR_NAME).tar $(TREMOR_NAME); \
|
|
||||||
bzip2 $(TREMOR_NAME).tar; \
|
|
||||||
rm -rf $(TREMOR_DIR); \
|
|
||||||
mv $(TREMOR_SOURCE) $(DL_DIR)/$(TREMOR_SOURCE); \
|
|
||||||
)
|
|
||||||
|
|
||||||
$(TREMOR_DIR)/.source: $(DL_DIR)/$(TREMOR_SOURCE)
|
$(TREMOR_DIR)/.source: $(DL_DIR)/$(TREMOR_SOURCE)
|
||||||
$(TREMOR_CAT) $(DL_DIR)/$(TREMOR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(TREMOR_CAT) $(DL_DIR)/$(TREMOR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
|
|||||||
Reference in New Issue
Block a user