mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
libogg: move header install to seperate target so it isn't always out-of-date
This commit is contained in:
parent
97321b01e0
commit
f4c708675f
@ -56,14 +56,16 @@ ifneq ($(strip $(BR2_HAVE_MANPAGES)),y)
|
|||||||
rm -rf $(TARGET_DIR)/usr/share/doc/$(LIBOGG_NAME)
|
rm -rf $(TARGET_DIR)/usr/share/doc/$(LIBOGG_NAME)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libogg.a: $(TARGET_DIR)/usr/lib/libogg.so
|
$(TARGET_DIR)/usr/lib/libogg.a: $(STAGING_DIR)/usr/lib/libogg.so
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libogg.a $@
|
cp -dpf $(STAGING_DIR)/usr/lib/libogg.a $@
|
||||||
|
|
||||||
libogg-header: $(TARGET_DIR)/usr/lib/libogg.a
|
$(TARGET_DIR)/usr/include/ogg/ogg.h: $(STAGING_DIR)/usr/lib/libogg.so
|
||||||
mkdir -p $(TARGET_DIR)/usr/include/ogg
|
mkdir -p $(TARGET_DIR)/usr/include/ogg
|
||||||
cp -dpf $(LIBOGG_DIR)/include/ogg/*.h \
|
cp -dpf $(LIBOGG_DIR)/include/ogg/*.h \
|
||||||
$(TARGET_DIR)/usr/include/ogg
|
$(TARGET_DIR)/usr/include/ogg
|
||||||
|
|
||||||
|
libogg-header: $(TARGET_DIR)/usr/lib/libogg.a $(TARGET_DIR)/usr/include/ogg/ogg.h
|
||||||
|
|
||||||
libogg: uclibc pkgconfig $(TARGET_DIR)/usr/lib/libogg.so
|
libogg: uclibc pkgconfig $(TARGET_DIR)/usr/lib/libogg.so
|
||||||
|
|
||||||
libogg-source: $(DL_DIR)/$(LIBOGG_SOURCE)
|
libogg-source: $(DL_DIR)/$(LIBOGG_SOURCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user