diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 10:48:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 10:48:46 +0000 |
commit | 483dfb483e12e660267721a99bf97c572cb72795 (patch) | |
tree | 84490c282740e3c0c90ae98baf5d0091b25049cd /package/nvram/src/Makefile | |
parent | ab1287beadc3396709bef189459bb5a3059bb6be (diff) | |
download | upstream-483dfb483e12e660267721a99bf97c572cb72795.tar.gz upstream-483dfb483e12e660267721a99bf97c572cb72795.tar.bz2 upstream-483dfb483e12e660267721a99bf97c572cb72795.zip |
move a few packages to system/utils
SVN-Revision: 35375
Diffstat (limited to 'package/nvram/src/Makefile')
-rw-r--r-- | package/nvram/src/Makefile | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package/nvram/src/Makefile b/package/nvram/src/Makefile deleted file mode 100644 index 4872728baf..0000000000 --- a/package/nvram/src/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -CLI_FILENAME = nvram - -LIB_VERMAJOR = 0 -LIB_VERMINOR = 1 -LIB_FILENAME = libnvram.so - -LIB_CFLAGS = $(CFLAGS) -shared -fPIC -LIB_LDFLAGS = $(LDFLAGS) -Wl,-soname,$(LIB_FILENAME).$(LIB_VERMAJOR).$(LIB_VERMINOR) - -CLI_CFLAGS = $(CFLAGS) -CLI_LDFLAGS = $(LDFLAGS) - -CLI_OBJ = cli.o -LIB_OBJ = crc.o nvram.o - -all: cli libnvram - -cli: libnvram - $(CC) $(CLI_CFLAGS) -c -o cli.o cli.c - $(CC) -o $(CLI_FILENAME) $(CLI_LDFLAGS) $(CLI_OBJ) \ - $(LIB_FILENAME).$(LIB_VERMAJOR).$(LIB_VERMINOR) - -cli.o: cli.c - $(CC) $(CLI_CFLAGS) -c -o $@ $< - -libnvram: - $(CC) $(LIB_CFLAGS) -c -o crc.o crc.c - $(CC) $(LIB_CFLAGS) -c -o nvram.o nvram.c - $(CC) $(LIB_CFLAGS) $(LIB_LDFLAGS) \ - -o $(LIB_FILENAME).$(LIB_VERMAJOR).$(LIB_VERMINOR) $(LIB_OBJ) - -clean: - rm -f $(CLI_FILENAME) $(LIB_FILENAME)* *.o |