Skip to content

Commit

Permalink
pkg/local.mk: fix local pkg build
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed Jan 9, 2020
1 parent c8461a4 commit 5c83642
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
#
# WARNING: any local changes made to $(PKG_BUILDDIR) *will* get lost!

.PHONY: prepare clean
.PHONY: prepare clean all

all: $(PKG_BUILDDIR)/.prepared

prepare: $(PKG_BUILDDIR)/.prepared
@true

$(PKG_BUILDDIR)/.prepared:
$(info [INFO] building local $(PKG_NAME))
rm -Rf $(PKG_BUILDDIR)
mkdir -p $$(dirname $(PKG_BUILDDIR))
cp -a $(PKG_SOURCE_LOCAL) $(PKG_BUILDDIR)
Expand Down

0 comments on commit 5c83642

Please sign in to comment.