Commit 3491c3e2 authored by Bernhard Reutner-Fischer's avatar Bernhard Reutner-Fischer
Browse files

- allow for patching snapshots. Files are named uClibc.*.patch which is...

- allow for patching snapshots. Files are named uClibc.*.patch which is unambiguous wrt release patches.
  sjhill, this "reverts" your r18601. I *need* to be able to test patches in a convenient manner. Please ping me if you are uncomfortable with this change so we can discuss it, thanks.
parent 1c0ead41
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -91,6 +91,8 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE) $(UCLIBC_LOCALE_DATA)
	$(UCLIBC_CAT) $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
	toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc-$(UCLIBC_VER)-\*.patch
else
	toolchain/patch-kernel.sh $(UCLIBC_DIR) toolchain/uClibc/ uClibc.\*.patch
endif
ifneq ($(BR2_ENABLE_LOCALE),)
	cp -dpf $(DL_DIR)/$(UCLIBC_SOURCE_LOCALE) $(UCLIBC_DIR)/extra/locale/