aboutsummaryrefslogtreecommitdiff
path: root/package/cdrkit/cdrkit.mk
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2014-08-21 22:45:19 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-28 20:56:56 +0200
commit72d453cbfcbabcc1170713c5248d91aea4110925 (patch)
treeb15846033039f309f5298e8cac6df86c8da3afff /package/cdrkit/cdrkit.mk
parent474a0e113ea4448e83733838cecb9bf39e5931a5 (diff)
downloadbuildroot-72d453cbfcbabcc1170713c5248d91aea4110925.tar.gz
buildroot-72d453cbfcbabcc1170713c5248d91aea4110925.tar.bz2
package/cdrkit: clean {HOST_, }CDRKIT_CONF_OPT
Extending {C,LD}FLAGS for both host and target cdrkit package is not needed because it is already handled by the {host-,}cmake-package infrastructure. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cdrkit/cdrkit.mk')
-rw-r--r--package/cdrkit/cdrkit.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/cdrkit/cdrkit.mk b/package/cdrkit/cdrkit.mk
index 7474fffbf2..ff7bf4aed8 100644
--- a/package/cdrkit/cdrkit.mk
+++ b/package/cdrkit/cdrkit.mk
@@ -16,12 +16,5 @@ else
CDRKIT_CONF_OPT += -DBITFIELDS_HTOL=0
endif
-## cdrkit isn't completely re-rooted by CMAKE_FIND_ROOT_PATH, so add
-## some extra flags so it finds needed libs and headers.
-CDRKIT_CONF_OPT += -DCMAKE_C_FLAGS="-I$(STAGING_DIR)/usr/include"
-CDRKIT_CONF_OPT += -DCMAKE_EXE_LINKER_FLAGS="$(TARGET_LDFLAGS)"
-HOST_CDRKIT_CONF_OPT += -DCMAKE_C_FLAGS="-I$(HOST_DIR)/usr/include"
-HOST_CDRKIT_CONF_OPT += -DCMAKE_EXE_LINKER_FLAGS="$(HOST_LDFLAGS)"
-
$(eval $(cmake-package))
$(eval $(host-cmake-package))