summaryrefslogtreecommitdiffstats
path: root/package/hdparm/hdparm.mk
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-20 14:37:48 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-20 14:37:48 +0000
commit0ffc8419b44179821f2f86fe9fb6e89543405be2 (patch)
tree6b000e3298def6357c6ce3ea72d4f069b1a6785b /package/hdparm/hdparm.mk
parent4ccf17da47f4823e658900bcbfa598b255f5575a (diff)
downloadbuildroot-novena-0ffc8419b44179821f2f86fe9fb6e89543405be2.tar.gz
buildroot-novena-0ffc8419b44179821f2f86fe9fb6e89543405be2.zip
Fix hdparm to cross build correctly. Also fix thttpd to build and install sanely and add simplified start up.
Diffstat (limited to 'package/hdparm/hdparm.mk')
-rw-r--r--package/hdparm/hdparm.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/hdparm/hdparm.mk b/package/hdparm/hdparm.mk
index c43e2ecf0..91d2ee5cb 100644
--- a/package/hdparm/hdparm.mk
+++ b/package/hdparm/hdparm.mk
@@ -19,15 +19,17 @@ hdparm-source: $(DL_DIR)/$(HDPARM_SOURCE)
hdparm-unpacked: $(HDPARM_DIR)/.unpacked
$(HDPARM_DIR)/.unpacked: $(DL_DIR)/$(HDPARM_SOURCE)
$(HDPARM_CAT) $(DL_DIR)/$(HDPARM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(HDPARM_DIR) package/hdparm hdparm.patch
touch $(HDPARM_DIR)/.unpacked
$(HDPARM_DIR)/.configured: $(HDPARM_DIR)/.unpacked
touch $(HDPARM_DIR)/.configured
$(HDPARM_DIR)/$(HDPARM_BINARY): $(HDPARM_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(HDPARM_DIR)
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(HDPARM_DIR)
$(TARGET_DIR)/$(HDPARM_TARGET_BINARY): $(HDPARM_DIR)/$(HDPARM_BINARY)
+ rm -f $(TARGET_DIR)/$(HDPARM_TARGET_BINARY)
cp -a $(HDPARM_DIR)/$(HDPARM_BINARY) $(TARGET_DIR)/$(HDPARM_TARGET_BINARY)
hdparm: uclibc $(TARGET_DIR)/$(HDPARM_TARGET_BINARY)