aboutsummaryrefslogtreecommitdiff
path: root/package/Makefile.package.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-06-22 23:43:08 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-06-22 23:43:08 +0200
commitf3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a (patch)
tree2b1e7628b5bad58c4b4065b9de30321bd02ff502 /package/Makefile.package.in
parentb10197dcf2ca1d6afbdf8f131560a3a0a8b9c72d (diff)
parent7b7b4260966a5d991b1dabc82c792fbecd77c63a (diff)
downloadbuildroot-f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a.tar.gz
buildroot-f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a.tar.bz2
Merge branch 'linux-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Conflicts: target/Makefile.in
Diffstat (limited to 'package/Makefile.package.in')
-rw-r--r--package/Makefile.package.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index cdf49f8fef..b702c4988f 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -40,6 +40,21 @@ UPPERCASE = $(strip $(eval __tmp := $1) \
$(__tmp)))) \
$(__tmp))
+define KCONFIG_ENABLE_OPT
+ $(SED) "/$(1)/d" $(2)
+ echo "$(1)=y" >> $(2)
+endef
+
+define KCONFIG_SET_OPT
+ $(SED) "/$(1)/d" $(3)
+ echo "$(1)=$(2)" >> $(3)
+endef
+
+define KCONFIG_DISABLE_OPT
+ $(SED) "/$(1)/d" $(2)
+ echo "# $(1) is not set" >> $(2)
+endef
+
# Define extrators for different archive suffixes
INFLATE.bz2 = $(BZCAT)
INFLATE.gz = $(ZCAT)