summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Snider <eugene.snider@huawei.com>2015-06-15 11:42:14 -0700
committerEugene Snider <eugene.snider@huawei.com>2015-06-15 11:42:14 -0700
commit6be96d65e533e6a1a385fa25080e1e18666a5878 (patch)
tree20d9c463bb3cbf9f3bd801d12c547a1241aa0884
parent7d6c11aab2680b3b839b216ac493d4678fe4968a (diff)
Update targets for l2fwd build
Added cleanse, clobber and force_make targets for top level Makefile compliance Change-Id: I510ed174e3ae01b35e9df975e5aaa1c989b34ce9 Signed-off-by: Eugene Snider <eugene.snider@huawei.com>
-rw-r--r--src/l2fwd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/l2fwd/Makefile b/src/l2fwd/Makefile
index 21fbe5bb..b920769e 100644
--- a/src/l2fwd/Makefile
+++ b/src/l2fwd/Makefile
@@ -25,13 +25,20 @@ PWD := $(shell pwd)
all:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
+force_make: all
+
sanity:
- echo "Done"
+ @echo "Make sanity in $(WORK_DIR) (stub) "
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
rm -f l2fwd*deb
+cleanse: clean
+
+clobber: clean
+
+
install:
sudo mkdir /lib/modules/`uname -r`/kernel/net/core
sudo cp *.ko /lib/modules/`uname -r`/kernel/net/core