summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-12-03 15:17:05 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-08 16:26:20 +0100
commit1bb4822dca6113f73e3bc89e2acf15935e6f8e92 (patch)
tree35e16f100466e4e00657199b38bb3d87d52bf73f /modules/admin-full/Makefile
parent9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 (diff)
Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/admin-full/Makefile')
-rw-r--r--modules/admin-full/Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/modules/admin-full/Makefile b/modules/admin-full/Makefile
deleted file mode 100644
index 819d13f33..000000000
--- a/modules/admin-full/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-include ../../build/config.mk
-include ../../build/module.mk
-include ../../build/gccconfig.mk
-
-BWC_LDFLAGS = -ldl
-BWC_CFLAGS =
-BWC_BIN = luci-bwc
-BWC_OBJ = src/luci-bwc.o
-
-%.o: %.c
- $(COMPILE) $(BWC_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
-
-compile: build-clean $(BWC_OBJ)
- $(LINK) -o src/$(BWC_BIN) $(BWC_OBJ) $(BWC_LDFLAGS)
- mkdir -p dist/usr/bin
- cp src/$(BWC_BIN) dist/usr/bin/$(BWC_BIN)
-
-install: build
- cp -pR dist/usr/bin/$(BWC_BIN) /usr/bin/$(BWC_BIN)
-
-clean: build-clean
-
-build-clean:
- rm -f src/*.o src/$(BWC_BIN)