diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2020-05-21 08:17:34 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-05-21 13:05:31 +0300 |
commit | 1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767 (patch) | |
tree | c4408d562a88bee2664965d547d026edb7931c5b /recipes-support/jsoncpp | |
parent | 1075148e1dfb701d43349af07f35a5ce36eb1195 (diff) | |
download | meta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.tar.gz meta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.tar.bz2 meta-mlinux-atmel-1b92cb4c4b8c66f98f0f0c8551ea2be9fc423767.zip |
Remove duplicate recipes-support
Diffstat (limited to 'recipes-support/jsoncpp')
-rw-r--r-- | recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile | 49 | ||||
-rw-r--r-- | recipes-support/jsoncpp/jsoncpp_1.6.0.bb | 33 |
2 files changed, 0 insertions, 82 deletions
diff --git a/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile b/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile deleted file mode 100644 index 7df3d63..0000000 --- a/recipes-support/jsoncpp/jsoncpp-1.6.0/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -includedir ?= /usr/include -libdir ?= /usr/lib - -CPP_SRCS += \ -src/lib_json/json_reader.cpp \ -src/lib_json/json_value.cpp \ -src/lib_json/json_writer.cpp - -OBJS += \ -json_reader.o \ -json_value.o \ -json_writer.o - -CPP_DEPS += \ -json_reader.d \ -json_value.d \ -json_writer.d - -TARGET = libjsoncpp.so - -all: $(TARGET) - -libjsoncpp.so: $(OBJS) - @echo 'Building target: $@' - #$(AR) -r libjsoncpp.a $(OBJS) - $(CXX) ${LDFLAGS} -shared -o $@ $^ - @echo 'Finished building target: $@' - @echo ' ' - -%.o: src/lib_json/%.cpp - @echo 'Building file: $<' - $(CXX) $(CFLAGS) -Iinclude -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -fPIC -o "$@" "$<" - @echo 'Finished building: $<' - @echo ' ' - -install: - install -d $(DESTDIR)/usr/include/json - install -m 644 include/json/*.h $(DESTDIR)/usr/include/json - mkdir -p $(DESTDIR)/usr/lib - cp libjsoncpp.so $(DESTDIR)/usr/lib - -# Other Targets -clean: - -$(RM) $(OBJS)$(CPP_DEPS) libjsoncpp.so - -@echo ' ' - -.PHONY: all clean dependents -.SECONDARY: - diff --git a/recipes-support/jsoncpp/jsoncpp_1.6.0.bb b/recipes-support/jsoncpp/jsoncpp_1.6.0.bb deleted file mode 100644 index 8c8454d..0000000 --- a/recipes-support/jsoncpp/jsoncpp_1.6.0.bb +++ /dev/null @@ -1,33 +0,0 @@ -DESCRIPTION = "Json C++ Library" -HOMEPAGE = "https://github.com/open-source-parsers/jsoncpp" -# Public Domain -LICENSE = "PD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c56ee55c03a55f8105b969d8270632ce" -DEPENDS = "" - -#tag 1.6.0 -SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f" - -SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \ - file://Makefile \ - " - -PR = "r6" - -S = "${WORKDIR}/git" - -do_compile() { - cp ${WORKDIR}/Makefile . - oe_runmake -} - -do_install () { - install -d ${D}/usr/lib - install -m 0755 ${S}/libjsoncpp.so ${D}/usr/lib - install -d ${D}${includedir}/jsoncpp/json - install -m 0755 ${S}/include/json/*.h ${D}${includedir}/jsoncpp/json -} - -FILES_SOLIBSDEV = "" -FILES_${PN} += "${libdir}/*.so" -FILES_{PN}-dev += "${libdir}/*.so" |