[riot-notifications] [RIOT] Add libcoap as BSD ports-like package (#336)

LudwigOrtmann notifications at github.com
Tue Nov 19 11:26:59 CET 2013


> +
> +.PHONY: all clean
> +
> +all: patch 
> +	make -C $(PKG_NAME)
> +
> +patch: $(PKG_NAME)/Makefile
> +	
> +$(PKG_NAME)/Makefile: $(PKG_NAME)/.git/config	
> +	cd $(PKG_NAME) && git apply ../patch.txt
> +
> +$(PKG_NAME)/.git/config:
> +	git clone $(PKG_URL) $(PKG_NAME) && cd $(PKG_NAME) && git checkout $(VERSION)
> +
> +clean:
> +	rm -rf $(PKG_NAME)

If it's not the default clean behavior it is useless in my opinion. Make clean is called on a regular basis as part of the development process (due to changing boards and flags), so I'd have to download the same sources all the time.
If I'd want to "reset" the port for other reasons, I'd have to manually make this target as there is no clean target in RIOT (and it's function is already present in clean for the rest of RIOT). In that case I could just as well run the git clean command manually.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/336/files#r7753282
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131119/adae9976/attachment.html>


More information about the notifications mailing list