summaryrefslogtreecommitdiffstats
path: root/package/sfdisk/sfdisk.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:54:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:54:45 +0000
commitd0422d0401cab1eea9a2533964141028bcbd65e8 (patch)
tree58fae3776f0a2347887e55793d6ec2bbf235afba /package/sfdisk/sfdisk.mk
parent671ddcd2a3bc41f02451b27fbe350d912d75baec (diff)
downloadbuildroot-novena-d0422d0401cab1eea9a2533964141028bcbd65e8.tar.gz
buildroot-novena-d0422d0401cab1eea9a2533964141028bcbd65e8.zip
- I had to apply this patch to get it to build with a uClibc-snapshot..
Diffstat (limited to 'package/sfdisk/sfdisk.mk')
-rw-r--r--package/sfdisk/sfdisk.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/sfdisk/sfdisk.mk b/package/sfdisk/sfdisk.mk
index aa098dfdd..4cd76a6eb 100644
--- a/package/sfdisk/sfdisk.mk
+++ b/package/sfdisk/sfdisk.mk
@@ -10,10 +10,13 @@ SFDISK_DIR=$(BUILD_DIR)/sfdisk
$(DL_DIR)/$(SFDISK_SOURCE):
$(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
-$(SFDISK_DIR): $(DL_DIR)/$(SFDISK_SOURCE)
+$(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(SFDISK_DIR) package/sfdisk/ sfdisk.\*.patch
+ touch $@
+
-$(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)
+$(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)/.patched
$(MAKE) \
CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$(TARGET_CFLAGS)" \
-C $(SFDISK_DIR)