mtd: fixup after CPPFLAGS addition
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Oct 2012 13:35:27 +0000 (15:35 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 11 Oct 2012 13:35:27 +0000 (15:35 +0200)
commit6e280b75341cd616970ce5559a7725201f6c0c53
tree82f44b86f9e8b4727fdd2962593a28e889007a41
parent387c5e2e6ba6aa7d626be868dfa3a29fd7f06ac9
mtd: fixup after CPPFLAGS addition

Fixes http://autobuild.buildroot.net/results/c55e4c9741109c66f8f66ab7e3f4f1664826056a

mtd appends to CFLAGS/CPPFLAGS, but doesn't use override - So we need
to pass flags in the environment and not on the make command line to
get the combination of our flags and mtd's.

At the same time cleanup the host build to use a similar form
(HOST_CONFIGURE_OPTS) as target build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/mtd/mtd.mk