do not install build stuff into the target unless specifically asked to do so
This commit is contained in:
parent
a64b9018e0
commit
58c49926d2
@ -137,12 +137,14 @@ gettext-target: $(GETTEXT_DIR)/$(GETTEXT_BINARY)
|
|||||||
$(TARGET_DIR)/usr/include/libintl.h
|
$(TARGET_DIR)/usr/include/libintl.h
|
||||||
-rmdir $(TARGET_DIR)/usr/include
|
-rmdir $(TARGET_DIR)/usr/include
|
||||||
|
|
||||||
libintl: $(TARGET_DIR)/lib/libintl.so
|
|
||||||
|
|
||||||
$(TARGET_DIR)/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
$(TARGET_DIR)/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
|
||||||
cp -a $(STAGING_DIR)/lib/libintl.so* $(TARGET_DIR)/lib
|
cp -a $(STAGING_DIR)/lib/libgettext*.so* $(TARGET_DIR)/lib/
|
||||||
|
cp -a $(STAGING_DIR)/lib/libintl*.so* $(TARGET_DIR)/lib/
|
||||||
|
rm -f $(TARGET_DIR)/lib/libgettext*.so*.la $(TARGET_DIR)/lib/libintl*.so*.la
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
libintl: $(TARGET_DIR)/lib/libintl.so
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Toplevel Makefile options
|
# Toplevel Makefile options
|
||||||
@ -152,5 +154,5 @@ ifeq ($(strip $(BR2_PACKAGE_LIBINTL)),y)
|
|||||||
TARGETS+=libintl
|
TARGETS+=libintl
|
||||||
endif
|
endif
|
||||||
ifeq ($(strip $(BR2_PACKAGE_GETTEXT)),y)
|
ifeq ($(strip $(BR2_PACKAGE_GETTEXT)),y)
|
||||||
TARGETS+=gettext-target
|
TARGETS+=gettext
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user