Skip to content

Commit

Permalink
fix makefile build
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Oct 16, 2022
1 parent 42ba8ef commit 8c3baa3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
.PHONY: test
test:
.PHONY: build-docs
build-docs:
git clone https://github.com/linuxkerneltravel/lmp --depth 1 --recursive --shallow-submodules
cd lmp && git checkout develop
$(MAKE) $(TEST_CASES_DIRS)
$(MAKE) build-all-dir
rm -rf lmp

# test with the files in eunomia-bpf
TEST_CASES_DIRS=$(shell ls -l lmp/eBPF_Hub | grep ^d | awk '{print $$9}')

build-all-dir:
$(MAKE) $(TEST_CASES_DIRS)

$(TEST_CASES_DIRS):
echo $@
cp -f lmp/eBPF_Hub/$@/README.md ../_posts/2020-01-01-$@.md
Expand Down

0 comments on commit 8c3baa3

Please sign in to comment.