mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-12 07:52:44 +00:00
21f031371f
Fixes #1065.
24 lines
540 B
Makefile
24 lines
540 B
Makefile
include ports/e2fsprogs.inc
|
|
|
|
#
|
|
# Check for tools
|
|
#
|
|
$(call check_tool,git)
|
|
|
|
#
|
|
# Interface to top-level prepare Makefile
|
|
#
|
|
PORTS += $(E2FSPROGS)
|
|
|
|
prepare:: $(CONTRIB_DIR)/$(E2FSPROGS)
|
|
|
|
#
|
|
# Port-specific local rules
|
|
#
|
|
$(CONTRIB_DIR)/$(E2FSPROGS):
|
|
$(VERBOSE)git clone $(E2FSPROGS_URL) $(CONTRIB_DIR)/$(E2FSPROGS) && \
|
|
cd $(CONTRIB_DIR)/$(E2FSPROGS) && \
|
|
git checkout -b $(E2FSPROGS_BRANCH) $(E2FSPROGS_BRANCH)
|
|
$(VERBOSE)for i in src/noux-pkg/e2fsprogs/patches/*.patch; do \
|
|
patch -d $(CONTRIB_DIR)/$(E2FSPROGS) -N -p1 < $$i; done || true
|