Permalink
Browse files

We do need a distfile for both Makefile and Makefile-ffw

  • Loading branch information...
thomasez committed Jul 22, 2015
1 parent 8dc4177 commit a4b18c62272d4f94f6081647f6a06dee7d0f557a
Showing with 24 additions and 0 deletions.
  1. +24 −0 Makefile-dist
View
@@ -0,0 +1,24 @@
# Automatically generated by scripts/mkmakefile: don't edit
lastword = $(word $(words $(1)),$(1))
makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
MAKEARGS := -C /usr/local/src/buildroot
MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
MAKEFLAGS += --no-print-directory
.PHONY: _all $(MAKECMDGOALS)
all := $(filter-out Makefile,$(MAKECMDGOALS))
_all:
umask 0022 && $(MAKE) $(MAKEARGS) $(all)
Makefile:;
$(all): _all
@:
%/: _all
@:

0 comments on commit a4b18c6

Please sign in to comment.