summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-25 20:59:30 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-25 20:59:30 +0000
commitcf965728d2ad4701d1e5ddd6124b4886a3c202aa (patch)
tree1d7fd2975fe11f97006fa1d2ac29ad4a08bab1dd /package/php
parent9d68c3bdb2634aad07147ed26ba3bf9fa453b1ac (diff)
Fix spelling error, causing php to use host includes, add patching and unpacked targets
Diffstat (limited to 'package/php')
-rw-r--r--package/php/php.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index 365edec4a..86372ed72 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -87,7 +87,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_READLINE),y)
PHP_DEPS+=readline
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_NCURSES),y)
- PHP_CONFIGURE+=--with-ncurses=$(STATING_DIR)/usr
+ PHP_CONFIGURE+=--with-ncurses=$(STAGING_DIR)/usr
PHP_DEPS+=ncurses
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_SYSVMSG),y)
@@ -132,6 +132,8 @@ php-source: $(DL_DIR)/$(PHP_SOURCE)
$(PHP_DIR)/.unpacked: $(DL_DIR)/$(PHP_SOURCE)
$(PHP_CAT) $(DL_DIR)/$(PHP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(PHP_DIR) package/php/ php\*.patch
+ toolchain/patch-kernel.sh $(PHP_DIR) package/php/ php\*.patch.$(ARCH)
touch $@
$(PHP_DIR)/.configured: $(PHP_DIR)/.unpacked
@@ -184,6 +186,8 @@ $(TARGET_DIR)/etc/php.ini: $(PHP_DIR)/.staged
php: uclibc $(PHP_DEPS) $(PHP_TARGET_DEPS) $(TARGET_DIR)/etc/php.ini
+php-unpacked: $(PHP_DIR)/.unpacked
+
php-clean:
rm -f $(PHP_DIR)/.configured $(PHP_DIR)/.built $(PHP_DIR)/.staged
rm -f $(PHP_TARGET_DEPS)