diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-06-22 23:43:08 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-06-22 23:43:08 +0200 |
commit | f3050b0b9ed14596d74a1bcb340ff7f5d86e1b1a (patch) | |
tree | 2b1e7628b5bad58c4b4065b9de30321bd02ff502 /package/Makefile.package.in | |
parent | b10197dcf2ca1d6afbdf8f131560a3a0a8b9c72d (diff) | |
parent | 7b7b4260966a5d991b1dabc82c792fbecd77c63a (diff) |
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.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in index cdf49f8fe..b702c4988 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) |