diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-02-12 08:10:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-02-12 08:10:40 +0000 |
commit | d322f37644811964ee7da64c4d3fcffd8898869f (patch) | |
tree | f7e2ba6c81659bb3db7257d894df9bffe7507db0 /make/gawk.mk | |
parent | e03eb9438ec2a2a8036f025df8cd112c1b686c63 (diff) | |
download | buildroot-novena-d322f37644811964ee7da64c4d3fcffd8898869f.tar.gz buildroot-novena-d322f37644811964ee7da64c4d3fcffd8898869f.zip |
Lots and lots of changes
Diffstat (limited to 'make/gawk.mk')
-rw-r--r-- | make/gawk.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make/gawk.mk b/make/gawk.mk index 84e85c27e..691dff4a7 100644 --- a/make/gawk.mk +++ b/make/gawk.mk @@ -21,7 +21,7 @@ $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE) $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked (cd $(GAWK_DIR); rm -rf config.cache; \ - PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \ + PATH=$(TARGET_PATH) CC=$(TARGET_CC) \ ./configure \ --target=$(GNU_TARGET_NAME) \ --prefix=/usr \ @@ -42,7 +42,10 @@ $(GAWK_DIR)/$(GAWK_BINARY): $(GAWK_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(GAWK_DIR) $(TARGET_DIR)/$(GAWK_TARGET_BINARY): $(GAWK_DIR)/$(GAWK_BINARY) + rm -f $(TARGET_DIR)/usr/bin/awk $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(GAWK_DIR) install + rm -f $(TARGET_DIR)/usr/bin/gawk-* + (cd $(TARGET_DIR)/usr/bin; ln -sf gawk awk) rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc |