]> rtime.felk.cvut.cz Git - can-eth-gw.git/blobdiff - rootfs/GNUmakefile
Add buildroot a linux config for easier testing
[can-eth-gw.git] / rootfs / GNUmakefile
diff --git a/rootfs/GNUmakefile b/rootfs/GNUmakefile
new file mode 100644 (file)
index 0000000..b6a4254
--- /dev/null
@@ -0,0 +1,24 @@
+# Automatically generated by /home/wsh/projects/volkswagen/can-eth-gw/rootfs/buildroot/support/scripts/mkmakefile: don't edit
+
+lastword = $(word $(words $(1)),$(1))
+makedir := $(dir $(call lastword,$(MAKEFILE_LIST)))
+
+MAKEARGS := -C $(CURDIR)/buildroot
+MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir))
+
+MAKEFLAGS += --no-print-directory
+
+.PHONY: all $(MAKECMDGOALS)
+
+all    := $(filter-out Makefile,$(MAKECMDGOALS))
+
+_all:
+       $(MAKE) $(MAKEARGS) $(all)
+
+Makefile:;
+
+$(all): _all
+       @:
+
+%/: _all
+       @: