Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH][BUILD] Create $(TARGET_DIR)/usr/lib when installing
@ 2009-11-30 14:05 Clark Rawlins
  2009-11-30 15:06 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Clark Rawlins @ 2009-11-30 14:05 UTC (permalink / raw)
  To: buildroot

In some configurations $(TARGET_DIR)/usr/lib isn't
created before the target install target for libncurses
is run.  This change makes sure it is created before
the install target copies files to it.

Signed-off-by: Clark Rawlins <clark@bit63.org>
---
 package/ncurses/ncurses.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 2c7bf79..fb22c6c 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -105,6 +105,7 @@ $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(NCURSES_DIR)/lib/libn
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION): $(STAGING_DIR)/usr/lib/libncurses.so.$(NCURSES_VERSION)
+	mkdir -p $(TARGET_DIR)/usr/lib
 	cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/usr/lib/
 ifeq ($(BR2_PACKAGE_NCURSES_TARGET_PANEL),y)
 	cp -dpf $(NCURSES_DIR)/lib/libpanel.so* $(TARGET_DIR)/usr/lib/
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH][BUILD] Create $(TARGET_DIR)/usr/lib when installing
  2009-11-30 14:05 [Buildroot] [PATCH][BUILD] Create $(TARGET_DIR)/usr/lib when installing Clark Rawlins
@ 2009-11-30 15:06 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-11-30 15:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Clark" == Clark Rawlins <clark.rawlins@escient.com> writes:

 Clark> In some configurations $(TARGET_DIR)/usr/lib isn't
 Clark> created before the target install target for libncurses
 Clark> is run.  This change makes sure it is created before
 Clark> the install target copies files to it.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-30 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 14:05 [Buildroot] [PATCH][BUILD] Create $(TARGET_DIR)/usr/lib when installing Clark Rawlins
2009-11-30 15:06 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox