summaryrefslogtreecommitdiff
path: root/package/tn5250/tn5250.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-25 17:37:50 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-25 17:37:50 +0000
commit0f5c2912961b5c3f3d8c9cbcb1f540829e3c27a0 (patch)
tree344560d578dfc8f68e3bf1dec358c72f2160d75c /package/tn5250/tn5250.mk
parent97ead09d64d8be059686615820361d46d0c629b5 (diff)
Fix tn5250 package
Diffstat (limited to 'package/tn5250/tn5250.mk')
-rw-r--r--package/tn5250/tn5250.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk
index 0b6bf2c63..da4adf677 100644
--- a/package/tn5250/tn5250.mk
+++ b/package/tn5250/tn5250.mk
@@ -9,6 +9,7 @@ $(DL_DIR)/$(TN5250_SOURCE):
$(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE)
$(TN5250_CAT) $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(TN5250_DIR) package/tn5250 tn5250\*.patch
-touch $(TN5250_DIR)/.dist
$(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist
@@ -35,11 +36,11 @@ $(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist
);
touch $(TN5250_DIR)/.configured
-$(TN5250_DIR)/tn5250: $(TN5250_DIR)/.configured
+$(TN5250_DIR)/src/tn5250: $(TN5250_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(TN5250_DIR)
-$(TARGET_DIR)/usr/bin/tn5250: $(TN5250_DIR)/tn5250
- install -c $(TN5250_DIR)/tn5250 $(TARGET_DIR)/usr/bin/tn5250
+$(TARGET_DIR)/usr/bin/tn5250: $(TN5250_DIR)/src/tn5250
+ install -c $(TN5250_DIR)/src/tn5250 $(TARGET_DIR)/usr/bin/tn5250
tn5250: uclibc slang $(TARGET_DIR)/usr/bin/tn5250